Home › Forums › Front-end Issues › How to Get Field in the Title › Reply To: How to Get Field in the Title
I think you’ll need to get help from whoever built the framework you’re using. Not seeing it on the home page means that either you’re putting the code in the wrong place or you need to supply the post ID when getting the field from ACF, for example <?php the_field('your_field_name', $post_id); ?>
. I don’t know if this value is available in that class method that you’re trying to modify.
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.