arindam2211 on "[Plugin: YITH WooCommerce Ajax Product Filter] The page doesn't update after clicking on a filter"

ساخت وبلاگ

The issue could be related to the fact you are using a non-standard template for a WooCommerce shop page. To solve it, you should ask to the theme's author to use WooCommerce standard HTML classes. As an alteative:

For version prior to 2.2.0:

you can use this piece of code in functions.php file of your theme:

if( ! function_exists( 'yith_wcan_frontend_classes' ) ){ function yith_wcan_frontend_classes(){ retu array( 'container' => 'YOUR_SHOP_CONTAINER', 'pagination' => 'YOUR_PAGINATION_CONTAINER', 'result_count' => 'YOUR_RESULT_COUNT_CONTAINER' ); }
}
add_filter( 'yith_wcan_ajax_frontend_classes', 'yith_wcan_frontend_classes' );

If you don't know which classes you should use, ask to the developer of your theme.

From version 2.3.0 or later:

You don't have to write manually the code anymore, as you can just go to

YITH Plugin -> Ajax Product Filter -> Front End

and set easily the parameters from the text fields.

If you don't know which classes you should use, ask to the developer of your theme.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 237 تاريخ : سه شنبه 18 خرداد 1395 ساعت: 3:08