Custom Loop Básico
<?php
$paged = get_query_var('paged') ? get_query_var('paged') : 1;
$the_query = new WP_Query( array ( 'post_type' => 'outfits', 'paged' => $paged) );
//wp_pagenavi(array( 'query' => $the_query));
?>
<?php if ($the_query->have_posts()) { ?>
<?php } ?>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<?php endwhile;
// Reset Post Data
wp_reset_postdata();
?>