WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a severe problem with my comment template. For some reason comments won't show up unless somebody also clicks on the website field. It's not necessary to actually post a website, but you have to click on the field, otherwise the comment just won't show up. Here's my website so you can try yourself.

Here's my comment.php: http://pastebin.com/pgpQ2Cx3 And here my comment-template.php (which I haven't changed but maybe a plugin did): http://pastebin.com/5zaubXWm

Any ideas? :( I already tried various things modifying my comment.php, but nothing worked.

Thanks a lot in advance.

share|improve this question
up vote 2 down vote accepted

Try changing line 152 in your comments-template.php file from:

if ( empty( $url ) || 'http://' == $url )

to if ( empty( $url ) || 'http://' == $url || 'Website' == $url)

share|improve this answer
Hello! Thank you very much for your answer. I modified the template, but it didn't work. Still the same problem as before. – japanworm Sep 1 '11 at 12:41
Hello again. I got it to work by changing the code in my comment.php file back to the original and I modified it all again, completely different this time, though. Now it works. I think it's because my theme has a very weird problem with "onfocus" with textareas ... very annoying. No idea how to fix that. Thanks for trying to help! :) – japanworm Sep 2 '11 at 16:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.