Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Template for comments
- * @package themify
- * @since 1.0.0
- */
- ?>
- <?php themify_comment_before(); //hook ?>
- <?php if ( have_comments() || comments_open() ) : ?>
- <div id="comments" class="commentwrap">
- <?php themify_comment_start(); //hook ?>
- <?php if ( post_password_required() && have_comments() ) : ?>
- <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'themify' ); ?></p>
- <?php elseif ( have_comments() ) : ?>
- <h4 class="comment-title"><?php comments_number(__('No Comments','themify'), __('1 Comment','themify'), __('% Comments','themify') );?></h4>
- <?php // Comment Pagination
- if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
- <nav class="pagenav top clearfix">
- <?php paginate_comments_links( array('prev_text' => '', 'next_text' => '') );?>
- </nav>
- <!-- /.pagenav -->
- <?php endif; ?>
- <ol class="commentlist">
- <?php wp_list_comments('callback=themify_theme_comment'); ?>
- </ol>
- <?php // Comment Pagination
- if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
- <nav class="pagenav bottom clearfix">
- <?php paginate_comments_links( array('prev_text' => '', 'next_text' => '') );?>
- </nav>
- <!-- /.pagenav -->
- <?php endif; ?>
- <?php endif; // end have_comments() ?>
- <?php if ( comments_open() ) : ?>
- <?php
- global $req, $aria_req, $user_identity;
- global $aria_req;
- $comments_args = array(
- 'title_reply'=>'Deinen Gästebucheintrag hinzufügen',
- 'label_submit'=>'Gästebucheintrag absenden',
- 'comment_field' => '<p class="comment-form-comment"><label for="comment">Deine Nachricht</label><br /><textarea id="comment" name="comment"></textarea></p>'
- );
- comment_form($comments_args);?>
- <?php endif; // end comments_open() ?>
- <?php themify_comment_end(); //hook ?>
- </div>
- <!-- /.commentwrap -->
- <?php endif; ?>
- <?php themify_comment_after(); //hook ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement