Hi,
Thank you for contacting us.
Adding single reviews with an anonymous name or multiple review with available anonymous names for products are working as expected in my check.
Can you show your settings and the front end result after creating a virtual review? It is more practical by a video.
Best regards.
Dear Mivtt,
Please see the result on this test page:
https://tst.greenmed.sk/produkt/cbd-pre-zvierata/cbd-konopny-olej-pre-macky/
The review is displayed as anonymous but it actually has a name in the backend.
Please, let me know, whether you need more information.
Thank you.
Dear Mivtt,
I am enclosing the list of reviews for the product and a comparison between a real review and virtual review (the “real” review is being displayed with a name):
https://pasteboard.co/K8JILbI4.png
https://pasteboard.co/K8JIGkP.png
However, I remembered that I have the following in functions.php:
add_filter('get_comment_author', 'my_comment_author', 10, 1);
function my_comment_author( $author = '' ) {
$comment = get_comment( $comment_ID );
if (!empty($comment->comment_author) ) {
if($comment->user_id > 0){
$user=get_userdata($comment->user_id);
$author=$user->first_name.' '.substr($user->last_name,0,1).'.';
} else {
$author = __('Anonymous');
}
} else {
$author = $comment->comment_author;
}
return $author;
}
This is to ensure that in case of reviews, only the first name and the initial of the last name is displayed to protect the privacy of buyers (otherwise, the full name would be displayed by default – unless the user changes the display name).
When I commented it out, now the name entered in the virtual reviews is showing.
So I thought – maybe your plugin inputs the whole name as the last name? Is there any possibility to make it compatible?
Thank you.
Hi,
We are sorry for missing your topic.
I am not sure what you mean with this word:
The review is displayed as anonymous but it actually has a name in the backend.
Because our plugin simply can create/add virtual manes and displays them on the front end. I am understating your problem that the virtual manes in the backend do not display the same on the front end, right? Please clarify this problem.
Best regards.