Home › Forums › General Issues › get_field not returning value › Reply To: get_field not returning value
I don’t think this is an ACF issue anymore. I tried this standard WP call:
$expirationtime = get_post_meta($post->ID, 'expiration', true);
and got the same results – no value returned.
I think Divi is probably the culprit, so I’ll see if their support can shed any light on the problem.
Thanks again for looking at this, John.
EDIT: I have it working now, and for anyone interested in the solution, the check for the expiry field needs to be in Divi\includes\builder\module\blog.php (not in page.php)
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.