Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (post_password_required()) {
- return;
- }
- ?>
- <div id="comments" class="comments-area">
- <h2 class="comments-title">
- <?php if (get_locale() == 'en_GB') {
- ?>
- comments TO
- <?php
- } else {
- ?>
- KOMENTARZE DO
- <?php
- }
- ?> <?php the_title() ?>
- </h2>
- <?php
- if (have_comments()) : ?>
- <?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : ?>
- <nav id="comment-nav-above" class="navigation comment-navigation" role="navigation">
- <h2 class="screen-reader-text"><?php esc_html_e('Comment navigation', 'webs'); ?></h2>
- <div class="nav-links">
- <div class="nav-previous"><?php previous_comments_link(esc_html__('Older Comments', 'webs')); ?></div>
- <div class="nav-next"><?php next_comments_link(esc_html__('Newer Comments', 'webs')); ?></div>
- </div>
- </nav>
- <?php endif; ?>
- <ol class="comment-list">
- <?php wp_list_comments( 'type=comment&callback=mytheme_comment' ); ?>
- </ol>
- <?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : ?>
- <nav id="comment-nav-below" class="navigation comment-navigation" role="navigation">
- <h2 class="screen-reader-text"><?php esc_html_e('Comment navigation', 'webs'); ?></h2>
- <div class="nav-links">
- <div class="nav-previous"><?php previous_comments_link(esc_html__('Older Comments', 'webs')); ?></div>
- <div class="nav-next"><?php next_comments_link(esc_html__('Newer Comments', 'webs')); ?></div>
- </div>
- </nav>
- <?php
- endif;
- endif;
- if (!comments_open() && get_comments_number() && post_type_supports(get_post_type(), 'comments')) : ?>
- <p class="no-comments"><?php esc_html_e('Comments are closed.', 'webs'); ?></p>
- <?php
- endif;
- comment_form();
- ?>
- </div><!-- #comments -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement