removed comments from the loop code

This commit is contained in:
jorge-vitrubio 2022-09-27 10:23:17 +02:00
parent a088a7494f
commit 461de6aa9b
1 changed files with 7 additions and 7 deletions

View File

@ -9,14 +9,14 @@
<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>
<?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 the_content( __( 'Continue Reading &rarr;', 'hangar' ) ); ?>
<div class="clear"></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 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 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 &rarr;', 'hangar' ), '| ', '' ); ?></p>
</div>
<!--end Post-->
<?php comments_template( '', true ); ?>
<?php //comments_template( '', true ); ?>
<?php endwhile; // End the loop. ?>