remove comments and meta from pages

This commit is contained in:
Vladimir Vassilev 2014-09-30 16:27:05 +03:00
parent 42d3a978b7
commit 3c8f7bf69e
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a>
<?php if ( is_singular() ) { echo '</h1>'; } else { echo '</h2>'; } ?> <?php if ( is_singular() ) { echo '</h1>'; } else { echo '</h2>'; } ?>
<?php edit_post_link(); ?> <?php edit_post_link(); ?>
<?php if ( !is_search() ) get_template_part( 'entry', 'meta' ); ?> <?php if ( !is_search() && !is_page() ) get_template_part( 'entry', 'meta' ); ?>
</header> </header>
<?php get_template_part( 'entry', ( is_archive() || is_search() ? 'summary' : 'content' ) ); ?> <?php get_template_part( 'entry', ( is_archive() || is_search() ? 'summary' : 'content' ) ); ?>
<?php if ( !is_search() ) get_template_part( 'entry-footer' ); ?> <?php if ( !is_search() && !is_page()) get_template_part( 'entry-footer' ); ?>
</article> </article>