anycan see wordpress comment without register?
i setting it anyone can not post comment without register, but i want anyone can see post comment without register. how i can do it? my comment php code show beleow .
<?php
// Do not delete these lines
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');
if ( post_password_required() ) { ?>
<p class="nocomments">This post is password protected. Enter the password to view comments.</p>
<?php
return;
}
?>
<!-- You can start editing here. -->
<div class="allcomments">
<?php if ( have_comments() ) : ?>
<h3 id="comments"><?php _e("মন্তব্যসমূহ", "solostream"); ?> (<?php comments_number('0', '1', '%');?>)</h3>
<p class="comments-number"><a href="<?php trackback_url(); ?>" title="<?php _e("ট্রাকব্যাক ইউআরএল", "solostream"); ?>"><?php _e("ট্রাকব্যাক ইউআরএল", "solostream"); ?></a> | <a title="<?php _e("Comments RSS Feed for This Entry", "solostream"); ?>" href="<?php the_permalink() ?>feed"><?php _e("মন্তব্যসমূহের আরএসএস ফিড", "solostream"); ?></a></p>
<div class="comments-navigation clearfix">
<div class="alignleft"><?php previous_comments_link() ?></div>
<div class="alignright"><?php next_comments_link() ?></div>
</div>
<?php // list pings separately
if ( ! empty($comments_by_type['pings']) ) : ?>
<div class="pings">
<h3><?php _e("Sites That Link to this Post", "solostream"); ?></h3>
<ol class="pinglist">
<?php wp_list_comments('type=pings&callback=list_pings'); ?>
</ol>
</div>
<?php endif; ?>
<ol class="commentlist">
<?php
$avsize = get_option('solostream_grav_size');
wp_list_comments('type=comment&avatar_size='.$avsize);
?>
</ol>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ('open' == $post->comment_status) : ?>
<!-- If comments are open, but there are no comments. -->
<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<p class="nocomments"><?php _e("মন্তব্যসমূহ বন্ধ করা হল.", "solostream"); ?></p>
<?php endif; ?>
<?php endif; ?>
</div>
<?php if ('open' == $post->comment_status) : ?>
<div id="respond">
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<h3><?php comment_form_title(__("মন্তব্য দিন", "solostream"), __("Leave a Reply", "solostream")); ?></h3>
<div class="cancel-comment-reply">
<?php cancel_comment_reply_link(); ?>
</div>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p><?php _e("You must be", "solostream"); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>"><?php _e("logged in", "solostream"); ?></a> <?php _e("মন্তব্য প্রকাশ করুন", "solostream"); ?>.</p>
<?php else : ?>
<?php if ( $user_ID ) : ?>
<p><?php _e("সাথে আছে", "solostream"); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identit
i setting it anyone can not post comment without register, but i want anyone can see post comment without register. how i can do it? my comment php code show beleow .
<?php
// Do not delete these lines
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');
if ( post_password_required() ) { ?>
<p class="nocomments">This post is password protected. Enter the password to view comments.</p>
<?php
return;
}
?>
<!-- You can start editing here. -->
<div class="allcomments">
<?php if ( have_comments() ) : ?>
<h3 id="comments"><?php _e("মন্তব্যসমূহ", "solostream"); ?> (<?php comments_number('0', '1', '%');?>)</h3>
<p class="comments-number"><a href="<?php trackback_url(); ?>" title="<?php _e("ট্রাকব্যাক ইউআরএল", "solostream"); ?>"><?php _e("ট্রাকব্যাক ইউআরএল", "solostream"); ?></a> | <a title="<?php _e("Comments RSS Feed for This Entry", "solostream"); ?>" href="<?php the_permalink() ?>feed"><?php _e("মন্তব্যসমূহের আরএসএস ফিড", "solostream"); ?></a></p>
<div class="comments-navigation clearfix">
<div class="alignleft"><?php previous_comments_link() ?></div>
<div class="alignright"><?php next_comments_link() ?></div>
</div>
<?php // list pings separately
if ( ! empty($comments_by_type['pings']) ) : ?>
<div class="pings">
<h3><?php _e("Sites That Link to this Post", "solostream"); ?></h3>
<ol class="pinglist">
<?php wp_list_comments('type=pings&callback=list_pings'); ?>
</ol>
</div>
<?php endif; ?>
<ol class="commentlist">
<?php
$avsize = get_option('solostream_grav_size');
wp_list_comments('type=comment&avatar_size='.$avsize);
?>
</ol>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ('open' == $post->comment_status) : ?>
<!-- If comments are open, but there are no comments. -->
<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<p class="nocomments"><?php _e("মন্তব্যসমূহ বন্ধ করা হল.", "solostream"); ?></p>
<?php endif; ?>
<?php endif; ?>
</div>
<?php if ('open' == $post->comment_status) : ?>
<div id="respond">
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<h3><?php comment_form_title(__("মন্তব্য দিন", "solostream"), __("Leave a Reply", "solostream")); ?></h3>
<div class="cancel-comment-reply">
<?php cancel_comment_reply_link(); ?>
</div>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p><?php _e("You must be", "solostream"); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>"><?php _e("logged in", "solostream"); ?></a> <?php _e("মন্তব্য প্রকাশ করুন", "solostream"); ?>.</p>
<?php else : ?>
<?php if ( $user_ID ) : ?>
<p><?php _e("সাথে আছে", "solostream"); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identit
No comments:
Post a Comment