Hello Dear Team,
There is a little problem on the profil page
On my profil page I can read 0 comment, but I have at least 200 comments, where is the problem ( please see the picture below)

I’m working on localhost currently
Thank you for your help
Best Regards
Melvine
Hi Chris,
Thank you very much for your quick answer.
There is no plugin I think . The comments have been transfer from Joomla in WordPress with the component FG Joomla To WordPress Premium ( here the link : https://www.fredericgilles.net/fr/fg-joomla-to-wordpress/).
Best Regards
Melvine
Hi,
I believe that if the comments are imported properly in the database they should be displayed
– https://www.screencast.com/t/Bmtzqj3T
We have not made any tests in this matter, I couldn’t say what would be the issue. Maybe some other users can provide some of their experience, if they have done this before.
Thanks
Hi,
I think the problem come from your theme, sorry
If I try to make some modifs on the file :
\wp-content\themes\Newspaper\parts\page-author-box.php
ligne 25
$comment_count = $wpdb->get_var($wpdb->prepare(“SELECT COUNT(*) AS total FROM $wpdb->comments WHERE comment_approved = 1 AND user_id = %d”, $part_cur_auth_obj->ID));
for example replace this part
$part_cur_auth_obj->ID
by
$part_cur_auth_obj->user_url
I have a number of comments who is displaying.

But not the good number, it’s the number of all the comments of the registered members. Me normally I have 235 comments in my profil.
Thank you very much
Best Regards
Try this method:
1. Revert all changes in files back.
2. Login in your site.
3. Write test comment.
4. Check counter of your comments again.
Another words: You have to post comments while being logged in as an author for the theme to detect the author’s comments.
Hello,
unfortunately the theme cannot count comments you previously had on other themes. This also applies to views. Sorry but the theme can only count comments that are created wile the theme is active. It is a theme comment count and it will not keep counting when the theme is off or other comments pulled from other themes.
Thank you for your understanding.
