When I'm preparing pages in the WordPress, I want to view draft pages in my staging/test site, so that I can make sure it looks great prior to publishing it in production.
Acceptance criteria
[x] I can quickly configure my staging/test site to display draft pages
When I'm preparing pages in the WordPress, I want to view draft pages in my staging/test site, so that I can make sure it looks great prior to publishing it in production.
Acceptance criteria
Tasks
WP_SHOW_DRAFT
WP_SHOW_DRAFT
env var as an option when hitting WP APIAnalysis
Set up
baseQuery
in CMS model constructor so that it's used by all methods:https://github.com/datopian/frontend-v2/blob/master/plugins/wp/cms.js#L9-L11
Then it should be used by all methods: