Iterate Post Entries within Theme Layout
Created 7 years ago by royallthefourth

Is there a Twig tag I can use to gather all the open posts of a particular type and iterate across them?

ryanthompson  —  7 years ago

Checkout entries('posts', 'posts').type(slug).get()

All streams support custom criteria (the type(slug) part). Here’s where to look for that:

Any cusotm criteria is always sitting next to the model