Archived topic
ACF options field for off-canvas menu
1 reply · Started by Dan on April 29, 2022
I would like to add a GP element into an off-canvas menu.
In that Element I would like to have an ACF which will get populated via the options ACF page - https://www.advancedcustomfields.com/resources/options-page/
Is that possible?
That field would be a notice about a specific conference / sale / notification.
I would like the site's editor to manage that notification from ACF options page.
Is that doable with ACF elements(blocks with dynamic field)? or should I create a hook without using blocks?
Or create an ACF block which will then be added to the off-canvas menu with a block element hook?
Thanks
Dan
Hi there,
you would need an ACF Shortcode / Block to return a value from an Options Page.
You could still hook that shortcode/block in using a GP Element.