Skip to content

Instantly share code, notes, and snippets.

@hitsujixgit
Created June 19, 2014 06:55
Show Gist options
  • Select an option

  • Save hitsujixgit/de70198c2f72a0d5ca07 to your computer and use it in GitHub Desktop.

Select an option

Save hitsujixgit/de70198c2f72a0d5ca07 to your computer and use it in GitHub Desktop.
コメントフォームを設置する - index.phpをカスタマイズする#6
<?php get_header(); ?>
<div id="content">
<?php
while(have_posts()) {
the_post();
get_template_part('content');
if( is_singular('post') ) {
comments_template();
}
} ?>
</div>
<?php
get_sidebar();
get_footer();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment