Title: [Plugin: Spam Free WordPress]  comments.php problem
Last modified: August 20, 2016

---

# [Plugin: Spam Free WordPress] comments.php problem

 *  Resolved [riversway](https://wordpress.org/support/users/riversway/)
 * (@riversway)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-spam-free-wordpress-plugin-spam-free-wordpress-commentsphp-problem/)
 * This is about getting the password field to appear. I read the other posts and
   still can’t get the box to appear.
    I am using the Connections Reloaded theme
   and the comments.php file doesn’t have a `<form>` opening tag it does have a `
   </form>` tag however. I tried adding the line of code for earlier versions,`<?
   php if(function_exists (’tl_spam_free_wordpress_comments_form’)) { tl_spam_free_wordpress_comments_form();}?
   >` after the url field, but still cannot get a password field to appear on the
   form. I have disabled all caching. I am more than willing to email you code, 
   etc if that will help. The site is [http://www.riverswaycommunity.org](http://www.riverswaycommunity.org)
   hosted by dreamhost.
 * Thank you for your response.
 * Gil
 * [http://wordpress.org/extend/plugins/spam-free-wordpress/](http://wordpress.org/extend/plugins/spam-free-wordpress/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [riversway](https://wordpress.org/support/users/riversway/)
 * (@riversway)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-spam-free-wordpress-plugin-spam-free-wordpress-commentsphp-problem/#post-2190113)
 * PS: I am a hardware/networking guy and am still learning this side of things.
 *  Plugin Author [Todd Lahman](https://wordpress.org/support/users/toddlahman/)
 * (@toddlahman)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-spam-free-wordpress-plugin-spam-free-wordpress-commentsphp-problem/#post-2190130)
 * The line of code you have looks correct, except it has smart single quotes instead
   of the normal single quote that is otherwise known as an apostrophe. The smart
   quotes don’t work in PHP. The code in comments.php should look like the lines
   below.
 *     ```
       <p><label for="url"><?php _e('Website'); ?></label><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" /></p>
   
       <?php if(function_exists ('tl_spam_free_wordpress_comments_form')) { tl_spam_free_wordpress_comments_form(); } ?>
       ```
   
 * Note that tl_spam_free_wordpress_comments_form is surrounded by the correct single
   quote ‘ rather than the single smart quote ’ that you were using.
 *  Thread Starter [riversway](https://wordpress.org/support/users/riversway/)
 * (@riversway)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-spam-free-wordpress-plugin-spam-free-wordpress-commentsphp-problem/#post-2190133)
 * Thanks Todd, just to let you know, that was a direct copy and paste from your
   website.
 * I greatly appreciate your quick response. It works great now.
 * Gil
 *  Plugin Author [Todd Lahman](https://wordpress.org/support/users/toddlahman/)
 * (@toddlahman)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-spam-free-wordpress-plugin-spam-free-wordpress-commentsphp-problem/#post-2190148)
 * Thank you for letting me know where you got that line of code. I’ve corrected
   my error on my blog.
 * Glad to see all is working Gil.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Spam Free WordPress] comments.php problem’ is closed to new 
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/spam-free-wordpress.svg)
 * [Spam Free WordPress](https://wordpress.org/plugins/spam-free-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/spam-free-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/spam-free-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/spam-free-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/spam-free-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/spam-free-wordpress/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Todd Lahman](https://wordpress.org/support/users/toddlahman/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-spam-free-wordpress-plugin-spam-free-wordpress-commentsphp-problem/#post-2190148)
 * Status: resolved