Home › Forums › Front-end Issues › the_field('field_name') does not work › Reply To: the_field('field_name') does not work
Filters didn’t work either, so I continued my struggle and luckily did a test changing field name to camel case thanks to a random tooltip in the filter plug-in. After changing the field name to camel case, the filter worked.
So after that, went back to this code to change the field name to the new one and said to myself let’s try again; and it worked.
Seems like the issue was related to the dashes 🤒
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.