Site logo

Archived topic

Does GeneratePress Dynamic content work with ACF flexible content?

7 replies · Started by Adrien on February 12, 2023

Viewing posts 1–8 of 8

Hi,

Does GeneratePress Dynamic content work with ACF flexible content?

It seems it's not reading my fieldkey: field_63e88c46650b7

Please let me know if you're using ACF flexible content successfully with GP Dynamic content.

Thank you.

Hi there,

GP only has 2 dynamic blocks, content and image.
The mainstay of our blocks dynamic data is in GenerateBlocks.

At this time GeneareteBlocks Free will handle basic fields.
GenerateBlocs Pro will:

Support ACF basic fields
Support ACF content fields
Support ACF choice fields
Support ACF relational fields
Support ACF jQuery fields

We are working on Repeater, Gallery and Flexible fields for future updates.

Hello David, Thanks a lot.
Your answer helps because I'm in the middle of two projects where I required flexible content (not repeater fields) so I will just simplify everything and create simple acf fields and link them one by one using dynamic option in GP/GB.

The support of ACF Flexible content by GP/GB is going to be so powerful.

Thanks for your assistance.

Glad to be of help!

Hi - searching for some guidance on outputting the values from ACF relational fields - could you please point me to some documentation for this? All I really need to do is pull the output from a relational field into my template - have tried all of the relational field types and nothing showing up. Assume I need to add a filter but not sure of the syntax for this.
Thanks.

Hi there,

it may take some code to make that work.
Can you explain the relationship so i can try and figure it out ?

Hi David. Thanks for getting back to me.

The site is for a martial arts dojo.

I have 3 custom post types - dojos, instructors and events.

In the events page I want to bring the event location (a dojo) into the event post. I have all the dojos as their own posts so have created an ACF field (event_dojo) with type 'Relationship' and filter that to my Dojo post type. All that works fine and shows up as expected in the post edit page (see image). Problem is nothing shows up when I try to pull it in via dynamic data. All the standard text is coming in fine via the same procedure - just all the relational stuff doesn't work - and have tried all the ACF settings. Note that the dojo and event templates are custom block elements.

Also, and this may well be out of scope, I want to be able to use a date picker in an ACF field to pick when an instructor first started. Then I want to be able to use that output and use current date to yield a number for years of experience. I can do it in the old way of custom templates and ACF - just can't get my head around how to do this stuff in filters.

Selection in the post edit feild.

This is going to probably require some custom development, but it would be good to see how this works. As we have a similar open topic here, using Releationship fields in a GB Query Loop

Would you mind starting a new topic, in case the OP has notifications on, and in case we need the Private Info field.

This archived topic is closed to new replies.