File Editor
Directories:
.. (Back)
css
header-templates
images
inc
js
plugins
templates
woocommerce
Files:
404.php
ChangeLog.txt
archive.php
comments.php
content-article.php
content-blog-aside-image.php
content-grid.php
content-home.php
content-none.php
content-page.php
content-single.php
content.php
editor-style.css
footer.php
functions.php
header.php
index.php
page.php
peony-global.php
readme.txt
search.php
searchform.php
sidebar-archiveleft.php
sidebar-archiveright.php
sidebar-notfoundleft.php
sidebar-notfoundright.php
sidebar-pageleft.php
sidebar-pageright.php
sidebar-postleft.php
sidebar-postright.php
sidebar-searchleft.php
sidebar-searchright.php
sidebar.php
single.php
style.css
template-fullwidth.php
woocommerce.php
Create New File
Create
Edit File: comments.php
<?php if ( post_password_required() ) { ?> <p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.', 'peony'); ?></p> <?php return; } ?> <?php if ( have_comments() ) : ?> <h3 id="comments"><?php comments_number(__('No comment', 'peony'), __('Has one comment', 'peony'), __('% comments', 'peony'));?> <?php printf(__('to “%s”', 'peony'), the_title('', '', false)); ?></h3> <div class="upcomment"><?php _e('You can ','peony'); ?><a id="leaverepond" href="#comments"><?php _e('leave a reply','peony'); ?></a> <?php _e(' or ','peony'); ?> <a href="<?php trackback_url(true); ?>" rel="trackback"><?php _e('Trackback','peony'); ?></a> <?php _e('this post.','peony'); ?></div> <ol id="thecomments" class="commentlist comments-list"> <?php wp_list_comments('type=comment&callback=peony_comment');?> </ol> <!-- comments pagenavi Start. --> <?php if (get_option('page_comments')) { $comment_pages = paginate_comments_links('echo=0'); if ($comment_pages) { ?> <div id="commentnavi"> <span class="pages"><?php _e('Comment pages', 'peony'); ?></span> <div id="commentpager"> <?php echo $comment_pages; ?> </div> <div class="fixed"></div> </div> <?php } } ?> <?php else : ?> <?php if ( comments_open() ) : ?> <?php else : ?> <!-- If comments are closed. --> <p class="nocomments"></p> <?php endif; ?> <?php endif; ?> <?php if ( comments_open() ) : ?> <div id="respond" class="respondbg"> <?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?> <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.', 'peony'), wp_login_url( esc_url(get_permalink()) )); ?></p> <?php else : ?> <?php $commenter = wp_get_current_commenter(); $req = get_option( 'require_name_email' ); $aria_req = ( $req ? " aria-required='true'" : '' ); global $required_text; $comments_args = array( 'class_submit' => 'submit', 'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.', 'peony' ) . ( $req ? $required_text : '' ) . '</p>', 'title_reply'=>__('Leave a Reply', 'peony'), 'comment_notes_after' => '', 'comment_field' => '<div class="clear"></div><p class="form-allowed-tags"></p> <section class="comment-form-comment form-group"><div id="comment-textarea"><textarea id="comment" name="comment" placeholder="'.esc_attr__('Message', 'peony').'" cols="45" rows="8" class="textarea-comment form-control" aria-required="true"></textarea></div></section>', 'fields' => apply_filters( 'comment_form_default_fields', array( 'author' => '<div class="row"><section class="comment-form-author form-group col-md-4"><input id="author" class="input-name form-control" name="author" placeholder="'.esc_attr__('Name', 'peony').'" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></section>', 'email' => '<section class="comment-form-email form-group col-md-4"><input id="email" class="input-name form-control" name="email" placeholder="'.esc_attr__('Email', 'peony').'" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></section>', 'url' => '<section class="comment-form-url form-group col-md-4"><input id="url" class="input-name form-control" placeholder="'.esc_attr__('Website', 'peony').'" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></section></div>' )) ); ?> <?php comment_form($comments_args);?> <?php endif; ?> </div> <?php endif; ?>
Save Changes
Rename File
Rename