PATH:
home
/
ediuae
/
pearlandpetalbeautyspa.com
/
wp-content
/
themes
/
envo-royal
<?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; } if ( is_single() || is_page() ) : ?> <div id="comments" class="comments-template"> <?php if ( have_comments() ) : ?> <h4 id="comments"> <?php $comments_number = get_comments_number(); if ( '1' === $comments_number ) { /* translators: %s: post title */ printf( esc_html_x( 'One thought on “%s”', 'comments title', 'envo-royal' ), esc_html( get_the_title() ) ); } else { /* translators: 1: number of comments, 2: post title */ printf( esc_html( _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', $comments_number, 'comments title', 'envo-royal' ) ), esc_html( number_format_i18n( $comments_number ) ), esc_html( get_the_title() ) ); } ?> </h4> <ul class="commentlist list-unstyled"> <?php wp_list_comments(); paginate_comments_links(); if ( is_singular() ) { wp_enqueue_script( 'comment-reply' ); } ?> </ul> <?php comment_form(); else : if ( comments_open() ) : comment_form(); endif; endif; // 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' ) ) : ?> <p class="no-comments"> <?php esc_html_e( 'Comments are closed.', 'envo-royal' ); ?> </p> <?php endif; ?> </div> <?php endif;
[+]
..
[-] header.php
[edit]
[-] functions.php
[edit]
[-] single.php
[edit]
[+]
template-parts
[-] rtl.css
[edit]
[+]
assets
[-] index.php
[edit]
[-] screenshot.png
[edit]
[+]
languages
[-] content-none.php
[edit]
[-] 404.php
[edit]
[-] footer.php
[edit]
[-] sidebar.php
[edit]
[-] archive.php
[edit]
[-] page.php
[edit]
[-] style.css
[edit]
[-] comments.php
[edit]
[+]
extra
[-] single-elementor_library.php
[edit]
[-] content.php
[edit]
[-] search.php
[edit]
[-] readme.txt
[edit]