Home › Forums › Add-ons › Options Page › Custom fields created in Options not showing up on site › Reply To: Custom fields created in Options not showing up on site
I think your problem is the missing ‘option’ parameter like this:
<p><?php the_field(‘fest_date’, ‘option’); ?></p>
From the docs:
Template Usage
All the API functions can be used with the “Options Page’s” fields. However, a second parameter is required to target the options page. This is similar to passing through a post_id to target a specific post object.
http://www.advancedcustomfields.com/resources/how-to/how-to-get-values-from-an-options-page/
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.