Support » Fixing WordPress » Adding pagination to a Query

  • I have this query and I would like to add some kind of pagination or at least some “previous” and “next” links. I’m not sure how to do it. Here is the code:

    <?php $studyAbroad = new WP_Query("cat=14,17,18,19&posts_per_page=5"); ?>
    	    <?php if ($studyAbroad->have_posts()) : while($studyAbroad->have_posts()) : $studyAbroad->the_post(); ?>

    Any idea?

    Thanks!!!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding pagination to a Query’ is closed to new replies.