Returning field slug
-
I’m trying to display the field slug but can’t figure it out. When I try and use ‘name’ it actually returns the field’s label rather than the slug name. I’m using ACF and a flexible content loop. Here’s what I want…
<h1 id="[field_slug_here]">[sub field="mpg_section_title"]</h1>
Hope this makes sense.
https://www.ads-software.com/plugins/custom-content-shortcode/
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Returning field slug’ is closed to new replies.