Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Removing emailaddres from Review overview
- This topic has 16 replies, 2 voices, and was last updated 2 years ago by
Arvin Singh.
- AuthorPosts
- March 30, 2020 at 2:12 am #113948
Arvin Singh
Participanta
- March 30, 2020 at 2:19 am #113951
Arvin Singh
Participantb
- March 30, 2020 at 6:30 pm #114076
Molay Das
KeymasterHi,
Can you please explain a bit more about your requirement? It’ll be great if you can share a screenshot of the section as well.
Thanks,
- April 1, 2020 at 2:11 am #114384
Arvin Singh
Participantc
Attachments:
You must be logged in to view attached files. - April 2, 2020 at 2:41 am #114590
Arvin Singh
ParticipantCould you open the attachment on the last message? This forum is giving me a hard time.
- April 2, 2020 at 6:29 pm #114727
- April 3, 2020 at 2:39 am #114909
Arvin Singh
ParticipantYes, that’s exactly the one we would like to remove from the overview.
- April 4, 2020 at 6:09 pm #115343
Arvin Singh
ParticipantHello, did you receive the last message? How do we proceed on removing that address?
- April 16, 2020 at 2:50 am #119558
Arvin Singh
ParticipantHi, any chance that my question will be answered anywhere soon? Thanks!
- April 16, 2020 at 5:28 pm #119756
Molay Das
KeymasterHi,
Please go by the following steps:
1) First create a js file named “custom-script.js” and put it inside the “js” folder (if you don’t have a “js” folder then create it) of your child theme.
2) Add the below code to your newly created “custom-script.js” file.jQuery( document ).ready( function( $ ) { setTimeout(function(){ $(".wcfmmp-author-meta").each(function() { var content = $(this).html(); $(this).html(content.substr(0,content.indexOf('<br>'))); }); }, 900); });
3) Add the below code to your child theme’s functions.php file.
add_action( 'wp_enqueue_scripts', 'custo_scripts_enqueue_styles', 99999 ); function custo_scripts_enqueue_styles() { wp_enqueue_script( 'custom-script', get_stylesheet_directory_uri() . '/js/custom-script.js', array( 'jquery' ), '1.0', true ); }
It will remove the customer email from review list.
Thanks,
- April 16, 2020 at 7:45 pm #119800
Arvin Singh
ParticipantHi,
thanks. But it doesn’t work. The mailaddress still shows.
- April 16, 2020 at 8:30 pm #119825
Molay Das
KeymasterHi,
Can you please share us your website admin login details?
Please send it as private reply here.Thanks,
- April 16, 2020 at 9:02 pm #119841
Arvin Singh
ParticipantThis reply has been marked as private. - April 17, 2020 at 8:35 pm #120091
Arvin Singh
ParticipantDid you manage to have a look at the admin login?
- April 21, 2020 at 1:08 am #121151
Arvin Singh
ParticipantAnything? It looks like quite a simple procedure but already waiting 3 weeks to resolve it. Please help us along so we can get going.
- April 21, 2020 at 11:32 am #121248
Molay Das
KeymasterHi,
Needed to replace the custom-script.js file code with the below given code.
jQuery( document ).ready( function( $ ) { setTimeout(function(){ $(".wcfmmp-author-meta").each(function() { var content = $(this).html(); $(this).html(content.substr(0,content.indexOf('<br>'))); }); }, 1500); });
No need to do it for your site as I replaced it already. It’s working now.
Thanks,
- April 21, 2020 at 7:52 pm #121410
Arvin Singh
ParticipantThanks, awesome!
- AuthorPosts
- You must be logged in to reply to this topic.