Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WC Marketplace › How to remove SEO Vendor box field?
- This topic has 3 replies, 2 voices, and was last updated 4 years, 7 months ago by Sushobhan.
- AuthorPosts
- March 22, 2020 at 10:10 pm #112698HERMES ALVES SOUZAParticipant
Hi,
How can i remove SEO vender box fields? And reduce the social fields to Instagram and facebook only?
Attachments:
You must be logged in to view attached files. - March 25, 2020 at 12:43 pm #113072SushobhanKeymaster
Hi,
Please use the below code to remove SEO step from store setup:add_filter('wcfmmp_store_setup_steps', function($steps) { unset($steps['seo']); return $steps; }, 20);
To remove all other social media options except fb and insta use this-
add_filter('wcfm_profile_fields_social', function($social_accounts) { $social_accounts = array_intersect_key( $social_accounts, array_flip( [ 'facebook', 'instagram' ] ) ); return $social_accounts; });
Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
- March 27, 2020 at 1:07 am #113397HERMES ALVES SOUZAParticipant
That’s works. Thanks!
- March 29, 2020 at 11:46 am #113832SushobhanKeymaster
You are always welcome 🙂
Let me know if there’s anything else we can help you with.
Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.
- AuthorPosts
- You must be logged in to reply to this topic.