Grow your CSS skills. Land your dream job.

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.

    **HOME.PHP
    **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..

    **PasteBin**
    [home.php](http://pastebin.com/6ac2asue “home.php”)
    [featured.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.

*May or may not contain any actual "CSS" or "Tricks".