| Server IP : 162.214.67.83 / Your IP : 216.73.216.104 Web Server : Apache System : Linux dedi-13542965.clustter.com.br 5.14.0-687.20.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 30 06:22:49 EDT 2026 x86_64 User : pjacortinas ( 1096) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/pjacortinas/www/wp-content/themes/betheme/ |
Upload File : |
<?php
/**
* The template for displaying Comments.
*/
?>
<div id="comments">
<?php if ( post_password_required() ) : ?>
<p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'betheme' ); ?></p>
</div>
<?php return;
endif; ?>
<?php if ( have_comments() ) : ?>
<h4 id="comments-title">
<?php
if( get_comments_number() == 1 ){
echo get_comments_number() .' '. __('Comment','betheme');
} else {
echo get_comments_number() .' '. __('Comments','betheme');
}
?>
</h4>
<ol class="commentlist">
<?php wp_list_comments('avatar_size=64'); ?>
</ol>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
<nav id="comment-nav">
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'betheme' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'betheme' ) ); ?></div>
</nav>
<?php endif; ?>
<?php
elseif ( ! comments_open() && ! is_page() && post_type_supports( get_post_type(), 'comments' ) ) :
?>
<p class="nocomments"><?php _e( 'Comments are closed.', 'betheme' ); ?></p>
<?php endif; ?>
<?php comment_form(); ?>
</div><!-- #comments -->