| Server IP : 89.248.107.232 / Your IP : 216.73.217.70 Web Server : Apache System : Linux host2.kasilh.com 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : seg ( 10005) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/seg-sa.es/peyco.es/wp-content/themes/StoreFront/ |
Upload File : |
<?php
/**
*
* Comments part
*
**/
?>
<?php if ( post_password_required() || true==true) : ?>
<section id="comments">
<p class="no-password"><?php// _e( 'This post is password protected. Enter the password to view any comments.', GKTPLNAME ); ?></p>
</section>
<p style="font-size: 16px; margin-bottom: 15px; margin-top: 20px;">Compártelo en las redes sociales</p>
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_linkedin"></a>
<a class="addthis_button_pinterest_share"></a>
<a class="addthis_button_google_plusone_share"></a>
<a class="addthis_button_compact"></a><a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=undefined"></script>
<!-- AddThis Button END -->
<?php
return;/* Stop the rest of comments.php from being processed */
endif;
?>
<?php if ( have_comments() ) : ?>
<section id="comments">
<?php do_action('gavernwp_before_comments_count'); ?>
<h2>
<?php if(get_comments_number() == 1) : ?>
<?php _e( '1 Comment', GKTPLNAME); ?>
<?php elseif(get_comments_number() == 2) : ?>
<?php _e( '2 Comments', GKTPLNAME); ?>
<?php elseif(get_comments_number() > 2) : ?>
<?php printf(__( '%1$s Comments', GKTPLNAME), number_format_i18n(get_comments_number())); ?>
<?php endif; ?>
</h2>
<?php do_action('gavernwp_after_comments_count'); ?>
<?php if ( get_comment_pages_count() > 1 && get_option('page_comments' )) : ?>
<nav>
<div class="nav-prev">
<?php previous_comments_link( __( '← Older Comments', GKTPLNAME ) ); ?>
</div>
<div class="nav-next">
<?php next_comments_link( __( 'Newer Comments →', GKTPLNAME ) ); ?>
</div>
</nav>
<?php endif; ?>
<?php do_action('gavernwp_before_comments_list'); ?>
<ol>
<?php wp_list_comments(array( 'callback' => 'gavern_comment_template', 'style' => 'ol')); ?>
</ol>
<?php do_action('gavernwp_after_comments_list'); ?>
<?php if ( get_comment_pages_count() > 1 && get_option('page_comments' )) : ?>
<nav>
<div class="nav-prev">
<?php previous_comments_link( __( '← Older Comments', GKTPLNAME ) ); ?>
</div>
<div class="nav-next">
<?php next_comments_link( __( 'Newer Comments →', GKTPLNAME ) ); ?>
</div>
</nav>
<?php endif; ?>
<?php do_action('gavernwp_before_comments_form'); ?>
<?php comment_form(); ?>
<?php do_action('gavernwp_after_comments_form'); ?>
</section>
<?php elseif ( ! comments_open() && ! is_page() && post_type_supports( get_post_type(), 'comments' ) ) : ?>
<?php if( get_comment_pages_count() > 0) : ?>
<section id="comments" class="nocomments">
<p class="no-comments"><?php _e( 'Comments are closed.', GKTPLNAME ); ?></p>
</section>
<?php endif; ?>
<?php else : ?>
<section id="comments" class="nocomments">
<?php do_action('gavernwp_before_comments_form'); ?>
<?php comment_form(); ?>
<?php do_action('gavernwp_after_comments_form'); ?>
</section>
<?php endif; ?>