| Server IP : 10.19.1.101 / Your IP : 216.73.216.158 Web Server : Apache System : Linux web1f13.kinghost.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64 User : schererimoveisrs ( 170628) PHP Version : 7.4.33 Disable Function : apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/schererimoveisrs/www/pre backup/wp-content/themes/sauron/ |
Upload File : |
<?php
/*
* The template for displaying Comments.
*/
global $wdwt_front;
if (post_password_required()) { ?>
<p class="nocomments"><?php _e('This post is password protected. Enter the password to view any comments.', "sauron"); ?></p>
<?php return; } ?>
<?php if (have_comments()) : ?>
<h5 id="comments">
<?php
printf( _n('One comment on “%2$s”', '%1$s comments on “%2$s”', get_comments_number(), "sauron"),
number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>');
?>
</h5>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
<div class="navigation">
<div class="previous"><?php previous_comments_link(__( '‹ Older comments',"sauron" )); ?></div><!-- end of .previous -->
<div class="next"><?php next_comments_link(__( 'Newer comments ›',"sauron", 0 )); ?></div><!-- end of .next -->
</div><!-- end of.navigation -->
<?php endif; ?>
<ol class="commentlist">
<?php wp_list_comments( array(
'short_ping' => true,
'avatar_size'=> 60,
) ); ?>
<div class="clear"></div>
</ol>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
<div class="navigation">
<div class="previous"><?php previous_comments_link(__( '‹ Older comments',"sauron" )); ?></div><!-- end of .previous -->
<div class="next"><?php next_comments_link(__( 'Newer comments ›',"sauron", 0 )); ?></div><!-- end of .next -->
</div><!-- end of.navigation -->
<?php endif; ?>
<?php else : ?>
<?php endif; ?>
<?php
if (!empty($comments_by_type['pings'])) : // let's seperate pings/trackbacks from comments
$count = count($comments_by_type['pings']);
($count !== 1) ? $txt = __('Pings/Trackbacks',"sauron") : $txt = __('Pings/Trackbacks',"sauron");
?>
<h6 id="pings"><?php printf( __( '%1$d %2$s for "%3$s"', "sauron" ), $count, $txt, get_the_title() )?></h6>
<ol class="commentlist">
<?php wp_list_comments('type=pings&max_depth=<em>'); ?>
</ol>
<?php endif; ?>
<?php comment_form(); ?>