Hi all. Sorry to be a pain but I am about to pull my hair out. I removed the comment PHP code from my index.php and archive.php from my theme (Blue Zinfindel) and now I need to add them back. We would like to have comments on certain posts. Problem is this: no matter what I do, the Leave Comment link will not show up. When I check the HTML for the pages or a post, the PHP code to enable the Leave Comment link is gone. How would this get removed? Is there anything I might have changed that would cause WordPress to remove this code? I have searched now for hours on this and can’t find anything. My site is here: http://www.detour-mag.com
Me theme uses the files page.php and index.php. I have added the proper code to both many times. The ONLY thing that will not show up is the Leave Comment link. And when I post it, the php call tags for the comment code are gone!
I am editing in Dreamweaver. I’m pretty comfortable working in code and such, and I’m quite certain I am placing the code correctly, but it still does not show up. If I paste code into either page.php, archive.php or index.php that calls the catagory, edit post and leave comment, everything shows great but leave comment. And I am using known-good code from this site and from the original theme. Is there anything on the WordPress side that might be causing it? This is making me nuts! As I said comments were working as they should when I started building. I removed the tags to pull in that “leave comment” link and now as I said it keeps disappearing.
Let’s reverse that question: is there anything – plugin – in your WP install that would interfere with the display of the comment code? Do you have a comments.php in the theme folder?
(I hope you edit the files in DW in “code mode” not as wysiwyg!)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Enable Comments Not Working’ is closed to new replies.