__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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
*
* This is the template that displays the area of the page that contains both the current comments
* and the comment form.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package Blocksy
*/
if ( post_password_required() ) {
return;
}
$entity_singular = 'comment';
$entity_plural = 'comments';
$commenter = wp_get_current_commenter();
$prefix = blocksy_manager()->screen->get_prefix();
$comments_position = blocksy_get_theme_mod($prefix . '_comments_position', 'below');
do_action('blocksy:comments:before');
$html_atts = [
'class' => 'ct-comments',
'id' => 'comments'
];
if (blocksy_get_theme_mod(
$prefix . '_comments_containment',
'separated'
) === 'contained'
) {
$html_atts['class'] .= ' is-width-constrained';
}
$deep_link_args = [
'prefix' => $prefix,
'suffix' => $prefix . '_has_comments',
'return' => 'array',
];
$html_atts = array_merge(
$html_atts,
blocksy_generic_get_deep_link(
$deep_link_args
)
);
?>
<div <?php echo blocksy_attr_to_html($html_atts); ?>>
<?php do_action('blocksy:comments:top'); ?>
<?php if ( have_comments() ) :
$label_tag = blocksy_get_theme_mod($prefix . '_comments_heading_tag', 'h3');
?>
<<?php echo esc_html($label_tag); ?> class="ct-comments-title">
<?php comments_number( esc_html__( 'No comments yet', 'blocksy' ), __( 'One comment', 'blocksy' ), __( '% Comments', 'blocksy' ) ); ?>
</<?php echo esc_html($label_tag); ?>>
<?php endif; // have_comments() ?>
<?php if ( $comments_position === 'above' ) comment_form(); ?>
<?php if ( have_comments() ) : ?>
<ol class="ct-comment-list">
<?php
wp_list_comments(
[
'short_ping' => true,
'avatar_size' => 100,
'callback' => 'blocksy_custom_comment_template',
'end-callback' => function () {
echo '</li>';
}
]
);
?>
</ol>
<?php
// Are there comments to navigate through?
if (get_comment_pages_count() > 1 && get_option('page_comments')) :
?>
<nav class="ct-comment-navigation-container">
<h4 class="screen-reader-text section-heading">
<?php esc_html_e( 'Comment navigation', 'blocksy' ); ?>
</h4>
<div class="ct-comments-navigation">
<span class="prev">
<?php previous_comments_link( __( '← Older Comments', 'blocksy' ) ); ?>
</span>
<span class="next">
<?php next_comments_link( __( 'Newer Comments →', 'blocksy' ) ); ?>
</span>
</div>
</nav>
<?php endif; // Check for comment navigation ?>
<?php if (! comments_open() && get_comments_number()) : ?>
<p class="no-comments">
<?php esc_html_e( 'Comments are closed.', 'blocksy' ); ?>
</p>
<?php endif; ?>
<?php endif; // have_comments() ?>
<?php if ( $comments_position === 'below' ) comment_form(); ?>
<?php do_action('blocksy:comments:bottom'); ?>
</div>
<?php do_action('blocksy:comments:after'); ?>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| admin | Folder | 0750 |
|
|
| inc | Folder | 0750 |
|
|
| languages | Folder | 0750 |
|
|
| static | Folder | 0750 |
|
|
| template-parts | Folder | 0750 |
|
|
| tutor | Folder | 0750 |
|
|
| woocommerce | Folder | 0750 |
|
|
| 404.php | File | 662 B | 0640 |
|
| LICENSE | File | 17.62 KB | 0640 |
|
| archive.php | File | 344 B | 0640 |
|
| changelog.txt | File | 188.43 KB | 0640 |
|
| comments.php | File | 2.87 KB | 0640 |
|
| footer.php | File | 527 B | 0640 |
|
| functions.php | File | 326 B | 0640 |
|
| gulpfile.js | File | 15.66 KB | 0640 |
|
| header.php | File | 1.19 KB | 0640 |
|
| index.php | File | 466 B | 0640 |
|
| package.json | File | 2.15 KB | 0640 |
|
| page.php | File | 395 B | 0640 |
|
| readme.txt | File | 9.04 KB | 0640 |
|
| screenshot.jpg | File | 357.45 KB | 0640 |
|
| searchform.php | File | 8.63 KB | 0640 |
|
| sidebar.php | File | 409 B | 0640 |
|
| single.php | File | 358 B | 0640 |
|
| style.css | File | 885 B | 0640 |
|
| theme.json | File | 1.41 KB | 0640 |
|
| wpml-config.xml | File | 351 B | 0640 |
|