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 4 years ago by Arvin Singh.
- AuthorPosts
- March 30, 2020 at 2:12 am #113948Arvin SinghParticipant
a
- March 30, 2020 at 2:19 am #113951Arvin SinghParticipant
b
- March 30, 2020 at 6:30 pm #114076Molay DasKeymaster
Hi,
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 #114384Arvin SinghParticipant
c
Attachments:
You must be logged in to view attached files. - April 2, 2020 at 2:41 am #114590Arvin SinghParticipant
Could 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 #114909Arvin SinghParticipant
Yes, that’s exactly the one we would like to remove from the overview.
- April 4, 2020 at 6:09 pm #115343Arvin SinghParticipant
Hello, did you receive the last message? How do we proceed on removing that address?
- April 16, 2020 at 2:50 am #119558Arvin SinghParticipant
Hi, any chance that my question will be answered anywhere soon? Thanks!
- April 16, 2020 at 5:28 pm #119756Molay DasKeymaster
Hi,
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 #119800Arvin SinghParticipant
Hi,
thanks. But it doesn’t work. The mailaddress still shows.
- April 16, 2020 at 8:30 pm #119825Molay DasKeymaster
Hi,
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 #119841Arvin SinghParticipantThis reply has been marked as private.
- April 17, 2020 at 8:35 pm #120091Arvin SinghParticipant
Did you manage to have a look at the admin login?
- April 21, 2020 at 1:08 am #121151Arvin SinghParticipant
Anything? 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 #121248Molay DasKeymaster
Hi,
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 #121410Arvin SinghParticipant
Thanks, awesome!
- AuthorPosts
- You must be logged in to reply to this topic.