![]() |
| ||||||||
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
HyperActive Warrior
Join Date: Mar 2009
Location: England
Posts: 335
Thanks: 22
Thanked 32 Times in 26 Posts
|
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? |
|
|
|
|
|
|
|
|
#2 |
|
Offline Consultant
War Room Member
Join Date: Jan 2009
Location: South Carolina
Posts: 215
Thanks: 8
Thanked 30 Times in 22 Posts
|
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 |
|
|
|
|
|
|
|
|
#3 |
|
Baby Boomer
War Room Member
Join Date: Dec 2008
Location: Canada
Posts: 594
Thanks: 80
Thanked 121 Times in 108 Posts
|
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 |
|
THE PROBLEM: Babyboomers without retirement income (free report)
THE SOLUTION: Digital Pension for every Babyboomer |
|
|
|
|
|
|
#4 |
|
HyperActive Warrior
Join Date: Mar 2009
Location: England
Posts: 335
Thanks: 22
Thanked 32 Times in 26 Posts
|
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. |
|
|
|
|
|
|
|
|
#5 | |
|
Offline Consultant
War Room Member
Join Date: Jan 2009
Location: South Carolina
Posts: 215
Thanks: 8
Thanked 30 Times in 22 Posts
|
Quote:
<?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 | |
|
|
||
|
|
|
| The Following 2 Users Say Thank You to Christian Sawyer For This Useful Post: |
|
|
#6 |
|
HyperActive Warrior
Join Date: Mar 2009
Location: England
Posts: 335
Thanks: 22
Thanked 32 Times in 26 Posts
|
Thanks, Christian!
|
|
|
|
|
|
|
|
|
#7 |
|
Offline Consultant
War Room Member
Join Date: Jan 2009
Location: South Carolina
Posts: 215
Thanks: 8
Thanked 30 Times in 22 Posts
|
Not a problem, good luck with your launch!
-Christian |
|
|
|
|
|
|
![]() |
|
| Tags |
| comment, pages, wordpress |
| Thread Tools | |
|
|
![]() |