Current User: Guest
Please consider registering


Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Removing Comment Block on static page

Unresolved
No Tags
UserPost

7:51 pm
March 7, 2010


Soni

Guest

 
1

How do I remove the comment block at the bottom of the page? For static pages, I just want content and no comments/blog.

8:32 am
March 8, 2010


Jeremy Clark

Admin

posts 223

 
2

If you look in the page.php file for this code and comment it out then comments will not show up.

<?php comments_template();
?>

Comment it out like this.

<?php // comments_template();
?>

Please Consider Donating securely with PayPal
Support my further development of Techozoic.

8:37 pm
March 9, 2010


Soni

Guest

 
3

I edited page.php as you suggested. It got rid of the comment block, but it also removed the white content/sidebar area and background green color shows up… and the right sidebar became misaligned (moved left to the content area). I would like to keep the white page layout and sidebars where they are and just remove the comment block. Please let me know how.

10:49 pm
March 9, 2010


Jeremy Clark

Admin

posts 223

 
4

Ok I see the problem I've fixed this in the upcoming 1.8.5 release which should be available soon, but if you edit the page.php file again and put this.

<?php // comments_template(); ?>
</div>

Make sure to add the closing div tag as that is the problem.

Please Consider Donating securely with PayPal
Support my further development of Techozoic.

Unresolved
No Tags


Reply to Topic:
Removing Comment Block on static page

Please include the version number of theme that your asking about. As well as a link to the website where the problem is happening if applicable. Thank you.

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
8 + 5
   


Unresolved



About the Jeremy Clark – TechNet.com forum

Most Users Ever Online: 39

Currently Online:
3 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 3
Topics: 132
Posts: 520

Membership:

There are 63 Members
There have been 46 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

BartC – 18
Heather – 15
manicolaus – 15
SarahM – 13
demoondoggie – 12
SpartacusB – 10

Recent New Members: dohare01, eslucky, Frederic, Nod, BartC, mattmossop