Looping through custom posts to display a feed in upfront theme

Hi there,

I am loving the look and feel of upfront. The theme seems to recognize my custom post types and can display them when I select them in a post element, however it will only display a single post. Is there a way to loop through custom posts like you seem to be able to with regular posts to display a list of them?

Thanks - Mark

  • Patrick
    • Support Monkey

    Hey there @Mark

    I hope you're having a great day!

    Is there a way to loop through custom posts like you seem to be able to with regular posts to display a list of them?

    Yes indeedy!

    In the General tab of the Post element, select Post List & Post(s) by Taxonomy. Then set the pagination, post-type & associated terms you want to use as seen in the screenshots below.

    You can see the result on a test page here:
    http://events.pcwriter.net/events-loop-test/

    I hope this helps! And thanks for being a member :slight_smile:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.