[php]
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
$args = array(
‘post_type’ => ‘locandina’,
‘posts_per_page’ => 12,
‘orderby’ => ‘date’,
‘order’ => ‘DESC’,
‘paged’=> $paged,
);
$query = new WP_Query($args);
// The Loop
while( $query->have_posts() ) : $query->the_post();
echo ‘
- ‘;
echo ‘‘;
echo ‘‘;
echo ‘‘;
echo ‘
‘;
endwhile;
[/php]