Using ACF Shortcodes in menu custom HTML block
-
Firstly I’m adding a ‘Custom HTML’ block to my mega menu, then I’m adding an ACF text field to the menu edit page, after this I’m using the shortcode [acf field=”field_name”] in the custom HTML block to try to load data from the field below, when saved this is just giving an empty space where the content should be.
Is there any reason why this isn’t working?
I’ve tried several variations of the shortcode and ACF fields, I’ve successfully loaded other shortcodes in the custom HTML block for example [gallery] – Just for some reason my ACF fields won’t load.
Thanks in advance for any assistance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Using ACF Shortcodes in menu custom HTML block’ is closed to new replies.