Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   How do I add comments to pages? (http://forum.bytesforall.com/showthread.php?t=594)

Bjones Mar 1, 2009 07:24 AM

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...

Flynn Mar 1, 2009 11:12 AM

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

Bjones Mar 1, 2009 09:56 PM

Thanks Flynn, guess I was missing something...

pedja Apr 28, 2009 03: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.

Flynn May 5, 2009 06:09 PM

Yes it should, I am looking into it...

nikkidev May 13, 2009 12:01 PM

Quote:

Originally Posted by Flynn (Post 2356)
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.

bcorrigan May 13, 2009 02: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

Flynn May 13, 2009 05:46 PM

I'll have this fixed in 3.3.4

bcorrigan May 14, 2009 01: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.

ngb222 Jul 8, 2009 08: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

juggledad Jul 9, 2009 04:45 AM

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.

ngb222 Jul 9, 2009 03: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.

juggledad Jul 9, 2009 04:14 PM

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/...

svittner Jul 12, 2009 07: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

juggledad Jul 13, 2009 03:50 AM

In 3.4.2 it is line 273
in 3.4.1 it is line 270
in 3.4 it is line 268

svittner Jul 16, 2009 11:04 AM

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

Flynn Jul 16, 2009 05:17 PM

Commentluv should, it is even prepared for it. I've also seen sites with Atahualpa and Disqus

rpulse Jul 17, 2009 01: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

rpulse Jul 17, 2009 03:32 PM

But how do I add a reply to the comment?

juggledad Jul 23, 2009 04:35 AM

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

dee Jul 23, 2009 05:33 AM

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.

juggledad Jul 23, 2009 05:47 AM

dee, what is your url?

dee Jul 23, 2009 06:17 AM

http://thephotographer4you.com

juggledad Jul 23, 2009 07:35 AM

Have you made sure that for this post, the comments are NOT closed?
Dashboard->Posts->Edit->Discussion->Allow comments on this post

dee Jul 23, 2009 08:06 AM

Yes..I have check off to show post and pages.

juggledad Jul 23, 2009 10:12 AM

so what did you do, now the comment form is showing up on the Vogue: The September Issue

scott1137 Aug 5, 2009 12:36 PM

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

juggledad Aug 5, 2009 08:02 PM

Remove atahualpa theme and you should go back to the default theme. Then you can reinstall atahialpa

Wimbledon Aug 5, 2009 09:25 PM

Quote:

Originally Posted by pedja (Post 5709)
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.

I am having the same problem as pedja.

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?

scott1137 Aug 5, 2009 09:34 PM

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

scott1137 Aug 5, 2009 10:06 PM

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

juggledad Aug 6, 2009 04:15 AM

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

Wimbledon Aug 6, 2009 06:08 AM

Quote:

Originally Posted by juggledad (Post 12018)
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 hhere 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

Unless pedja and I are doing something wrong however, this places comments on ALL pages and does not allow you to restrict certain pages under individual page settings. :confused:

juggledad Aug 6, 2009 06:17 AM

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?

Wimbledon Aug 6, 2009 06:35 AM

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?

scott1137 Aug 6, 2009 09:00 AM

Quote:

Originally Posted by juggledad (Post 12018)
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 hhere 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

These have been selected as described all along. Just now I deactivated all my plugins and no change: "comments are closed" at the bottom of all pages but the contact page where a comment had been left a week or so ago.

Only code changes are the ones described earlier which were reversed before deleting theme and reloading it.

Scott

juggledad Aug 6, 2009 10:28 AM

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

scott1137 Aug 6, 2009 11:17 AM

Started new thread:
http://forum.bytesforall.com/showthr...2058#post12058
Scott

ideefixx Jan 2, 2010 10:50 AM

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

juggledad Jan 2, 2010 12:32 PM

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.