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> <?php endforeach; ?>
That’s column 1 and column two is the same but offsetting 14 posts. Any help would be greatly appreciated.
- The topic ‘2 column pagination’ is closed to new replies.