StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Turning off Comments (http://www.studiopress.com/support/showthread.php?t=727)

thelv36 11-13-2008 09:30 AM

Turning off Comments
 
Is there a way to turn off comments through out this theme. Doing a sort of static page by using categories and I do not want any comments?

Thank you in advance.

Craig Tuller 11-13-2008 09:40 AM

Re: Turning off Comments
 
Open index.php and remove this section of code:
Code:

                                <div class="dateright">
                                       

<span class="comment">Leave a comment</span></p>
                                </div>

and remove
Code:

                <div class="comments">
       
                        <h4>Comments</h4>
                        <?php comments_template(); // Get wp-comments.php template ?>
                       
                </div>

And to cover all bases...
Go to your admin panel ... Settings > Discussion ... check all on 'Before a comment appears'

thelv36 11-13-2008 10:09 AM

Re: Turning off Comments
 
Thanks, that worked perfectly.

Les


All times are GMT -5. The time now is 01:49 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.