Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.