Getting rid of comments apps on all pages?

Getting rid of comments apps on all pages?

Postby drdiana » Fri Jan 15, 2010 1:40 pm

Hello again Mina,
Thanks so much for the Daily Minefield website. Eventually, I will get it wired. I want disable all the comment coding etc.. on my entire website. In otherwords, I am not allowing any comments at all on this webpage aside from the contact form. I started to delete first on the comment section... Now all pages have a the footer heading... parse error syntax error T-ENDIF. I'm pretty sure I need to get rid of all comment codes everywhere, but I don't want to make it more of a mess than it has become. Thanks again for your help. Sincerely, Diana
Last edited by drdiana on Mon Feb 01, 2010 9:44 pm, edited 1 time in total.
drdiana
 
Posts: 12
Joined: Wed Jan 06, 2010 12:57 pm

Re: Getting rid of comments apps on all pages?

Postby Mina » Fri Jan 15, 2010 4:51 pm

I had done a little server housecleaning a while back and accidentally deleted the old forums database...not a very smart thing to do. :roll: I thought I had removed all the links to it but I guess I missed this one. Thanks for bringing it to my attention, I've deleted the post.

Okay now, the first thing you'll need to do is to upload a new copy of the page.php template to get rid of that error (also any others where you tried to remove the comments code).

Then go into Admin >> Appearances >> Editor >> page.php (your new copy) and find then delete just this section (3 lines):
  Code:
<div class="comments-template">
<?php comments_template(); ?>
</div>

You'll also need to do this to archive.php and no_sidebar.php.

Then in single.php find and remove this single line:
  Code:
<?php comments_template(); ?>
User avatar
Mina
Cloisters Mama
 
Posts: 364
Joined: Fri Aug 14, 2009 8:42 pm

Re: Getting rid of comments apps on all pages?

Postby drdiana » Sat Jan 16, 2010 7:49 am

Thanks Mina once again for your time and efforts. Good thing I stopped deleting.... I sent you an email regarding making donations please check. Thanks, Diana
drdiana
 
Posts: 12
Joined: Wed Jan 06, 2010 12:57 pm

Re: Getting rid of comments apps on all pages?

Postby Mina » Sat Jan 16, 2010 11:11 pm

No problem!

I saw the email the other day and responded. I appreciate the thought but as of right now I only use paypal for what's probably considered to be strange reasons. :lol:
User avatar
Mina
Cloisters Mama
 
Posts: 364
Joined: Fri Aug 14, 2009 8:42 pm

Re: Getting rid of comments apps on all pages?

Postby drdiana » Sun Jan 17, 2010 10:18 am

Hello Mina, I did not see an email from you regarding donating. I'll find a way to donate. Thanks again Diana.
drdiana
 
Posts: 12
Joined: Wed Jan 06, 2010 12:57 pm


Return to Daily Minefield

Who is online

Users browsing this forum: No registered users and 1 guest

cron