• Resolved andygroove

    (@andygroove)


    Hello
    dont work filter on product category

    my query

    $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
    
    $args = [
    	'post_type' 		=> 'product',
        'paged'             => $paged,
        // 'page'             	=> $paged,
    	'tax_query' => [
    		[
    			'taxonomy' => 'product_cat',
    			'field'    => 'id',
    			'terms'    => get_queried_object( )->term_id
    		]
    	],
    	// 'posts_per_page'    => 2,
    ];
    
    $products = new WP_Query( $args );

    AJAX Container “#catalog”
    https://skr.sh/sGMrrOltjzE

    Please help

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author stepasyuk

    (@stepasyuk)

    Hello @andygroove

    Thank you for your interest in Filter Everything plugin.

    The Free version of the plugin does not work with Custom WP_Queries, only with native Main WP_Queries. To filter such custom you have to use Filter Everything PRO.

Viewing 1 replies (of 1 total)
  • The topic ‘Dont work on Product Category’ is closed to new replies.