Support » Fixing WordPress » Offset Pagination

  • tongyfilardi


    Hi, I´m trying to offset 10 post in my category page with pagination. I tried many ways but the only think I get was the same 10 offset post in all my pages.

    Anyonw can help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
          query_posts("cat=1&paged=$paged"); ?>

    Change cat=1 to whatever you need it to be. Or take cat=1& out altogether if you want all categories


    I had this same problem but i’m already using a query_posts with an array. How would I achieve the same above result?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Offset Pagination’ is closed to new replies.