Hi, wondering how to do this, not something I have tried before.
If I add checkbox to my blog blueprint to indicate it is a featured post:
postoptions: label: Post Options type: checkboxes options: featured: Featured
I know I can use something like this to get the posts from my blog
$posts = $page->children()->listed()->flip();
What I am not sure of is how I would amend the above to only return those posts where the checkbox I have just added is checked.
Any help appreciated, I have look at the docs but can’t figure it out. #newbie