On our Page we have some Blogpreview on our startpage:
Problem is that if someone commented the blogpost the number below the preview is always buggy and showing the wrong amount.
has someone a hint how to fix this issue
It appears that happens because you need to approve each comment, you can disable that in Settings > Discussion.
I am not sure if this is the solutionof my problem!
Here are my settings of > Disscusion
Maybe i try to explain it once again. The problem is number shows in few cases a “1″ but there is no comment! In other cases it shows “0″ even if there is a comemnt. :-(
I checked all posts on the startpage but I don’t see any comments That is why they are set to “0″.
in the left down corner you have a little navigation with hich you can step to the next row of blog-entries.
So when you click on the “2″ you will see that every blog-entry has “1″ comment.
This is a bug of the WPML plugin. I posted a fix in this thread: http://www.kriesi.at/support/topic/the-post-still-shows-8-comments-when-there-are-none/#post-178386
In /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider.php replace
$commentCount = get_comments_number($the_id);
//$commentCount = get_comments_number($the_id); $commentCount = $entry->comment_count;
and the comment counter should work.
You must be logged in to reply to this topic.