Have you seen our video tutorials? Check 'em out!

Iterate Post Entries within Theme Layout

royallthefourth - 2 months ago

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

ryanthompson - 2 months ago

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

All streams support custom criteria (the type(slug) part). Here’s where to look for that: https://github.com/anomalylabs/posts-module/blob/master/src/Post/PostCriteria.php

Any cusotm criteria is always sitting next to the model