2 column pagination (1 post)

  1. cambria83
    Posted 4 years ago #


    I'm having trouble getting any sort of pagination to work properly, with the method I have used to set my posts up on my page. I've laid out 14 posts in column 1 and then 14 posts (offset) on column 2.

    Can anyone help me with how to apply pagination to this method? Here is my code:

    $posts = get_posts('category=6&numberposts=14');
    	foreach($posts as $post):
    	setup_postdata($post); ?>
    <li><a href="<?php the_permalink() ?>"><?php the_title();?></a></li>

    That's column 1 and column two is the same but offsetting 14 posts. Any help would be greatly appreciated.

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic