Server IP : 192.158.238.246 / Your IP : 18.189.178.138 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/jenniferflocom/www/wp-content/themes/personalias/ |
Upload File : |
<?php if ( post_password_required() ) { return; } ?> <div id="comments" class="themeform"> <?php if ( have_comments() ) : global $wp_query; ?> <h3 class="heading"><?php comments_number( esc_html__( 'No Responses', 'personalias' ), esc_html__( '1 Response', 'personalias' ), esc_html__( '% Responses', 'personalias' ) ); ?></h3> <ul class="comment-tabs group"> <li class="active"><a href="#commentlist-container"><i class="fas fa-comments"></i><?php esc_html_e( 'Comments', 'personalias' ); ?><span><?php echo count($wp_query->comments_by_type['comment']); ?></span></a></li> <li><a href="#pinglist-container"><i class="fas fa-share"></i><?php esc_html_e( 'Pingbacks', 'personalias' ); ?><span><?php echo count($wp_query->comments_by_type['pings']); ?></span></a></li> </ul> <?php if ( ! empty( $comments_by_type['comment'] ) ) { ?> <div id="commentlist-container" class="comment-tab"> <ol class="commentlist"> <?php wp_list_comments( 'avatar_size=96&type=comment' ); ?> </ol><!--/.commentlist--> <?php if ( get_comment_pages_count() > 1 && get_option('page_comments') ) : ?> <nav class="comments-nav group"> <div class="nav-previous"><?php previous_comments_link(); ?></div> <div class="nav-next"><?php next_comments_link(); ?></div> </nav><!--/.comments-nav--> <?php endif; ?> </div> <?php } ?> <?php if ( ! empty( $comments_by_type['pings'] ) ) { ?> <div id="pinglist-container" class="comment-tab"> <ol class="pinglist"> <?php // not calling wp_list_comments twice, as it breaks pagination $pings = $comments_by_type['pings']; foreach ($pings as $comment) { ?> <li class="ping"> <div class="ping-link"><?php comment_author_link($comment); ?></div> <div class="ping-meta"><?php comment_date( get_option( 'date_format' ), $comment ); ?></div> <div class="ping-content"><?php comment_text($comment); ?></div> </li> <?php } ?> </ol><!--/.pinglist--> </div> <?php } ?> <?php else: // if there are no comments yet ?> <?php if (comments_open()) : ?> <!-- comments open, no comments --> <?php else : ?> <!-- comments closed, no comments --> <?php endif; ?> <?php endif; ?> <?php if ( comments_open() ) { comment_form(); } ?> </div><!--/#comments-->