Skip to content

Is it possible to filter blog posts by status:all? #878

Discussion options

You must be logged in to vote

The following gives you all pages with the page setting Layout: blog, regardless of their status:

<?php $pages = $this->yellow->content->index(true, true)->filter("layout", "blog") ?>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@reinboldg
Comment options

Answer selected by reinboldg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants