Welcome! To use this support forum, please Login or Join Today!

   

Comments not showing up?

{name}
Rank

Total Posts: 5

Joined 2011-05-10

PM

 
Hi,

I am having a problem getting comments to actually show up on the page. Actually they are track backs but all that is showing is the number of comments but nothing else.

http://www.discoveringpeace.com/the-abraham-hicks-emotional-guidance-scale.html

When I change out to another of your themes, the same thing happens.

Any help in getting them to show up would be greatly appreciated.

Thanks,
Vickie
{name}
RankRankRankRank

Total Posts: 2858

Joined 2011-04-27

PM

 
Probably a dumb question, but do you have comments enabled for the post?

Your comments should show up like so:
http://demos.simplethemes.com/elated/transcending-css.html#comments

Feel free to PM me your wp-admin info and I'll take a look if you'd like.
{name}
Rank

Total Posts: 5

Joined 2011-05-10

PM

 
Yes the options are set to allow both pings and comments.


It is printing out the stuff between the h2 tags but isn't printing anything for the wp_list_comments.
{name}
RankRankRankRank

Total Posts: 2858

Joined 2011-04-27

PM

 
That's very strange. I've tried to reproduce the error in both Pages and Posts without success. Have the single.php or page.php templates been changed?
{name}
Rank

Total Posts: 5

Joined 2011-05-10

PM

 
I thought that as well so I unzipped the template again and reuploaded it. I will pm you log in info.
{name}
RankRankRankRank

Total Posts: 2858

Joined 2011-04-27

PM

 
PM Received, thanks. I looked into it and I was able to post a comment both as a guest and as admin and they did in fact show up, so at least we know comments aren't broken.

I believe the reason this page is displaying an incorrect comment count "3 comments" is because it isn't properly separating pingbacks from comments. There are actually 2 pingbacks and 1 comment for that post.

There is a way to fix this, but it is disabled by default because pingbacks can get ugly. I couldn't get to files outside of the root theme directory via the theme editor, so if you'd like to try replacing wp-content/themes/elated/lib/functions/comments-functions.php with the contents of this code http://pastebin.com/Ti0NMrd0 I think it might fix things.

Please let me know if this helps.
{name}
Rank

Total Posts: 5

Joined 2011-05-10

PM

 
It still is showing 3 comments but just your comment after changing that file. What change was it supposed to make?
{name}
RankRankRankRank

Total Posts: 2858

Joined 2011-04-27

PM

 
I received your PM. Everything should be working as expected now.
Please verify just to be sure.

The problem was that apparently the get_comments_number() function calculates the number of pingbacks and comments.
http://codex.wordpress.org/Template_Tags/get_comments_number

Thanks to this snippet, I was able to override that:
http://snipt.net/flapane/exclude-pingbacks-from-comments-in-wordpress
{name}
Rank

Total Posts: 5

Joined 2011-05-10

PM

 
Thanks so much for your help and excellent customer service. smile Have a great weekend!