| Server IP : 217.160.0.15 / Your IP : 216.73.216.30 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : u37981780 ( 1696858) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/43/d124547881/htdocs/app395378437/wp-content/themes/social-magazine/ |
Upload File : |
<?php
defined('ABSPATH') or die("please don't runs scripts");
/*
* @file comments.php
* @package Social Magazine
* @author ThemesMatic
* @copyright 2015 ThemesMatic
*
*/
if ( post_password_required() )
return; ?>
<div class="social-magazine-comments">
<?php if ( have_comments() ) : ?>
<h3 id="comments"><?php printf( _n( 'One comment', '%s comments', get_comments_number(), 'social-magazine' ), number_format_i18n( get_comments_number() )); ?></h3>
<ul class="commentlist">
<?php comment_id_fields();
wp_list_comments( array( 'callback' => 'social_magazine_comment', 'style' => 'ul' ) ); ?>
</ul><!-- /comment-list -->
<?php endif; // have_comments() ?>
<?php if ( comments_open() ) : ?>
<?php comment_form(); ?>
<?php endif; // comments_open() ?>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // comment navigation ?>
<nav id="comments-nav" class="navigation" role="navigation">
<div class="alignleft">
<?php previous_comments_link( __( '← Old Comments', 'social-magazine' ) ); ?>
</div>
<div class="alignright">
<?php next_comments_link( __( 'New Comments →', 'social-magazine' ) ); ?>
</div>
</nav>
<?php endif; // check for comment navigation ?>
<?php if ( ! comments_open() && get_comments_number() ) : ?>
<p><?php _e( 'Comments are now closed.' , 'social-magazine' ); ?></p>
<?php endif; // comments_open() && get_comments_number() ?>
</div><!-- /social-magazine-comments -->