Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Cant remove Vendors Store Page Sidebar.
Tagged: Display, uncheck, vendor store sidebar
- This topic has 4 replies, 2 voices, and was last updated 4 years, 7 months ago by info143.
- AuthorPosts
- March 27, 2020 at 5:52 pm #113476info143Participant
Hello,
in store manager settings i unchecked the store sidebar checkbox but sidebar on Vendor Store Page is still visible.
All PLugins are updated.Any ideas in this?
Greetings
Hanna
- April 2, 2020 at 4:42 pm #114705Sarmistha ChakrabortyMember
Hello,
Are you using elementor template for vendor store page? Or have you override vendor store template in your theme? Please check once.
Thanks.
- April 5, 2020 at 1:32 am #115481info143Participant
Hello,
i do not use elementor template. I did not ovveride stote template. i just put the following snippets in my child functions.
add_filter( ‘wcfmmp_is_allow_sold_by_logo’, ‘__return_false’ );
add_filter( ‘wcfmmp_is_allow_archive_product_sold_by’, ‘__return_false’ );
function wcfm_custom_2209_translate_text( $translated ) {
$translated = str_ireplace( ‘Store Name’, ‘Your Artist Name’, $translated );
return $translated;}
add_filter(‘gettext’, ‘wcfm_custom_2209_translate_text’);
add_filter(‘ngettext’, ‘wcfm_custom_2209_translate_text’);function wcfm_custom_0905_translate_text( $translated ) {
$translated = str_ireplace( ‘Become a Vendor’, ‘Sell your art on T.’, $translated );
return $translated;
}
add_filter(‘gettext’, ‘wcfm_custom_0905_translate_text’);
add_filter(‘ngettext’, ‘wcfm_custom_0905_translate_text’);You have an idea how to remove default sidebar completly? Can i just remove the wcfmmp-view-store-sidebar php ?
Thanks
Hanna
- April 6, 2020 at 4:56 pm #115911Sarmistha ChakrabortyMember
Hello,
add_filter('wcfmmp_is_store_sidebar','__return_false');
Try 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/ - April 6, 2020 at 9:24 pm #116000info143Participant
Works perfect! Thank you!
- AuthorPosts
- You must be logged in to reply to this topic.