Home › Forums › General Issues › How to display Field Names alongside Field Labels › Reply To: How to display Field Names alongside Field Labels
Try using field['_name']
instead of $field['name']
You can see all the values for a field in your filter by adding the following to the start of your filter in order to see what values you may want to use.
echo '<pre>'; print_r($field); echo '</pre>';
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.