Файловый менеджер - Редактировать - /home/goldin10/public_html/getoutyourbox.com/wp-content/themes/sparks/comments.php
Error occurred
Назад
<?php /*-----------------------------------------------------------------------------------*/ /* Begin processing our comments /*-----------------------------------------------------------------------------------*/ /* Password Protected? ----------------------------------------------------------*/ if( post_password_required() ) return; ?> <!-- BEGIN #comments --> <div id="comments"> <?php /*-----------------------------------------------------------------------------------*/ /* Display the Comments & Pings /*-----------------------------------------------------------------------------------*/ if ( have_comments() ) : /* Display Comments ---------------------------------------------------------*/ if ( ! empty($comments_by_type['comment']) ) : // if there are normal comments ?> <div class="default-bg"> <ol class="commentlist block"> <?php wp_list_comments( 'type=comment&callback=zilla_comment' ); ?> </ol> </div> <?php endif; // end normal comments /* Display Pings -------------------------------------------------------------*/ if ( ! empty($comments_by_type['pings']) ) : // if there are pings ?> <div class="default-bg"> <h3 class="pings-title"><?php _e('Trackbacks for this post', 'zilla') ?></h3> <ol class="pinglist block"> <?php wp_list_comments( 'type=pings&callback=zilla_list_pings' ); ?> </ol> </div> <?php endif; // end pings /* Display Comment Navigation -----------------------------------------------*/ if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> <div class="comment-navigation block" role="navigation"> <div class="nav-previous"> <?php previous_comments_link( sprintf( '← %s', __('Older Comments', 'zilla') ) ); ?> </div> <div class="nav-next"> <?php next_comments_link( sprintf( '%s → ', __('Newer Comments', 'zilla') ) ); ?> </div> </div> <?php endif; // end comment pagination check /*-----------------------------------------------------------------------------------*/ /* Deal with no comments or closed comments /*-----------------------------------------------------------------------------------*/ elseif ( ! comments_open() && ! is_page() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?> <p class="nocomments"><?php _e('Comments are closed.', 'zilla') ?></p> <?php endif; /*-----------------------------------------------------------------------------------*/ /* Comment Form /*-----------------------------------------------------------------------------------*/ if ( comments_open() ) : $fields = array( 'comment_field' => '<p class="comment-form-comment"><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>', 'must_log_in' => '<p class="must-log-in">' . sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.', 'zilla' ), wp_login_url( apply_filters( 'the_permalink', get_permalink() ) ) ) . '</p>', 'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out »</a>', 'zilla' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink() ) ) ) . '</p>', 'comment_notes_before' => '', 'comment_notes_after' => '', 'comment_form_before' => '<div>', 'title_reply' => __('Leave a Comment', 'zilla'), 'title_reply_to' => __('Leave a Reply to %s', 'zilla'), 'cancel_reply_link' => __('Cancel Reply', 'zilla'), 'label_submit' => __('Submit Comment', 'zilla') ); comment_form($fields); endif; // end if comments open check ?> <!-- END #comments --> </div>
| ver. 1.4 |
Github
|
.
| PHP 7.2.34 | Генерация страницы: 0.06 |
proxy
|
phpinfo
|
Настройка