Hi, i bought your template \" Vantage \". The results of a detailed query doesn\'t d
Hi,
i bought your template " Vantage ". The results of a detailed query doesn 't display in the correct way. I'm supposed to display the last 4 user premium in 4 box nearby. Instead I got all of the users as result.
This is the query:
<?php $loop = new WP_Query(array(
'post_type'=>'listing',
'orderby'=>'menu_order',
'order'=>'ASC',
'meta_key'=>'featured',
's'=>'featured',
'meta_query'=>array(
array(
'key'=>'featured',
'value'=>1,
'compare'=>'IN',)))); ?>
<?php while ( $loop->have_posts() ) :
$loop->the_post(); ?>
<?php the_title();
endwhile; ?>
How I can display the 4 boxes?
This is my site:
-
http://registronutrizionisti.it
Please help me!!