CommunityCategory: SIP Reviews Shortcode for WooCommerceIs it possible to add to the "verified customer" a custom badge/icon?
Rene Ulrich asked 5 months ago

Hello, is it possible to modify the source code to add a custom logo next to the “verified customer” text? For example such a icon
If you could help me, that would be really cool, as i just bought the pro version. It would even help, if you tell me which file i have to modify?
Best regards

3 Answers
Hafiz Muhammad Usman Staff answered 5 months ago

Hi Rene Ulrich,
Please let me know in which style you want to add that icon.

Rene Ulrich replied 5 months ago

Hello Hafiz,
something like that, inbetween the name and the ‘verified customer’ text like on this edited picture: https://imgur.com/a/aRaX3wp

Rene Ulrich answered 5 months ago

Hello Hafiz,
something like that, inbetween the name and the ‘verified customer’ text like on this edited picture: https://imgur.com/a/aRaX3wp

Hafiz Muhammad Usman Staff replied 5 months ago

ok, i will let you know how you can change it.

Hafiz Muhammad Usman Staff answered 5 months ago

Hi Rene Ulrich,
Please open that file in text editor,

wp-content/plugins/sip-reviews-shortcode-pro-woocommerce/public/partials/plugin-reviews-shortcode-carousel-style-display.php

and fine the given below code in that file

$verified_customer = ' <em class="verified">'.__('(verified customer)' , 'sip-reviews-shortcode').'</em>';

and replace that with

$verified_customer = ' <img width="15" height="16" src="'.SIP_RSWC_URL.'public/img/verified.png" class="srswc-author-img" alt="verified customer"/>';