D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
blackhat.pw
:
/
homepages
/
35
/
d135665864
/
htdocs
/
clickandbuilds
/
AmarettoTre
/
wp-content
/
themes
/
savory
/
Filename :
comments.php
back
Copy
<?php $savory_elated_comment_number_class = ''; if(!have_comments()){ $savory_elated_comment_number_class = 'eltd-hide-comments-holder'; } ?> <div class="eltd-comment-holder clearfix <?php echo esc_attr($savory_elated_comment_number_class) ?>" id="comments"> <div class="eltd-comment-number"> <h3> <?php comments_number( '' , '1' . esc_html__( ' Comment ', 'savory' ), '% ' . esc_html__( ' Comments ', 'savory' ) ); ?> </h3> </div> <div class="eltd-comments"> <?php if ( post_password_required() ) : ?> <p class="eltd-no-password"> <?php esc_html_e( 'This post is password protected. Enter the password to view any comments.', 'savory' ); ?></p> </div> </div> <?php return; endif; ?> <?php if ( have_comments() ) : ?> <ul class="eltd-comment-list"> <?php wp_list_comments( array( 'callback' => 'savory_elated_comment' ) ); ?> </ul> <?php // End Comments ?> <?php else : // this is displayed if there are no comments so far if ( ! comments_open() ) : ?> <!-- If comments are open, but there are no comments. --> <!-- If comments are closed. --> <p><?php esc_html_e( 'Sorry, the comment form is closed at this time.', 'savory' ); ?></p> <?php endif; ?> <?php endif; ?> </div></div> <?php $savory_elated_commenter = wp_get_current_commenter(); $savory_elated_req = get_option( 'require_name_email' ); $savory_elated_aria_req = ( $savory_elated_req ? " aria-required='true'" : '' ); $args = array( 'id_form' => 'commentform', 'id_submit' => 'submit_comment', 'title_reply' => esc_html__( 'Leave a Comment', 'savory' ), 'title_reply_to' => esc_html__( 'Post a Reply to %s', 'savory' ), 'cancel_reply_link' => esc_html__( 'Cancel Reply', 'savory' ), 'title_reply_before' => '<h3 id="reply-title" class="comment-reply-title">', 'title_reply_after' => '</h3>', 'label_submit' => esc_html__( 'Submit', 'savory' ), 'comment_field' => '<textarea id="comment" placeholder="' . esc_html__( 'Write your comment here...', 'savory' ) . '" 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' => '<input id="author" name="author" placeholder="' . esc_html__( 'Your full name', 'savory' ) . '" type="text" value="' . esc_attr( $savory_elated_commenter['comment_author'] ) . '"' . $savory_elated_aria_req . ' />', 'url' => '<input id="email" name="email" placeholder="' . esc_html__( 'E-mail address', 'savory' ) . '" type="text" value="' . esc_attr( $savory_elated_commenter['comment_author_email'] ) . '"' . $savory_elated_aria_req . ' />', 'email' => '<input id="url" name="url" type="text" placeholder="' . esc_html__( 'Website', 'savory' ) . '" value="' . esc_attr( $savory_elated_commenter['comment_author_url'] ) . '" />' ) ) ); ?> <?php if ( get_comment_pages_count() > 1 ) { ?> <div class="eltd-comment-pager"> <p><?php paginate_comments_links(); ?></p> </div> <?php } ?> <div class="eltd-comment-form"> <?php comment_form( $args ); ?> </div>