Home › Forums › WoodMart support forum › how i can hidden name in testimonials
how i can hidden name in testimonials
- This topic has 9 replies, 2 voices, and was last updated 1 year, 11 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
December 21, 2022 at 10:38 am #430333
wadeakhParticipantHi
I want to hide the name of testimonials like the picture
Please see it
see only the first and last letter >> (W****k)Attachments:
You must be logged in to view attached files.December 21, 2022 at 4:22 pm #430450
Aizaz Imtiaz AwanKeymasterHello,
Can you please share the exact Page URL with us on which it is appearing on your Site? So that we can check and assist you accordingly.
Best Regards
December 21, 2022 at 5:12 pm #430458
wadeakhParticipantThis image its on aliexpress
I want to do in my website reveiwsI try this code
See the url
https://stackoverflow.com/questions/62473837/change-review-author-name-to-first-and-last-letters-only-with-asterisks-between/62475569#62475569Its work but they see Anonymous not like w****y
December 22, 2022 at 10:09 am #430601
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say but your concern is specifically related to Customization work and this is beyond our limitations and support policy scope. Hope you can understand our limitations.
But if we can help out in hiding something with Custom CSS in this regard then we surely can do that. So, if there is something that you want to hide in this regard then kindly specifically mention that along with the Page URL on which they are currently added so that we can look after this and assist you accordingly.
Best Regards
December 22, 2022 at 11:03 am #430616
wadeakhParticipantThis option I would recommend that you make such an option on the website
everything is fine i will do it myself don’t worry
If you want at the end I can send you a code to update the template will be an option
Because I have not seen it in any form and there is a requirement for itDecember 22, 2022 at 12:27 pm #430652
Aizaz Imtiaz AwanKeymasterHello,
We are glad to hear that you are capable enough to manage the issue yourself. You are Great 👍
You can share the Code here (it might help others – if they want) and we will forward this to our Development Department for consideration to add it in the Theme, but we are not giving you the guarantee for that because please note that a Theme cannot satisfy all requirements as it may cause Theme heaviness. Sometimes it may require your own Customization. So if the development department finds it fit with the Theme environment then surely they will look through it in the upcoming Theme Updates.
Thanks for your understanding.
Best Regards
December 22, 2022 at 1:08 pm #430677
wadeakhParticipantSure
Only i want to get this php file
Where the file of the reviews on product?
Can help me about this?December 22, 2022 at 3:59 pm #430726
Aizaz Imtiaz AwanKeymasterHello,
There are multiple Theme files related to Reviews, but there is major file that you can check which has the following location:
wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php
In this file, from Line Number 1035 the Review template starts.
Hope this helps !
Best Regards
December 23, 2022 at 3:10 am #430856
wadeakhParticipanthii
Please ask your development why it’s not working? what is missing in the code ?
why not work ?
i try with online code test its work, i changes the comment_author() -> to sample test
see url
https://onlinephp.io/c/980b8eb7-e516-4cff-8a7c-08921c76e161<p class=”meta”>
<strong class=”woocommerce-review__author”>
<?php
$username = comment_author();
$len = strlen($username);
if ($len >= 2)
echo $username[0] . str_repeat(“*”, $len – 2) . $username[$len – 1];
else
echo $username;?>
December 23, 2022 at 10:20 am #430890
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say but unfortunately we can’t help you out with this question because such Customizations are out of our Theme Support policy scope. Hope you can understand our limitations in this regard.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register