Server IP : 149.255.58.128 / Your IP : 216.73.216.32
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /home/wheelch2/public_html/wp-content/themes/twentytwentyone//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 WordPress
* @subpackage Twenty_Twenty_One
* @since Twenty Twenty-One 1.0
*/
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password,
* return early without loading the comments.
*/
if ( post_password_required() ) {
return;
}
$twenty_twenty_one_comment_count = get_comments_number();
?>
<div id="comments" class="comments-area default-max-width <?php echo get_option( 'show_avatars' ) ? 'show-avatars' : ''; ?>">
<?php
if ( have_comments() ) :
?>
<h2 class="comments-title">
<?php if ( '1' === $twenty_twenty_one_comment_count ) : ?>
<?php esc_html_e( '1 comment', 'twentytwentyone' ); ?>
<?php else : ?>
<?php
printf(
/* translators: %s: Comment count number. */
esc_html( _nx( '%s comment', '%s comments', $twenty_twenty_one_comment_count, 'Comments title', 'twentytwentyone' ) ),
esc_html( number_format_i18n( $twenty_twenty_one_comment_count ) )
);
?>
<?php endif; ?>
</h2><!-- .comments-title -->
<ol class="comment-list">
<?php
wp_list_comments(
array(
'avatar_size' => 60,
'style' => 'ol',
'short_ping' => true,
)
);
?>
</ol><!-- .comment-list -->
<?php
the_comments_pagination(
array(
'before_page_number' => esc_html__( 'Page', 'twentytwentyone' ) . ' ',
'mid_size' => 0,
'prev_text' => sprintf(
'%s <span class="nav-prev-text">%s</span>',
is_rtl() ? twenty_twenty_one_get_icon_svg( 'ui', 'arrow_right' ) : twenty_twenty_one_get_icon_svg( 'ui', 'arrow_left' ),
esc_html__( 'Older comments', 'twentytwentyone' )
),
'next_text' => sprintf(
'<span class="nav-next-text">%s</span> %s',
esc_html__( 'Newer comments', 'twentytwentyone' ),
is_rtl() ? twenty_twenty_one_get_icon_svg( 'ui', 'arrow_left' ) : twenty_twenty_one_get_icon_svg( 'ui', 'arrow_right' )
),
)
);
?>
<?php if ( ! comments_open() ) : ?>
<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'twentytwentyone' ); ?></p>
<?php endif; ?>
<?php endif; ?>
<?php
comment_form(
array(
'title_reply' => esc_html__( 'Leave a comment', 'twentytwentyone' ),
'title_reply_before' => '<h2 id="reply-title" class="comment-reply-title">',
'title_reply_after' => '</h2>',
)
);
?>
</div><!-- #comments -->
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | March 05 2024 12:06:44 | 1032 / wheelch2 | 0755 | |
assets | -- | May 29 2023 22:38:19 | 1032 / wheelch2 | 0755 | |
classes | -- | May 29 2023 22:38:19 | 1032 / wheelch2 | 0755 | |
inc | -- | May 29 2023 22:38:19 | 1032 / wheelch2 | 0755 | |
template-parts | -- | May 29 2023 22:38:19 | 1032 / wheelch2 | 0755 | |
| | | | | |
.stylelintignore | 0.087 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
.stylelintrc-css.json | 0.673 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
.stylelintrc.json | 0.415 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
404.php | 0.704 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
archive.php | 0.972 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
comments.php | 2.57 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
footer.php | 2.202 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
functions.php | 18.906 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
header.php | 1.003 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
image.php | 3.371 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
index.php | 1.17 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
package-lock.json | 242.425 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
package.json | 2.358 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
page.php | 0.576 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
postcss.config.js | 0.276 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
readme.txt | 5.122 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
screenshot.png | 276.267 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
search.php | 1.608 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
searchform.php | 1.398 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
single.php | 1.658 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
style-rtl.css | 151.523 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |
style.css | 151.817 KB | May 29 2023 22:38:19 | 1032 / wheelch2 | 0644 | |