Yith filter make bug for hidden sidebar on mobile
I found hear topic about the same problem.
But it was not solved.
I have add cod to functions.php on my Theme. Them is not a commercial code. It’s private code.
// Bug with Yith filter on mobile hidden sidebar
if( ! function_exists( ‘yith_wcan_content_selector’ ) ){
function yith_wcan_content_selector( $selector ){
$selector = ‘#primary’;
return $selector;
}
add_filter( ‘yith_wcan_content_selector’, ‘yith_wcan_content_selector’ );
}
I add this cod to display Yith widget in sidebar: [yith_wcan_filters slug=”default-preset” selector=”#primary”]
Look here: https://prnt.sc/sodT5OugrGfj
and here: https://prnt.sc/rQSRg0CiA4hL
Sidebar is open after click icon: https://prnt.sc/X6RCB7SJq6GB
But althought i check checkbox product list did not to change. After refreash page using for example F5 list of product display corect.
I use free version Yith Ajax Product Filter.
The page I need help with: [log in to see the link]
مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد
منبع: انجمن وردپرس