Posted By

joshvermaire on 01/22/11


Tagged

wordpress query pagination


Versions (?)

Custom WP_Query pagination issues


 / Published in: PHP
 

URL: http://jvcustomdesigns.com

  1. <?php
  2. $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
  3. query_posts('paged=' . $paged . '&cat=76'); // show posts in category 76 with pagination enabled
  4. ?>

Report this snippet  

You need to login to post a comment.