Home › Forums › Add-ons › Flexible Content Field › Show all the flexible row labels used on a page? › Reply To: Show all the flexible row labels used on a page?
Not every field value, just the first level sub fields under the main flex field.
So I have 5 sub fields (rows) that could show up on the page.
I’m building it as sections, so each primary sub-field is a section of the site with its own sub-fields in it.
I want to just link to each of those main sections with a button that is automatically made based on if the first level sub-field exists on the page.
The “get_row_layout();” would be great if it had more than just the slug of the row.
I just can’t find a way to grab the label of those rows.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.