WP Custom Post Type Pagination

  • # October 19, 2012 at 2:23 pm

    I’m working on a template which will use some custom-post-types & custom-taxonomies.. I’m having problems with pagination and duplicate posts.

    **LOOP #1
    On the homepage (home.php) I have 2 Loops. The fist one shows 1 post (custom post type: Projects) which has the custom-taxonomy “Featured” assigned to it.

    LOOP #2
    On the second loop I have the six most recent “Projects” (Custom post type) but I dont want a duplicate from the first loop. Under the six posts I’d like a pagination

    Both loops in home.php work.. but I still have that duplicate and I can’t get pagination to work..

    [home.php](http://pastebin.com/6ac2asue “home.php”)
    ](http://pastebin.com/2X8xTPTY “featured.php”)[functions.php](http://pastebin.com/1SK206Bh “functions.php”)

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed