Posted By

javifr on 10/29/10


wordpress query

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Query posts - paged results on custom post type

 / Published in: PHP

  1. <?php
  2. global $wp_query;
  3. $wp_query = new WP_Query('post_type=set-gallery&post_status=publish&posts_per_page=-1&paged='.$paged);
  4. ?>

Report this snippet  

You need to login to post a comment.