Skip to content

Instantly share code, notes, and snippets.

@epicdaze
Created June 13, 2011 23:20
Show Gist options
  • Save epicdaze/1023973 to your computer and use it in GitHub Desktop.
Save epicdaze/1023973 to your computer and use it in GitHub Desktop.
#wordpress - comments are closed #comments
<!-- /* use this to add a conditional "comments are closed" notice */ -->
<?php comments_open();
if ('closed' == $post->comment_status) : ?>
<?php _e('Comments are closed',themedomain); ?>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment