Covert $args in to shortcode
-
Hi , could you please help to convert this $args in to ajax loadmore shortcode
$args = array( 'post_status' => 'publish', 'posts_per_page' => -1, 'post_type' => 'product', 'orderby' => 'title', 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => 'product_cat', 'field' => 'slug', 'terms' => array( 'red' ), ), array( 'relation' => 'OR', array( 'taxonomy' => 'product_cat', 'field' => 'slug', 'terms' => array( 'hard' ), ), array( 'taxonomy' => 'product_cat', 'field' => 'slug', 'terms' => array( 'soft' ), ), ),) );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Covert $args in to shortcode’ is closed to new replies.