Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WP Custom Post Type Pagination

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #40385
    thierryeamon
    Member

    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)
  • The forum ‘Back End’ is closed to new topics and replies.