How do I add comments to pages?
Hey Flynn,
I love this theme. The only problem that I am currently having is that I cannot figure out how to add comments on seperate pages, they are only showing up on the main page. I´m not sure if I´m missing something here. Please keep in mind that I´m new to wordpress and don´t know how to write code, etc. Thanks for your help... |
To add comments (the actual comments, if you got any, and the comment form, where readers can submit a comment) to a page, see Atahualpa Theme Options -> Comments -> Allow comments on "Page" pages, too?
To add comment links (links from multi post pages to the comments & comment form on the single post page or "Page" page) below or above posts or "Page" pages, see Atahualpa Theme Options -> Post/Page Info Items. Example: To add a "Leave a comment" link below all posts on multi post pages, add PHP Code:
|
Thanks Flynn, guess I was missing something...
|
I have enabled comments on pages but it seems theme now allows comments on all pages, not just ones I allowed them to.
Each page has flag that sets if comments are allowed on page or not. I have most of pages with disabled comments and some with comments enabled. After I allowed comments in theme options, each page allows comments. Theme should follow page specific settings. |
Yes it should, I am looking into it...
|
Quote:
Sorry, this seems to be my fault. I'd edited the comments.php file so that the comment form appeared above the list of comments but can't have done it correctly. If it's not inappropriate to ask on this post, exactly which bit do I need to move to make this work. |
Flynn, it is this issue that had me turn off comments on all posts and pages. I would like to have them on for some and off for others, but it doesn't work. As a result, I turned off comments and edited the comments.php file to make sure "comments are closed" did not appear per instruction in this thread:
http://forum.bytesforall.com/showthr...=4092#post4092 So I hope you find out what the issue is. thanks Bill |
I'll have this fixed in 3.3.4
|
that will be great, and then I will be down to having only one file edit/addition in your theme, making it very manageable and easily updateable.
Using this theme has kept me away from Drupal, as it make skinning so easy. thanks again for a great theme. |
How can I get the comment box to show all the time. My client and her friends are complaining they don't know where to leave comments
|
WP 2.7.1/Atahualpa 3.3.3
Several things control when the comment form shows up. The default items are 1) Wordpress will not display the comments template if a) not on single post or b) not on a 'page' page, or b) if the post does not allow comments. 2) in addition, Atahualpa will only load the Comments template a) on single post pages, and b) "Page" pages, if set in the ATO->Comments->Allow comments on "Page" pages, too? In order to have the comments form show on the home page, you must make two coding changes 1) Wordpress 2.7.1: edit the module wp-includes/comment-template.php line 805 and change HTML Code:
if ( ! (is_single() || is_page() || $withcomments) ) HTML Code:
if ( ! (is_home() || is_single() || is_page() || $withcomments) ) HTML Code:
if ( is_single() OR ( is_page() AND $bfa_ata['comments_on_pages'] == "Yes") ) { HTML Code:
if ( is_home() OR is_single() OR ( is_page() AND $bfa_ata['comments_on_pages'] == "Yes") ) { |
Thank you, but I am in WP 2.8 and I cannot find the first change you suggested.
I did change the 2nd one but of course it still is not working. |
in WP 2.8 it's line 813
the module is not in the atahualpa theme it is part of wordpress so look in your wordpress_folder/wp-includes/comment-template.php The atahualpa code is in wordpress_folder/wp-contents/themes/... |
i'm having a similar issue. i am using wp 2.8 which i changed the code. but i'm using atahualpa 3.4.1 so which line do i change that code on?
thanks http://www.suevittner.com |
In 3.4.2 it is line 273
in 3.4.1 it is line 270 in 3.4 it is line 268 |
thanks for this code change.
i was wondering if you know if disqus plugin works with atahaulpa theme and if commentluv plugin works with it. thanks! www.suevittner.com |
Commentluv should, it is even prepared for it. I've also seen sites with Atahualpa and Disqus
|
Hi,
I added your suggested code for comments but my my readers are telling me they can only add one comment. I need unlimited number I also cannot reply, not sure if I have the correct code in your admin. I would like to allow comments, allow replys. Can you give me the code that will allow comments and always remain open for more? Thanks Liz |
But how do I add a reply to the comment?
|
make sure you have nested comments set - dashboard->settings->discussions-> Enable threaded (nested) comments ___ levels deep set to more than 1. Then the word 'Reply' should show up after the date for each comment that has been made
|
Will this code help my comments from showing that comments are closed. I see the form on some post but not all of my post. I have everything checked off like you suggested but some of the post are showing comments closed when the title is clicked and taken to single post page.
Example: see Vogue: The September Issue post, third post on my website. |
dee, what is your url?
|
|
Have you made sure that for this post, the comments are NOT closed?
Dashboard->Posts->Edit->Discussion->Allow comments on this post |
Yes..I have check off to show post and pages.
|
so what did you do, now the comment form is showing up on the Vogue: The September Issue
|
I made the suggested changes and home page and now entire WP site return a blank page. Can't get to dashboard. This remains after reversing changes.
WP 2.8 + (latest update, yesterday); Atahualpa 3.4.2 I've checked in with web host to no avial. They suggest deleting theme from file. Suggestions? Scott |
Remove atahualpa theme and you should go back to the default theme. Then you can reinstall atahialpa
|
Quote:
Any update to this, Flynn or juggledad? This is crucial to my new site so I would appreciate any help to make this work. I have comments enabled on pages under ATO Comments, but I don't want comments on all pages. The "Allow comments on page?" box under page settings does not work. Right now I have comment boxes on all pages. I'm running 3.4.2. How can I fix this to allow comments only on the pages I specify? |
That worked, thank you.
I'm back to my original problem: "comments are closed" at the bottom of my pages. Someone was able to leave a comment on one page - I don't know how. This doesn't seem to be theme dependent I see now as the default theme showed that also. I've gone over the WP settings in discussion and posts. Will search codex but if you've run into this or can suggest a setting I may have overlooked, I'd appreciate it. Scott |
I've spent some time searching the WP.org forums. I've found the issue raised several times but none resolved. Example: http://wordpress.org/support/topic/258518?replies=6. So I'm back hoping...
Scott |
I've just tested this in 3.4.2 on a plain vanilla install - page comments work but...
In order to leave comments on a page there are two things that must be done 1) ATO->Style & configure COMMENTS->Allow comments on "Page" pages, too? must be set to YES 2) dashboard->Pages->Edit->page-you-want->Discuession->Allow Comments - must be checked |
Quote:
|
With the plain vanilla Atahualpa 3.4.2, I only can add comments to pages that have the 'allow comments' checkbox set. For pages that do not have it set, I get 'Comments are closed.'
1) have you made any code changes? 2) have you tried it with all plugins disabled? |
I have not made any code changes regarding comments, only some code in header_config.
I will disable all my plugins and see if that helps. EDIT: Disabling the Disqus plugin enables everything as it should be. Thanks for the helpful advice! Now I just need to figure out how to get Disqus to work, as it is a great system IMO. Anyone know how I can integrate Disqus successfully? |
Quote:
Only code changes are the ones described earlier which were reversed before deleting theme and reloading it. Scott |
scott1137
Not sure what your issue is. Can you start a new thread and discribe it. It seems this thread has morphed from issue to issue depending on the user. I'm just not clear on what your issue is.:o |
|
Is this problem solved? I'm running 3.4.4 and still having this problem.
Not more than one comment is posible on a page -( Pls help |
to get this to work, see post#36 in http://forum.bytesforall.com/showthread.php?t=5031
|
All times are GMT -6. The time now is 11:22 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.