diff --git a/functions.php b/functions.php index d2dcc97..fb17fe7 100644 --- a/functions.php +++ b/functions.php @@ -4,20 +4,14 @@ * Additional code for the child theme goes in here. */ -global $post; - - -echo '
';
-echo $post->post_content;
-echo '
'; +setup_postdata($post); echo '
';
 echo '================================================================';
+echo $post->post_title;
+echo '================================================================';
 echo '
'; -echo '
';
-echo $post;
-echo '
'; add_action( 'wp_head', 'gpnz_enqueue_script', 11 ); function gpnz_enqueue_script() {