Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 10-26-2009, 01:26 PM   #1
HyperActive Warrior
War Room Member
 
Alex Taylor's Avatar
 
Join Date: Mar 2009
Location: England
Posts: 476
Thanks: 30
Thanked 60 Times in 48 Posts
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 offline   Reply With Quote
Old 10-26-2009, 01:31 PM   #2
The Young Gun
War Room Member
 
Christian Sawyer's Avatar
 
Join Date: Jan 2009
Location: South Carolina
Posts: 689
Thanks: 54
Thanked 88 Times in 64 Posts
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 offline   Reply With Quote
Old 10-26-2009, 01:36 PM   #3
Watching you...
War Room Member
 
Istvan Horvath's Avatar
 
Join Date: Dec 2008
Location: Waterdown, Ontario, Canada
Posts: 5,963
Blog Entries: 2
Thanks: 1,574
Thanked 2,712 Times in 1,651 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Istvan Horvath
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

In the first half of the year we are supposed to work for the taxman. I think that's a mistake.
Help me to get rid of the taxman ASAP - thanks! (You, too, should make less mistakes!)


Istvan Horvath is offline   Reply With Quote
Old 10-26-2009, 01:46 PM   #4
HyperActive Warrior
War Room Member
 
Alex Taylor's Avatar
 
Join Date: Mar 2009
Location: England
Posts: 476
Thanks: 30
Thanked 60 Times in 48 Posts
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 offline   Reply With Quote
Old 10-26-2009, 01:51 PM   #5
The Young Gun
War Room Member
 
Christian Sawyer's Avatar
 
Join Date: Jan 2009
Location: South Carolina
Posts: 689
Thanks: 54
Thanked 88 Times in 64 Posts
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 offline   Reply With Quote
Old 10-26-2009, 02:09 PM   #6
HyperActive Warrior
War Room Member
 
Alex Taylor's Avatar
 
Join Date: Mar 2009
Location: England
Posts: 476
Thanks: 30
Thanked 60 Times in 48 Posts
Default Re: Comment On Wordpress Pages?

Thanks, Christian!

Alex Taylor is offline   Reply With Quote
Old 10-26-2009, 02:19 PM   #7
The Young Gun
War Room Member
 
Christian Sawyer's Avatar
 
Join Date: Jan 2009
Location: South Carolina
Posts: 689
Thanks: 54
Thanked 88 Times in 64 Posts
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 offline   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 10:06 AM.