removed comments from the loop code
This commit is contained in:
parent
a088a7494f
commit
461de6aa9b
14
loop.php
14
loop.php
|
@ -9,14 +9,14 @@
|
||||||
|
|
||||||
<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>
|
<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>
|
||||||
<?php the_excerpt(); ?>
|
<?php the_excerpt(); ?>
|
||||||
<p class="meta"><span><?php the_time('d. F Y') ?> <?php _e( 'by', 'hangar' ); ?> <?php the_author() ?></span><br/>
|
<p class="meta"><span><?php the_time('d. F Y') ?> <?php _e( 'by', 'hangar' ); ?> <?php the_author() ?></span><br/>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<?php the_content( __( 'Continue Reading →', 'hangar' ) ); ?>
|
<?php the_content( __( 'Continue Reading →', 'hangar' ) ); ?>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
|
|
||||||
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'hangar' ), 'after' => '</div>' ) ); ?>
|
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'hangar' ), 'after' => '</div>' ) ); ?>
|
||||||
|
|
||||||
<p class="meta"><span><?php the_time('d. F Y') ?> <?php _e( 'by', 'hangar' ); ?> <?php the_author() ?></span><br/>
|
<p class="meta"><span><?php the_time('d. F Y') ?> <?php _e( 'by', 'hangar' ); ?> <?php the_author() ?></span><br/>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( count( get_the_category() ) ) : ?>
|
<?php if ( count( get_the_category() ) ) : ?>
|
||||||
|
@ -30,13 +30,13 @@
|
||||||
<?php printf( __( 'Tags: %2$s', 'hangar' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
|
<?php printf( __( 'Tags: %2$s', 'hangar' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
|
||||||
|
|
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php comments_popup_link( __( 'Leave a comment', 'hangar' ), __( '1 comment', 'hangar' ), __( '% comments', 'hangar' ) ); ?>
|
<?php //comments_popup_link( __( 'Leave a comment', 'hangar' ), __( '1 comment', 'hangar' ), __( '% comments', 'hangar' ) ); ?>
|
||||||
<?php edit_post_link( __( 'Edit →', 'hangar' ), '| ', '' ); ?></p>
|
<?php edit_post_link( __( 'Edit →', 'hangar' ), '| ', '' ); ?></p>
|
||||||
</div>
|
</div>
|
||||||
<!--end Post-->
|
<!--end Post-->
|
||||||
|
|
||||||
<?php comments_template( '', true ); ?>
|
<?php //comments_template( '', true ); ?>
|
||||||
|
|
||||||
<?php endwhile; // End the loop. ?>
|
<?php endwhile; // End the loop. ?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue