Thank you very mach Veganist! Very useful advice! thanks!
Would u like to help me any more?
i write:
<form>….. get params PRICE, SIZE…….. </form>
now i make query:
$args = array(
‘post_type’ => ‘product’,
‘meta_query’ => array(
array(
‘key’ => ‘price’,
‘value’ => ‘15.00’,
‘compare’ => ‘<‘,
‘type’ => ‘NUMERIC’
),
array(
‘key’ => ‘size’,
‘value’ => ‘S’,
‘compare’ => ‘=’,
‘type’ => ‘CHAR’
),
)
);
$squery = new WP_Query( $args );
HOW TO GO ON FOR show the posts in $squery???
So, this code in sidebar of any page, visitor press SUBMIT and…..???