You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently changed my website stucture from simple acf groups to flexible content. When i try to query blocks that used groups from page it works as expected. But i am unable to query blocks that use flexible content fields, how should the query structure look ?
the "field group" is called blockHeroV2, then flexible_block field is wrapping everything, then hero-default layout, or something i guess and title field for example
Using WPGraphQL + WPGraphQL for ACF + WPGraphQL content blocks,
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I recently changed my website stucture from simple acf groups to flexible content. When i try to query blocks that used groups from page it works as expected. But i am unable to query blocks that use flexible content fields, how should the query structure look ?
the "field group" is called
blockHeroV2
, thenflexible_block
field is wrapping everything, thenhero-default
layout, or something i guess andtitle
field for exampleUsing WPGraphQL + WPGraphQL for ACF + WPGraphQL content blocks,
Beta Was this translation helpful? Give feedback.
All reactions