WPGraphQL ACF Draft mode isn’t working
-
I’m facing this weird issue with wpgraphql queries. When the page isn’t published, I am able to see the acf draft mode fields in the previews. But when the page is published, the draft mode doesn’t show up when I’m trying to preview the page. I’m using Faust + WP Headless setup Did anyone else faced this issue? here’s my query:
query GetPageData( $id: ID! $idType: PageIdType $asPreview: Boolean = false ) {
page(id: $id, idType: $idType, asPreview: $asPreview) {
title
content
testingAcf {
content
}
}
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘WPGraphQL ACF Draft mode isn’t working’ is closed to new replies.