War Room

Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Featured Warrior Special Offer...
"Members Of The *War Room* Discover Secrets To Immediate Success!"
Reply
 
LinkBack Thread Tools
Old 10-26-2009, 01:26 PM   #1
HyperActive Warrior
 
Alex Taylor's Avatar
 
Join Date: Mar 2009
Location: England
Posts: 335
Thanks: 22
Thanked 32 Times in 26 Posts
Social Networking View Member's Twitter Profile 
Default Comment On Wordpress Pages?

Hi everyone,

I'm wondering how to make it possible to post comments on a Wordpress page?

When I create a new page, I check the box saying "allow comments," but there's no comment box appearing. Is there a setting somewhere to achieve this, or are comments only allowed on posts?

Alex Taylor is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2009, 01:31 PM   #2
Offline Consultant
War Room Member
 
Christian Sawyer's Avatar
 
Join Date: Jan 2009
Location: South Carolina
Posts: 215
Thanks: 8
Thanked 30 Times in 22 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via AIM to Christian Sawyer Send a message via Yahoo to Christian Sawyer Send a message via Skype™ to Christian Sawyer
Default Re: Comment On Wordpress Pages?

Hi Alex,

This probably has something to do with your theme's page.php.

In this page.php it must call to include the comments and a comment form. This include is probably missing from the page, but don't worry you can add it in.

Feel free to contact me via any of the IM services to the left of this post and I can try to assist you. Preferably Skype or Yahoo IM.

-Christian

Christian Sawyer is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2009, 01:36 PM   #3
Baby Boomer
War Room Member
 
Istvan Horvath's Avatar
 
Join Date: Dec 2008
Location: Canada
Posts: 594
Thanks: 80
Thanked 121 Times in 108 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Default Re: Comment On Wordpress Pages?

It depends on the page template you are using in your theme.
The default Page template in any theme should be named "page.php" (check your theme folder).
No, you can NOT change it with settings, you need to edit the template file(s).

Normally, people don't want comments on Pages like AboutUs or Contact etc. so theme designers by default leave put the call for the comment template.

You can always add it to your page.php - just open your single.php and watch for this line (or similar):
<?php comments_template(); // Get wp-comments.php template ?>
then copy it over into page.php

Note. If you have only one Page Template (page.php) the above line will add the comment form to ALL your WP Pages.
If you want to avoid it, create additional Page template(s) and while writing/editing the Pages select the proper template (with or without comments, as you need them). When you have more than one Page template, the template option will show in your admin panel.

Learn more about creating your own Page templates:
Pages WordPress Codex

Istvan Horvath is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2009, 01:46 PM   #4
HyperActive Warrior
 
Alex Taylor's Avatar
 
Join Date: Mar 2009
Location: England
Posts: 335
Thanks: 22
Thanked 32 Times in 26 Posts
Social Networking View Member's Twitter Profile 
Default Re: Comment On Wordpress Pages?

Thanks for the advice, guys.

Am I looking for a page called "single.php"? I don't see one. Or am I missing something? It would be nice if I can just copy and paste something into my "page.php" file and enable comments.

It's for a launch blog, so this whole set up is only temporary, and I'd really like for comments to be allowed on pages.

Alex Taylor is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2009, 01:51 PM   #5
Offline Consultant
War Room Member
 
Christian Sawyer's Avatar
 
Join Date: Jan 2009
Location: South Carolina
Posts: 215
Thanks: 8
Thanked 30 Times in 22 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via AIM to Christian Sawyer Send a message via Yahoo to Christian Sawyer Send a message via Skype™ to Christian Sawyer
Default Re: Comment On Wordpress Pages?

Quote:
Originally Posted by Alex Taylor View Post
Thanks for the advice, guys.

Am I looking for a page called "single.php"? I don't see one. Or am I missing something? It would be nice if I can just copy and paste something into my "page.php" file and enable comments.

It's for a launch blog, so this whole set up is only temporary, and I'd really like for comments to be allowed on pages.
As stated above, the code to be placed into your page.php file is:

<?php comments_template(); ?>

Be careful as this most likely will need to be put within a div tag.

That should display comments and the comment form as long as your theme has a comments template file.

-Christian

Christian Sawyer is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 2 Users Say Thank You to Christian Sawyer For This Useful Post:
Old 10-26-2009, 02:09 PM   #6
HyperActive Warrior
 
Alex Taylor's Avatar
 
Join Date: Mar 2009
Location: England
Posts: 335
Thanks: 22
Thanked 32 Times in 26 Posts
Social Networking View Member's Twitter Profile 
Default Re: Comment On Wordpress Pages?

Thanks, Christian!

Alex Taylor is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2009, 02:19 PM   #7
Offline Consultant
War Room Member
 
Christian Sawyer's Avatar
 
Join Date: Jan 2009
Location: South Carolina
Posts: 215
Thanks: 8
Thanked 30 Times in 22 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via AIM to Christian Sawyer Send a message via Yahoo to Christian Sawyer Send a message via Skype™ to Christian Sawyer
Default Re: Comment On Wordpress Pages?

Not a problem, good luck with your launch!

-Christian

Christian Sawyer is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
comment, pages, wordpress

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 12:05 PM.