Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: bd02b5655c
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (41 sloc) 2.651 kb
<!-- begin comments -->
<?php
if ( post_password_required() ) { ?>
<div class="meta" id="comments" style="text-align: right;"><?php _e( 'Enter your password to view comments.', 'boozurk' ); ?></div>
<?php return;
}
?>
<?php if ( have_comments() ) { ?>
<h2 class="bz-seztit" id="comments"><a href="#head">&#8743;</a> <span><?php comments_number( __( 'No Comments', 'boozurk' ), __( '1 Comment', 'boozurk' ), __( '% Comments', 'boozurk' ) ); ?></span> <a href="#themecredits">&#8744;</a></h2>
<ol class="commentlist">
<?php wp_list_comments(); ?>
</ol>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) { ?>
<div class="bz-pc-navi">
<?php paginate_comments_links(); ?>
</div>
<?php } ?>
<?php } ?>
<?php if ( comments_open() ) { ?>
<?php
$bz_fields = array(
'author' => '<p class="comment-form-author">' . '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" aria-required="true" />' .
'<label for="author">' . __( 'Name', 'boozurk' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) .'</p>',
'email' => '<p class="comment-form-email">' . '<input id="email" name="email" type="text" value="' . sanitize_email( $commenter['comment_author_email'] ) . '" size="30" aria-required="true" />' .
'<label for="email">' . __( 'Email', 'boozurk' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) .'</p>',
'url' => '<p class="comment-form-url">' . '<input id="url" name="url" type="text" value="' . esc_url( $commenter['comment_author_url'] ) . '" size="30" />' .
'<label for="url">' . __( 'Website', 'boozurk' ) . '</label>' .'</p>',
);
?>
<?php $bz_custom_args = array(
'fields' => apply_filters( 'comment_form_default_fields', $bz_fields ),
'comment_field' => '<p class="comment-form-comment"><textarea id="comment" name="comment" cols="45" rows="7" style="width: 98%;" aria-required="true"></textarea></p>',
'comment_notes_after' => '',
'label_submit' => __( 'Say It!', 'boozurk' ),
'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>.', 'boozurk' ), admin_url( 'profile.php' ), $user_identity ) . '</p>',
'title_reply' => '<a href="#head">&#8743;</a> <span>' . __( 'Leave a comment', 'boozurk' ) . '</span> <a href="#themecredits">&#8744;</a>',
'title_reply_to' => '<a href="#head">&#8743;</a> <span>' . __( 'Leave a Reply to %s', 'boozurk' ) . '</span> <a href="#themecredits">&#8744;</a>',
);
comment_form( $bz_custom_args ); ?>
<?php } ?>
<!-- end comments -->
Jump to Line
Something went wrong with that request. Please try again.