Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
Melvine
tagDiv Member

Hello,

Not a very great function so, in any case for me.

But thank you very much for this clear answer 😉

Best Regards
Melvine

Melvine
tagDiv Member

Hi Edward,
Good Idea, but not a fix for my case, now I have 1 comment lol

Melvine
tagDiv Member

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.

comments

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

Melvine
tagDiv Member

Hi Simion,

No problem, I just wanted to be sure I have downloaded the good last update of your Theme 😉

Thank you very much

Best Regards

Melvine
tagDiv Member

The comments are in WordPress, not a plugin no ?

comments in wordpress
I’am new on wordpress, perhaps I don’t understand the structure an the working process

Melvine
tagDiv Member

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

Melvine
tagDiv Member

Too bad, it will be a great function for this kind of template, more professional.
But thanks you for your answer.

Melvine

Viewing 7 posts - 1 through 7 (of 7 total)