编辑: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 Bam */ /* * 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; } ?> <div id="comments" class="comments-area"> <?php // You can start editing here -- including this comment! if ( have_comments() ) : ?> <h2 class="comments-title"> <?php $bam_comment_count = get_comments_number(); if ( '1' === $bam_comment_count ) { printf( /* translators: 1: title. */ esc_html__( 'One thought on “%1$s”', 'bam' ), '<span>' . get_the_title() . '</span>' ); } else { printf( // WPCS: XSS OK. /* translators: 1: comment count number, 2: title. */ esc_html( _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', $bam_comment_count, 'comments title', 'bam' ) ), number_format_i18n( $bam_comment_count ), '<span>' . get_the_title() . '</span>' ); } ?> </h2><!-- .comments-title --> <?php the_comments_navigation(); ?> <ol class="comment-list"> <?php wp_list_comments( array( 'style' => 'ol', 'short_ping' => true, 'avatar_size' => 100, ) ); ?> </ol><!-- .comment-list --> <?php the_comments_navigation(); // If comments are closed and there are comments, let's leave a little note, shall we? if ( ! comments_open() ) : ?> <p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'bam' ); ?></p> <?php endif; endif; // Check for have_comments(). comment_form(); ?> </div><!-- #comments -->
保存文件
位置:
home
/
fembzvrs
/
zimeza.com
/
wp-content
/
themes
/
bam
批量上传
创建
创建
批量权限
批量删除
名称
权限
大小
修改时间
操作
↑ 返回上级
-
-
-
-
assets
drwxr-xr-x
-
2025-07-06 06:33
权限
删除
重命名
inc
drwxr-xr-x
-
2025-07-06 06:33
权限
删除
重命名
languages
drwxr-xr-x
-
2026-05-12 08:03
权限
删除
重命名
partials
drwxr-xr-x
-
2025-07-06 06:33
权限
删除
重命名
sass
drwxr-xr-x
-
2025-07-06 06:33
权限
删除
重命名
404.php
-rw-r--r--
951 B
2025-07-06 06:33
编辑
下载
权限
删除
重命名
archive.php
-rw-r--r--
2.03 KB
2025-07-06 06:33
编辑
下载
权限
删除
重命名
comments.php
-rw-r--r--
1.84 KB
2025-07-06 06:33
编辑
下载
权限
删除
重命名
error_log
-rw-r--r--
1.05 KB
2026-05-14 08:44
编辑
下载
权限
删除
重命名
footer.php
-rw-r--r--
3.03 KB
2025-07-06 06:33
编辑
下载
权限
删除
重命名
functions.php
-rw-r--r--
8.47 KB
2025-07-06 06:33
编辑
下载
权限
删除
重命名
header.php
-rw-r--r--
1005 B
2025-07-06 06:33
编辑
下载
权限
删除
重命名
index.php
-rw-r--r--
2.22 KB
2025-07-06 06:33
编辑
下载
权限
删除
重命名
page.php
-rw-r--r--
1.13 KB
2025-07-06 06:33
编辑
下载
权限
删除
重命名
readme.txt
-rw-r--r--
7.97 KB
2025-07-06 06:33
编辑
下载
权限
删除
重命名
search.php
-rw-r--r--
2.02 KB
2025-07-06 06:33
编辑
下载
权限
删除
重命名
sidebar-header-1.php
-rw-r--r--
497 B
2025-07-06 06:33
编辑
下载
权限
删除
重命名
sidebar.php
-rw-r--r--
641 B
2025-07-06 06:33
编辑
下载
权限
删除
重命名
single.php
-rw-r--r--
1.91 KB
2025-07-06 06:33
编辑
下载
权限
删除
重命名
style-rtl.css
-rw-r--r--
54.88 KB
2025-07-06 06:33
编辑
下载
权限
删除
重命名
style.css
-rw-r--r--
54.85 KB
2025-07-06 06:33
编辑
下载
权限
删除
重命名