Hello Support,
we have a problem on our blog page (grid view) with the count of comments. Enfold shows 0 comments, but there are two – for example. The problem exists only with activated WPML. Theme, Plugins & WP are up to date.
Best regards
David
Hey DDamjanovic!
This seems to be a bug with WPML. I posted a fix in this thread: https://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);
with
//$commentCount = get_comments_number($the_id);
$commentCount = $entry->comment_count;
Cheers!
Peter
Works, thank you!!!