• Resolved wordpressmz

    (@wordpressmz)


    Hi, I wanted to know if there is a option to hide the full or half name of the person who has added the review

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author jgwhite33

    (@jgwhite33)

    You can hide the entire name with this custom CSS added to the review template…

    .wprev_preview_tcolor2_T1 {
    display: none;
    }

    You would need to modify the plugin code to hide half the name. If you want to do that I can send you instructions.

    The Pro version allows you to pick how you want to display the name.

    thanks

    Thread Starter wordpressmz

    (@wordpressmz)

    please send the instruction

    Plugin Author jgwhite33

    (@jgwhite33)

    In the file public\partials\template_style_1.php add the following code before line 79.

    
    $tempreviewername = stripslashes(strip_tags($review->reviewer_name));
    $words = explode(" ", $tempreviewername);
    $tempfirst = $words[0];
    

    Then around 90 replace this…

    echo stripslashes($review->reviewer_name);

    With this….

    echo $tempfirst;

    Keep in mind that this will need to be done again if you update the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Name’ is closed to new replies.