Skip to content

Instantly share code, notes, and snippets.

@bmoredrew
Last active August 29, 2015 13:57
Show Gist options
  • Save bmoredrew/9638206 to your computer and use it in GitHub Desktop.
Save bmoredrew/9638206 to your computer and use it in GitHub Desktop.
add comments
Add this in single.php
<div class="comments">
<?php
if ( comments_open() || '0' != get_comments_number() ) : comments_template();
endif;
?>
</div>
Add this to style.css to center comments section
.comments {
margin: 0 auto;
max-width: 800px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment