WordPress.org

Ready to get started?Download WordPress

Forums

WP-Paginate
2 Column Pagination (1 post)

  1. cambria83
    Member
    Posted 2 years ago #

    Hi,

    I have my posts being split into 2 columns in my template with 14 in column 1 and then another 14 offset into column 2 and I'm having big problems getting any sort of Pagination to work.

    This is the code I'm using to output my posts:

    <?php $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 the code for column 1 and column 2 is the same but with offsetting. Can anyone guide me how I should be adding pagination to this? Is it easier for me to output the posts differently maybe?

    Any help would be great! Thank you.

    http://wordpress.org/extend/plugins/wp-paginate/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic