How to hide or rename “X” and “x-child” references in website source?

In the child theme style.css file, change the following info: Theme Name: X Child Theme Theme URI: http://theme.co/x/ Author: Themeco Author URI: http://theme.co/ Description: Make all of your modifications to X in this child theme. Version: 1.0.0 Template: x Change the Bold items above to whatever you want, just make sure to keep the Template … Read more

Strange Situation When Try To Retrieve Github Gist Using wp_remote_get

Do you need the auth to get gists? Get a single gist using the Gist API. $api_url=”https://api.github.com/gists/”; $id = ’63abfe8435d461d30099′; $response = wp_remote_get($api_url . $id); $body = wp_remote_retrieve_body($response); $data = json_decode($body, true); $output = array(); foreach($data[ ‘files’ ] as $file => $fileInfo) { $fR = wp_remote_get($fileInfo[ ‘raw_url’ ]); $fB = wp_remote_retrieve_body($fR); $output[] = $fB; } … Read more