Home › Forums › General Issues › How to display Field Names alongside Field Labels › Reply To: How to display Field Names alongside Field Labels
I appreciate the reply. I entered the first sample code you offered (adding rather than replacing) into my child theme’s functions.php file, and it definitely affected a change to the way my fields render when editing any page.
However, the actual value I’m after (the short-code-able field_name) isn’t rendering. Instead, I get a different output. See attached screenshot.
Perhaps there is another value to enter other than ‘name’ to get what I’m after?
Again- the value I want displayed next to the label is the “name” that I use in a shortcode, with underscores between the words comprising the field’s name words.
Example for clarity:
Label: Tom’s Field Example
Name for shortcode: toms_field_example
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!
🤔 Curious about the ACF user experience? So are we! Help guide the evolution of ACF by taking part in our first ever Annual Survey and guarantee you’re represented in the results. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 8, 2023
© 2023 Advanced Custom Fields.