We're merging with GenerateBlocks! Learn more here.

[Resolved] Repeating posts

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Repeating posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9492
    David
    Participant

    Hi

    I’ve set up a new custom post type called aircrafts and added 2 taxonomies for Aircraft availability and Aircraft manufacturer.

    I’ve then set up a new archive page for aircrafts and copied the php for the wp show post list I’ve set up into my content-aircrafts.php file.

    For some reason it is repeating itself 3 times…

    http://185.20.51.60/~skyworldco/aircrafts/

    The wp show post list I have set up is

    Post type = aircrafts
    taxonomy = blank

    Please help.

    Thanks
    Dave

    #9506
    Tom
    Keymaster

    How are you add the WPSP list? In the template file?

    If so, it’s possible that content-aircrafts.php is being called 3 times (it’s in a loop, looping 3 times).

    You would need to add the list outside of the loop (archive-aircrafts.php) to have it only display once.

    #9682
    David
    Participant

    Thanks Tom

    #9729
    Tom
    Keymaster

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.