From: Anthony Talarico Date: Wed, 31 Aug 2016 18:47:17 +0000 (-0400) Subject: commenting test code X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=2fba85928f5286ba9ea6fff184bee51406718d2f;p=web%2FGruntInit%2FglmThemeV6.git commenting test code --- diff --git a/root/functions.php b/root/functions.php index cec1e6f..579403d 100644 --- a/root/functions.php +++ b/root/functions.php @@ -210,9 +210,9 @@ add_filter( 'custom_page_templates', function( $now_templates ) { // THIS IS HOW IT CAN BE USED IN INDEX.PHP -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 )."

"; -} +// 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 )."

"; +// } ?>