[Plugin: Spam Free WordPress] Comments post; all input boxes not formated
-
Hello Todd,
I am new to wordpress, so this maybe me. I am running the following versions of WordPress and Spam Free.WordPress 3.3.1.
Spam Free WordPress Version 1.5.1I followed your instrutction about channgeing the comment.php and when I did my formatting is all messed up. (see image below)
image = http://www.catholichour.org/wp-content/themes/academica/images/main/spamfree_format.gif
After that did not work, I read through the post on this board and found one from rekik and tried the code you had listed for him. It helped a little, but not much.
What can I do to fix this problem.
I have removed the code and now you get the error about not having a password when you try to post a comment.
website = http://catholichour.org/
theme = Academica 1.0.2 by ProudThemes
Thank you for any or all your help,
Daddy Mack
********** code from your help page ***********************
<?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. –>
<?php if (have_comments() ) : ?>
<div class=”sep”> </div>
<div id=”comments”><h2><?php comment_type_count();?> Comments</h2>
<div id=”commentspost”>
<ol class=”comments”><?php wp_list_comments(‘type=all&avatar_size=40’);?>
</div><!– #commentspost –><?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. –>
<div class=”sep”> </div>
<div id=”comments”><h2>No comments</h2>
<div id=”commentspost”>
<p>Be the first one to leave a comment.</p>
</div>
<?php else : // comments are closed ?><?php if (!is_page()) { ?>
<div id=”comments”><h2>Comments are closed</h2>
<p>Sorry, but you cannot leave a comment for this post.</p>
</div><!– end #comments –>
<?php } ?>
<?php endif; ?>
<?php endif; ?><?php if (‘open’ == $post->comment_status) : ?>
<div id=”respond”>
<h2><?php comment_form_title( ‘Post a Comment’, ‘Leave a Reply to %s’ ); ?></h2>
<div class=”cancel-comment-reply”><p><?php cancel_comment_reply_link(); ?></p></div>
<?php if ( get_option(‘comment_registration’) && !$user_ID ) : ?>
<p>You must be /wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>”>logged in to post a comment.</p>
<?php else : ?><?php comment_form(); ?>
<?php endif; // If registration required and not logged in ?>
</div><!– end #respond –>
<?php endif; // if you delete this the sky will fall on your head ?><?php if (‘open’ == $post->comment_status || have_comments()){ ?> </div><!– #comments –><?php } ?>
************ End of code ***********************************
The topic ‘[Plugin: Spam Free WordPress] Comments post; all input boxes not formated’ is closed to new replies.