Page 1 of 1

parse error (while making wordpress theme comments.php)

Posted: Wed Apr 28, 2010 3:06 am
by puikaaa
Hi!
I've problem thath i can't solve by myself. So i hope someone can help me here with this code that i wrote for Wordpress theme, comments.php.
Soo, here is the problem:
Parse error: parse error in \wp-content\themes\b&w\comments.php on line 84
Here is the broken line:

Code: Select all

<?php if ($post-> comment_status == "open" && $post->ping_status == "open") { ?>
And here is FULL php code of comments.php: http://paste.php.lv/796b3170cf0bfe0bc28 ... 8?lang=php
With regards,
Rich

Re: parse error (while making wordpress theme comments.php)

Posted: Wed Apr 28, 2010 4:23 am
by Eran
I hope you have && and not the entities equivalent (&&) in your code

Re: parse error (while making wordpress theme comments.php)

Posted: Wed Apr 28, 2010 4:34 am
by puikaaa
:banghead: :lol:
yeah stupid unicode
tq. i should wach closer. at least now my code is debuged. :)
With Regards,
Rich