Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › WCFM- Marketplace does not appear in my web
- This topic has 3 replies, 2 voices, and was last updated 7 years, 7 months ago by
Aleix.
Viewing 3 reply threads
- AuthorPosts
- March 28, 2019 at 4:57 pm #55036
Aleix
GuestGood Morning!
I installed WCFM- Marketplace and the configuration went well. But the name of the vendor does not appear in my store:
https://www.coolturemag.com/tienda/And on the vendor’s page, nothing appears to me, only the products:
https://www.coolturemag.com/store/miqueljane/I’m using the template Javo Themes and Elementor.
Thank you!
- March 28, 2019 at 5:05 pm #55037
WCFM Forum
MemberHI,
https://www.coolturemag.com/tienda/
– Is this template created using Elementor?
If so, then add this code to your child theme’s functions.php –
add_filter( 'pre_get_posts', function( $query, $that = null) { global $wp_query, $post; $wcfm_store_url = get_option( 'wcfm_store_url', 'store' ); $store_name = urldecode( get_query_var( $wcfm_store_url ) ); if ( !is_admin() && $query->is_main_query() && !empty( $store_name ) ) { $query->is_archive = false; $query->is_post_type_archive = false; } return $query; }, 50, 2 );Thank You
- March 28, 2019 at 6:31 pm #55054
Aleix
GuestThis reply has been marked as private. - March 28, 2019 at 6:46 pm #55059
Aleix
GuestSolved!
- AuthorPosts
Viewing 3 reply threads
- The topic ‘WCFM- Marketplace does not appear in my web’ is closed to new replies.