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.


All times are GMT -6. The time now is 08:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.