Forums

Custom Post Types / Loop Error (2 posts)

  1. SeanP284
    Member
    Posted 1 year ago #

    I am using a custom loop to display custom post types in two columns in this order:

    1 :: 2
    3 :: 4

    and so on..

    I am running into an issue where some of the information from the last post displayed on the left is carrying over to the right-column. An example of this can be seen here. You'll see that the titles all look correct, but on the right column the description, phone, and website are all the same for each post as the last post on the left.

    Here is how I have the loop set up. Does anyone see what the cause might be, or have any ideas?
    [Moderator note: snipped code block, please use the pastebin as per the Forum Guidelines]

    Thanks!!

  2. SeanP284
    Member
    Posted 1 year ago #

    Problem is fixed.. needed to initiate another query and then reset the custom post type variables. It should have been:
    [Moderator note: snipped code block, please use the pastebin as per the Forum Guidelines]

Topic Closed

This topic has been closed to new replies.

About this Topic