Created
June 14, 2011 21:54
-
-
Save epicdaze/1026011 to your computer and use it in GitHub Desktop.
#wordpress - comments are closed #ifelse #comments
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
<!-- /* use this to show if comments are open or closed */ --> | |
<?php comments_open(); | |
if ('closed' == $post->comment_status) | |
{ _e('Comments are closed',themedomain); } | |
else | |
{ _e('Comments are open',themedomain); } | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment