Last active
December 20, 2015 03:09
-
-
Save theodorocaliari/6062024 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*remove comments*/ | |
//http://themeshaper.com/forums/topic/removing-comments-section-from-thematic | |
function remove_comments(){ | |
if (is_page()){ | |
remove_action('thematic_comments_template','thematic_include_comments',5); | |
} | |
} | |
add_action('template_redirect','remove_comments'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment