| User | Post |
|
9:16 am September 4, 2009
| incliner
| | Lake Tahoe, Nevada | |
| Member | posts 12 | |
|
|
Someone asked this and then removed the request. I can't find where they reposted it.
Is there a way to remove all comment boxes and references? I just want to use the theme for a website without all the blog stuff.
Thanks,
Chuck
PS. I've turned a couple of forums onto flex before and flex2 now, best theme yet.
|
|
|
2:24 pm September 4, 2009
| Ryan
| | |
| Admin
| posts 1523 | |
|
|
You could either turn off comments on a post by post basis, or go into the single.php file and remove the comments function, which looks like this:
<?php comments_template('', true); ?>
Pages also have comments, so do the same in page.php, but also remove the if(comments_open) line immediately above it.
|
|
|
10:13 am September 5, 2009
| gh5649
| | |
| Member | posts 10 | |
|
|
I am also interested on this. I can successfully remove the comments – and the ability to comment.
But – how do I remove the RECENT COMMENTS header in the upper sidebar?
I do by the way – wish to keep the Recent Posts in that same upper sidebar? – -
I can see that I can disable the entire upper sidebar – but wish just to eliminate the Recent Comments…
Thanks
gh
|
|
|
5:56 pm September 5, 2009
| incliner
| | Lake Tahoe, Nevada | |
| Member | posts 12 | |
|
|
Here's what the code looks like in my page.php
<?php if(comments_open()) : ?> <?php comments_template('', true); ?>
When I remove them, I get the following error. Is there just a certain amount of code I'm supposed to remove or all of it?
Parse error: syntax error, unexpected T_ENDIF in /home/incliner/public_html/memory-foam-mattress-store/wp-content/themes/flexibility2/page.php on line 38
Thanks,
Chuck
|
|
|
7:21 am September 9, 2009
| Ryan
| | |
| Admin
| posts 1523 | |
|
|
You are just removing the start of the comments conditional statement. You also need to remove the next line, which is <?php endif; ?>
|
|
|
4:00 pm September 9, 2009
| incliner
| | Lake Tahoe, Nevada | |
| Member | posts 12 | |
|
|
Ryan, thank you for clarifying that for me.
Chuck
|
|
|
4:24 pm December 12, 2009
| KNicholls
| | |
| New Member | posts 1 | |
|
|
I have tried this as well and it just isn't working so I have to be doing something wrong. Sorry for being dense on this one. I also note that if someone tries to use the post comment in the upper right hand corner, it doesn't take them to post something, just takes them to a Yahoo page saying what they were looking for isn't found. Guess I need some help figuring this one out as I've edited these files to no avail. Thanks.
|
|
|
4:23 am July 22, 2010
| KevCC
| | |
| Member | posts 5 | |
|
|
This is what I removed from the Page.php
<?php if(comments_open()) : ?>
<?php comments_template('', true); ?>
<?php endif; ?>
</div>
Seems to have worked ok.
|
|