Skip to content

Commit

Permalink
Merge pull request #8 from greenpeace/validation-branch-2
Browse files Browse the repository at this point in the history
Update functions.php
  • Loading branch information
kittmcgregor committed Aug 5, 2019
2 parents 5fc6e18 + 86a6aec commit 8acf0fd
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,14 @@
* Additional code for the child theme goes in here.
*/

global $post;


echo '<pre>';
echo $post->post_content;
echo '</pre>';
setup_postdata($post);

echo '<pre>';
echo '================================================================';
echo $post->post_title;
echo '================================================================';
echo '</pre>';

echo '<pre>';
echo $post;
echo '</pre>';

add_action( 'wp_head', 'gpnz_enqueue_script', 11 );
function gpnz_enqueue_script() {
Expand Down

0 comments on commit 8acf0fd

Please sign in to comment.