From: Anthony Talarico Date: Wed, 31 Aug 2016 18:40:09 +0000 (-0400) Subject: fixed syntax error in previously pushed code X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=004b32378c79b459553cc97539d08e6ecdf5d8ad;p=web%2FGruntInit%2FglmThemeV6.git fixed syntax error in previously pushed code --- diff --git a/root/functions.php b/root/functions.php index dc3239c..cec1e6f 100644 --- a/root/functions.php +++ b/root/functions.php @@ -210,7 +210,7 @@ add_filter( 'custom_page_templates', function( $now_templates ) { // THIS IS HOW IT CAN BE USED IN INDEX.PHP -ID ) == "some-custom-page-template") { +if (get_page_template_slug( $post->ID ) == "some-custom-page-template") { echo "
[I am totally not a block ._.]
"; } else { echo "

The current template used is:".get_page_template_slug( $post->ID )."

";