Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   [SOLVED] How to remove "comments are closed" from the end of posts (http://forum.bytesforall.com/showthread.php?t=275)

wylde1der Feb 8, 2009 03:25 AM

[SOLVED] How to remove "comments are closed" from the end of posts
 
I want to use the Atahualpa theme without comments, but when I do this it says "comments are closed" at the end of the post. How do I get rid of that?

Thanks for your help in advance :)

Flynn Feb 8, 2009 12:59 PM

See Atahualpa Theme Options -> Post Info Items, delete that term from the %comments.... tag, but leave its opening and closing single quotes.

sebatombs Dec 14, 2009 01:13 AM

I have done a bit of research into trying to remove the 'Comments are closed' text and box from the bottom of WordPress pages. The simplest and by far most effective way, without mucking up you code is to do to edit comments.php in your theme file replacing the code:

`<?php else : // comments are closed ?>`
`<!-- If comments are closed. -->`
`<div class="art-Post">`


with this:

`<?php else : // comments are closed ?>`
`<!-- If comments are closed. -->`
`<div style="display:none" class="art-Post">`


There is a great video showing you step-by-step how to do this at:

www . positivebusinessonline . com/remove-comments-are-closed.

It worked a treat for me. Hope this helps.

juggledad Dec 14, 2009 05:45 AM

While the suggestion by sebatombs will work, it's like taking a sledge hammer to drive in a thumbtack.
It will work, but for each WordPress upgrade you will have to reapply the fix.

Flynn's suggestion will do the same thing via the Atahualpa Theme options and the change will carry forward thru both WordPress and Atahualpa upgrades.


All times are GMT -6. The time now is 05:23 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.