Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Forum How-To (http://forum.bytesforall.com/forumdisplay.php?f=9)
-   -   Remove all comment functionality? (http://forum.bytesforall.com/showthread.php?t=959)

blueprairie Mar 25, 2009 10:42 PM

Remove all comment functionality?
I need to remove all comment functionality on a site using Atahualpa. The admin option to turn comments off on pages is working. However, I haven't been able to figure out how to remove the commenting functionality off of posts.


Flynn Mar 26, 2009 05:32 AM

See Site admin -> Discussion -> Allow people to post comments on the article

blueprairie Mar 26, 2009 10:54 AM

Thank you, I hadn't found this page. However, I must still be missing something...

In the Admin, I went to Settings --> Discussion

I cleared any check boxes remotely related to showing commenting, but I still see:

"January 26th, 2009 | Category: Homepage, News | Leave a comment" under the posts and when I click on the post link (either title or Leave a comment link), I see the Leave a Reply form box.


blueprairie Mar 26, 2009 02:01 PM

Ok, I did some searching and testing and I removed the following from index.php. Any reason this would be a problem? It is at least removing the Reply form on the pages.

Now I just need to remove the reference to comments in the post footer. Advice?

Code removed:

<?php // Load Comments template (on single post pages, and "Page" pages, if set on options page)
if ( is_single() OR ( is_page() && $bfa_ata_comments_on_pages == "Yes") ) {
if (function_exists('paged_comments')) {
paged_comments_template(); // If plugin "Paged Comments" is activated, for WP 2.6 and older
} else {
comments_template(); // This will load either legacy comments template (for WP 2.6 and older) or the new standard comments template (for WP 2.7 and newer)
} ?>

blueprairie Mar 26, 2009 02:09 PM

And yet again, your fantastic admin does it all!

I modified the code in Appearance --> Athaulapa Theme Options --> Post/Page Info Items Tab and updated the Post Footer options found at the bottom of the page.


All times are GMT -6. The time now is 07:27 PM.

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