sarkfultion
⌂
›
wp-content
›
themes
›
sinatra
›
template-parts
›
entry
sarkfultion
13 dreads
↑ redisq
📁
format/
dreads
sarkfultion
dreads
📄
entry-about-author.php
2,044 B
sarkfultion
dreads
📄
entry-author-posts-button.php
504 B
sarkfultion
dreads
📄
entry-category.php
565 B
sarkfultion
dreads
📄
entry-content-footer.php
1,665 B
sarkfultion
dreads
📄
entry-content.php
563 B
sarkfultion
dreads
📄
entry-header.php
1,511 B
sarkfultion
dreads
📄
entry-meta.php
1,686 B
sarkfultion
dreads
📄
entry-prev-next-post.php
1,479 B
sarkfultion
dreads
📄
entry-show-comments.php
951 B
sarkfultion
dreads
📄
entry-summary-footer.php
768 B
sarkfultion
dreads
📄
entry-summary.php
725 B
sarkfultion
dreads
📄
entry-thumbnail.php
584 B
sarkfultion
dreads
redisq: entry-show-comments.php
<?php /** * Template part for displaying ”Show Comments” button. * * @package Sinatra * @author Sinatra Team <hello@sinatrawp.com> * @since 1.0.0 */ // Do not show if the post is password protected. if ( post_password_required() ) { return; } $sinatra_comment_count = get_comments_number(); $sinatra_comment_title = esc_html__( 'Leave a Comment', 'sinatra' ); if ( $sinatra_comment_count > 0 ) { /* translators: %s is comment count */ $sinatra_comment_title = esc_html( sprintf( _n( 'Show %s Comment', 'Show %s Comments', $sinatra_comment_count, 'sinatra' ), $sinatra_comment_count ) ); } ?> <a href="#" id="sinatra-comments-toggle" class="si-btn btn-large btn-fw btn-left-icon"> <?php echo sinatra()->icons->get_svg( 'chat' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> <span><?php echo $sinatra_comment_title; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></span> </a>
sarkfultion