commenting test code
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 31 Aug 2016 18:47:17 +0000 (14:47 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 31 Aug 2016 18:47:17 +0000 (14:47 -0400)
root/functions.php

index cec1e6f..579403d 100644 (file)
@@ -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 "<div id='block'>[I am totally not a block ._.]</div>";
-} else {
-    echo "<p>The current template used is:".get_page_template_slug( $post->ID )."</p>";
-}
+// if (get_page_template_slug( $post->ID ) == "some-custom-page-template") {
+//     echo "<div id='block'>[I am totally not a block ._.]</div>";
+// } else {
+//     echo "<p>The current template used is:".get_page_template_slug( $post->ID )."</p>";
+// }
 ?>