|
#1
Mar 1, 2009, 08:24 AM
|
|
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...
|
#2
Mar 1, 2009, 12:12 PM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
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:
%comments('Leave a comment', 'One comment', '% comments', 'Comments are closed')%
into the last textarea at the bottom of Atahualpa Theme Options -> Post/Page Info Items, named FOOTER: Multi Post Pages
Last edited by Flynn; Mar 2, 2009 at 04:02 PM.
Reason: "Leave a comment" link below a "Page" page would probably not work. Changed comment link example to "Multi Post Pages"
|
#3
Mar 1, 2009, 10:56 PM
|
|
Thanks Flynn, guess I was missing something...
|
#4
Apr 28, 2009, 04:06 AM
|
|
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.
|
#5
May 5, 2009, 07:09 PM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
Yes it should, I am looking into it...
|
#6
May 13, 2009, 01:01 PM
|
|
Quote:
Originally Posted by Flynn
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?
|
Since using version 3.3.3 and enabling allow comments on Page pages too, the comment box still doesn't turn up on pages and subpages even if allow comments is checked.
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.
Last edited by nikkidev; May 13, 2009 at 03:11 PM.
Reason: Further investigation reveals "bug" is my error
|
#7
May 13, 2009, 03:52 PM
|
|
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
|
#8
May 13, 2009, 06:46 PM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
I'll have this fixed in 3.3.4
|
#9
May 14, 2009, 02:33 PM
|
|
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.
|
#10
Jul 8, 2009, 09:12 PM
|
|
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
|
#11
Jul 9, 2009, 05:45 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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) )
to
HTML Code:
if ( ! (is_home() || is_single() || is_page() || $withcomments) )
2) Atahualpa 3.3.3: edit the module atahualpa333/functions/bfa_post_parts.php line 150 and change
HTML Code:
if ( is_single() OR ( is_page() AND $bfa_ata['comments_on_pages'] == "Yes") ) {
to
HTML Code:
if ( is_home() OR is_single() OR ( is_page() AND $bfa_ata['comments_on_pages'] == "Yes") ) {
NOTE: this will ALWAYS cause a comment form to showup on the home page even if you change to a static page.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Last edited by juggledad; Jul 23, 2009 at 11:08 AM.
|
#12
Jul 9, 2009, 04:03 PM
|
|
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.
|
#13
Jul 9, 2009, 05:14 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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/...
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#14
Jul 12, 2009, 08:16 PM
|
|
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
|
#15
Jul 13, 2009, 04:50 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
In 3.4.2 it is line 273
in 3.4.1 it is line 270
in 3.4 it is line 268
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#16
Jul 16, 2009, 12:04 PM
|
|
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
|
#17
Jul 16, 2009, 06:17 PM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
Commentluv should, it is even prepared for it. I've also seen sites with Atahualpa and Disqus
|
#18
Jul 17, 2009, 02:03 PM
|
|
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
Last edited by rpulse; Jul 17, 2009 at 02:07 PM.
|
#19
Jul 17, 2009, 04:32 PM
|
|
But how do I add a reply to the comment?
|
#20
Jul 23, 2009, 05:35 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#21
Jul 23, 2009, 06:33 AM
|
|
|
14 posts · Jul 2009
Maryland
|
|
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.
|
#22
Jul 23, 2009, 06:47 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
dee, what is your url?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#23
Jul 23, 2009, 07:17 AM
|
|
|
14 posts · Jul 2009
Maryland
|
|
|
#24
Jul 23, 2009, 08:35 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Have you made sure that for this post, the comments are NOT closed?
Dashboard->Posts->Edit->Discussion->Allow comments on this post
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#25
Jul 23, 2009, 09:06 AM
|
|
|
14 posts · Jul 2009
Maryland
|
|
Yes..I have check off to show post and pages.
|
|