Advertisement
salvatorifabio

loop

Dec 18th, 2012
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. <?php $args = array( 'post_type' => 'prodotti');
  2. $loop = new WP_Query( $args ); ?>
  3.  
  4. <?php if ( $loop->have_posts() ) while ( $loop->have_posts() ) : $loop->the_post(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement