D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
etb1lp46s9ed
/
public_html
/
vimlagroups.in
/
wp-content
/
themes
/
lebuild
/
Filename :
comments.php
back
Copy
<?php /** * Comments Main File. * * @package LEBUILD * @author template_path * @version 1.0 */ ?> <?php if ( post_password_required() ) { return; } ?> <?php $count = wp_count_comments(get_the_ID()); ?> <?php if ( have_comments() ) : ?> <div class="comments-area comment-box post-comments" id="comments"> <div class="title co_ttl"> <h3><?php $comments_number = get_comments_number(); if ( '1' === $comments_number ) { /* translators: %s: post title */ printf( _x( 'One Reply to “%s”', 'comments title', 'lebuild' ), get_the_title() ); } else { printf( /* translators: 1: number of comments, 2: post title */ _nx( '%1$s Reply to “%2$s”', '%1$s Replies to “%2$s”', $comments_number, 'comments title', 'lebuild' ), number_format_i18n( $comments_number ), get_the_title() ); } ?></h3> </div> <div class="outer-box"> <div class="row"> <div class="col-md-12"> <?php wp_list_comments( array( 'style' => 'div', 'short_ping' => true, 'avatar_size' => 90, 'callback' => 'lebuild_list_comments', ) ); ?> </div> </div> </div> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> <nav class="navigation comment-navigation" role="navigation"> <h1 class="screen-reader-text section-heading"> <?php esc_html_e( 'Comment navigation', 'lebuild' ); ?> </h1> <div class="nav-previous"> <?php previous_comments_link( esc_html__( '← Older Comments', 'lebuild' ) ); ?> </div> <div class="nav-next"> <?php next_comments_link( esc_html__( 'Newer Comments →', 'lebuild' ) ); ?> </div> </nav><!-- .comment-navigation --> <?php endif; ?> <?php if ( ! comments_open() && get_comments_number() ) : ?> <p class="no-comments"> <?php esc_html_e( 'Comments are closed.', 'lebuild' ); ?> </p> <?php endif; ?> </div> <?php endif; ?> <?php lebuild_comment_form(); ?>