Custom WP_Query pagination issues


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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. ?>

URL: http://jvcustomdesigns.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.