���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/zhaagvlk/public_html/wp-content/themes/sasup/comments.php
���ѧ٧ѧ�
<?php /** * The template for displaying comments * * This is the template that displays the area of the page that contains both the current comments * and the comment form. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package sasup */ /* * If the current post is protected by a password and * the visitor has not yet entered the password we will * return early without loading the comments. */ if ( post_password_required() ) { return; } ?> <?php if( get_comments_number() >= 1 ): ?> <div class="post-comments mb-70"> <div class="blog-coment-title mb-30"> <?php $comment_no = number_format_i18n(get_comments_number()); $comment_text = (!empty($comment_no) AND ( $comment_no > 1 ) ) ? esc_html__( ' Comments', 'sasup' ) : esc_html__( ' Comment ', 'sasup' ); $comment_no = (!empty($comment_no) AND ( $comment_no > 0 ) ) ? '<h2>' . esc_html($comment_no . $comment_text) .'</h2>' : ' '; print sprintf("%s", $comment_no); ?> </div> <div class="latest-comments"> <ul> <?php wp_list_comments( array( 'style' => 'ul', 'callback' => 'sasup_comment', 'avatar_size' => 90, 'short_ping' => true, ) ); ?> </ul> </div> </div> <?php endif; ?> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> <div class="comment-pagination mb-50"> <nav id="comment-nav-below" class="comment-navigation" role="navigation"> <h1 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'sasup' ); ?></h1> <div class="row"> <div class="col-md-6"> <div class="nav-previous "><?php previous_comments_link( esc_html__( '← Older ', 'sasup' ) ); ?></div> </div> <div class="col-md-6"> <div class="nav-next "><?php next_comments_link( esc_html__( 'Newer →', 'sasup' ) ); ?></div> </div> </div> <div class="clearfix"></div> </nav><!-- #comment-nav-below --> </div> <?php endif; // check for comment navigation ?> <div class="post-comment-form mt-45 mb-50"> <?php comment_form(); ?> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.03 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�