post_type == 'product' ) remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20 ); $store_user = get_userdata( get_query_var( 'author' ) ); $store_info = dokan_get_store_info( $store_user->ID ); $map_location = isset( $store_info['location'] ) ? esc_attr( $store_info['location'] ) : ''; $scheme = is_ssl() ? 'https' : 'http'; wp_enqueue_script( 'google-maps', $scheme . '://maps.google.com/maps/api/js?sensor=true' ); get_header( 'shop' ); /** * woocommerce_before_main_content hook * * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content) * @hooked woocommerce_breadcrumb - 20 */ do_action( 'woocommerce_before_main_content' ); ?>

'
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ); if ( class_exists( 'Dokan_Store_Location' ) ) { the_widget( 'Dokan_Store_Category_Menu', array( 'title' => __( 'Store Category', 'xstore' ) ), $args ); the_widget( 'Dokan_Store_Location', array( 'title' => __( 'Store Location', 'xstore' ) ), $args ); the_widget( 'Dokan_Store_Contact_Form', array( 'title' => __( 'Contact Seller', 'xstore' ) ), $args ); } } ?>