|
#1
Mar 4, 2012, 09:28 AM
|
|
Underneath my posts (on the "Posts" page) there is an indicator of how many comments there are but i would like the actual comments to display.
I have tried adding <?php $withcomments = 1; ?> to the top section of "The Loop" and also have removed <p>Comments are closed.</p> from the "Comments are closed text" option. This is not a caching issue.
My sites mostly aren't designed for comments but this one is so this is new territory for me - any suggestions?
Thanks
Thomas
__________________
Hotels-Onsale.com - The Latest Breaking Discounted Hotel Rates on Over 118,000 Hotels Along With Thousands of Traveler Reviews
|
#2
Mar 4, 2012, 12:54 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
what is the site and a url pointing to a page where you are having the issue
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3
Mar 4, 2012, 02:47 PM
|
|
__________________
Hotels-Onsale.com - The Latest Breaking Discounted Hotel Rates on Over 118,000 Hotels Along With Thousands of Traveler Reviews
|
#4
Mar 4, 2012, 03:03 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Comments display on the 'single post' pages not the blog page - which is what your home page is. If you display one of the posts you WILL see al teh comments.
Now do you want to display the comments on the 'blog' page? This can cause a performance hit on the site if there are lots of comments. However if you want to do it, do a search ther the forums. I seem to remember Flynn (the theme author) giving instructions how to do it. If you can find the thread and it needs updating I can take a look at it.
You could also do a google search and see if you can find a plugin to do this.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#5
Oct 13, 2012, 05:12 PM
|
|
I've been searching the forums and I can't find out how I get the comments to show instead of the link. e.g. One Comment.
|
#6
Oct 26, 2012, 05:19 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
not sure I understand. Where are you talking about? on a single post page, multi post page? did you look thru the 'Edit POST/PAGE INFO ITEMS' options?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#7
Oct 26, 2012, 11:05 AM
|
|
I've created a page, posted a post to it, and am allowing comments, so I suppose single-post page.
Using the 'page links to' plug-in, I copied the URL that appears when you mouse-over the Comments link and entered that into the alternate URL field.
I did look through the Edit POST?PAGE INFO ITEMS options, but couldn't figure it out.
The page displayed '1 comment' and that was a link. When clicked, the comment appeared at the bottom of the page. I was trying to get the comments to appear automatically, without having to click on a link.
I've implemented a work-around, but I'd still like to know how to get comments to appear without having to click on a link.
Thanks!
Cameron
|
#8
Oct 26, 2012, 11:43 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
When you say you created a page and posted a post to it, do you mean you created a page and added text to it via dashboard->page or dashboard->post
Pages and posts are different
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#9
Oct 26, 2012, 11:46 AM
|
|
I created a page, told Wordpress to put posts on that page under Settings > Reading. I then created a Post and turned comments on.
|
#10
Oct 26, 2012, 01:17 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
ok, so you create a page called 'X' and told WP that is the blog page. Now when you select 'X' you see the posts and under each post is a footer that says 'one comment' or something like that and it takes you to the single post page where you see all the comments.
but you want all teh comments to show on the blog page. Is that correct?
If that is the case you need to edit index.php and change line 34 (version 3.7.9) from
HTML Code:
<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>
to
HTML Code:
<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>
<?php $withcomments = 1; comments_template(); ?>
and change line 44 from
HTML Code:
<?php bfa_get_comments(); // Load Comments template (on single post pages, and static pages, if set on options page): ?>
to
HTML Code:
<?php // bfa_get_comments(); // Load Comments template (on single post pages, and static pages, if set on options 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; Oct 26, 2012 at 01:32 PM.
|
#11
Oct 26, 2012, 01:31 PM
|
|
Correct. Again, I've implemented a work-around, but I'd like to know how to properly get the comments to show without clicking on a link or implementing my work-around.
|
|