WordPress.org

Ready to get started?Download WordPress

Forums

Pagination for custom archive template (1 post)

  1. wphastings
    Member
    Posted 5 months ago #

    Hi

    I'm using a custom post type and custom archive template along the lines of this tutorial.
    http://www.carriedils.com/custom-post-type-archive-template/

    I'd like to limit the number of posts featured on the page to 12 and then feature a link to the next 12.

    I can limit the number using the $arg - 'posts_per_page'=> '12'

    But is there a way to display some navigation at the end of the posts?
    e.g.
    < View Newer Posts | View Older Posts >

    Thanks y'all.

Reply

You must log in to post.

About this Topic

Tags