| Server IP : 89.108.64.180 / Your IP : 216.73.216.229 Web Server : Apache/2.4.41 (Ubuntu) System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-root ( 1010) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/dfukhta.ru/wp-content/themes/stockholm/ |
Upload File : |
<?php if ( post_password_required() ) { ?>
<p class="nopassword"><?php esc_html_e( 'This post is password protected. Enter the password to view any comments.', 'stockholm' ); ?></p>
<?php
return;
}
if ( comments_open() || get_comments_number() ) { ?>
<div class="comment_holder clearfix" id="comments">
<div class="comment_number">
<div class="comment_number_inner">
<h5><?php comments_number( esc_html__( 'No Comments', 'stockholm' ), '1 ' . esc_html__( 'Comment', 'stockholm' ), '% ' . esc_html__( 'Comments', 'stockholm' ) ); ?></h5>
</div>
</div>
<div class="comments">
<?php if ( have_comments() ) : ?>
<ul class="comment-list">
<?php wp_list_comments( array( 'callback' => 'stockholm_qode_comment' ) ); ?>
</ul>
<?php else : // this is displayed if there are no comments so far
if ( ! comments_open() ) : ?>
<p><?php esc_html_e( 'Sorry, the comment form is closed at this time.', 'stockholm' ); ?></p>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
<?php
$qodef_commenter = wp_get_current_commenter();
$qodef_req = get_option( 'require_name_email' );
$qodef_aria_req = ( $qodef_req ? " aria-required='true'" : '' );
$qodef_consent = empty( $qodef_commenter['comment_author_email'] ) ? '' : ' checked="checked"';
$args = array(
'id_form' => 'commentform',
'id_submit' => 'submit_comment',
'title_reply' => '<h5>' . esc_html__( 'Post a Comment', 'stockholm' ) . '</h5>',
'title_reply_to' => esc_html__( 'Post a Reply to %s', 'stockholm' ),
'cancel_reply_link' => esc_html__( 'Cancel Reply', 'stockholm' ),
'label_submit' => esc_html__( 'Submit', 'stockholm' ),
'comment_field' => '<textarea id="comment" placeholder="' . esc_attr__( 'Write your comment here...', 'stockholm' ) . '" name="comment" cols="45" rows="8" aria-required="true"></textarea>',
'comment_notes_before' => '',
'comment_notes_after' => '',
'fields' => apply_filters( 'comment_form_default_fields', array(
'author' => '<div class="three_columns clearfix"><div class="column1"><div class="column_inner"><input id="author" placeholder="' . esc_attr__( 'Your full name', 'stockholm' ) . '" name="author" type="text" value="' . esc_attr( $qodef_commenter['comment_author'] ) . '"' . $qodef_aria_req . ' /></div></div>',
'email' => '<div class="column2"><div class="column_inner"><input id="email" placeholder="' . esc_attr__( 'E-mail address', 'stockholm' ) . '" name="email" type="text" value="' . esc_attr( $qodef_commenter['comment_author_email'] ) . '"' . $qodef_aria_req . ' /></div></div>',
'url' => '<div class="column3"><div class="column_inner"><input id="url" placeholder="' . esc_attr__( 'Website', 'stockholm' ) . '" name="url" type="text" value="' . esc_attr( $qodef_commenter['comment_author_url'] ) . '" /></div></div></div>',
'cookies' => '<p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes" ' . $qodef_consent . ' />' .
'<label for="wp-comment-cookies-consent">' . esc_html__( 'Save my name, email, and website in this browser for the next time I comment.', 'stockholm' ) . '</label></p>',
) )
);
?>
<div class="comment_pager">
<p><?php paginate_comments_links(); ?></p>
</div>
<div class="comment_form">
<?php comment_form( $args ); ?>
</div>
<?php } ?>