Is it possible to filter blog posts by status:all? #878
-
Hello I need to get all blog posts, regardless of their status (public, draft, unlisted, private, etc.). This can be partially done by getting all posts by status using multiple calls:
But this make 4 lists. I need the same but in one list, sorted like any other list. The purpose is to show a list of all posts in a private page. I think the best and simple way is a solution where we can filter on a status named "all". Something like that:
Or is there any other way to do it? Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The following gives you all pages with the page setting
|
Beta Was this translation helpful? Give feedback.
The following gives you all pages with the page setting
Layout: blog
, regardless of their status: