????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.87 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/./thread-self/root/home/tempvsty/eaabusiness.com/wp-content/themes/globeco/ |
Upload File : |
<?php
/**
* The template for displaying comments
*
* The area of the page that contains both current comments
* and the comment form.
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the comments.
*/
if ( post_password_required() ) {
return;
}
global $cws_theme_funcs;
ob_start();
if ( have_comments() ) {
$comments_number = number_format_i18n( get_comments_number() );
$comment_text = ($comments_number == '1') ? esc_html__( 'Comment', 'globeco') : esc_html__('Comments', 'globeco');
echo "<div
class='comments_title ce_title und-title themecolor'><h3> " . $comment_text . "<span class='comments_counter'>" . esc_html($comments_number). "</span></h3></div>";
wp_list_comments( array(
'walker' => new GLOBECO_Walker_Comment(),
'avatar_size' => 70,
) );
if ($cws_theme_funcs){
$cws_theme_funcs->cws_comment_nav();
} else {
if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) {
?>
<div class="comments_nav">
<?php
if ( $prev_link = get_previous_comments_link( "<div class='wrap'><span>" . esc_html__( 'Older Comments', 'globeco' ) . "</span></div>" ) ) {
printf( '<div class="prev_section"><div class="prev">%s</div></div>', $prev_link );
}
if ( $next_link = get_next_comments_link( "<div class='wrap'><span>" . esc_html__( 'Newer Comments', 'globeco' ) . "</span></div>" ) ) {
printf( '<div class="next_section"><div class="next">%s</div></div>', $next_link );
}
?>
</div><!-- .comment-navigation -->
<?php
}
}
} // have_comments()
// If comments are closed and there are comments, let's leave a little note, shall we?
if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) {
echo apply_filters( 'the_content', "<div class='cws_vc_shortcode_msg_box cws_vc_shortcode_module info'><div class='icon_part'><i class='msg_icon'></i></div><div class='content_part'>" . esc_html__( 'Comments are closed.', 'globeco' ) . "</div></div>" );
}
$comment_form_args = array(
'label_submit' => esc_html__( 'POST COMMENT', 'globeco' )
);
ob_start();
comment_form( $comment_form_args );
$comment_form = ob_get_clean();
echo trim( $comment_form );
$comments_section_content = ob_get_clean();
echo !empty( $comments_section_content ) ? "<div class='grid_row'><div class='grid_col grid_col_12'><div id='comments' class='comments-area'>$comments_section_content</div></div></div>" : "";
?>