Hello,
Been using ACF for a while now, and I love it, but I ran into my first problem that I can’t figure out.
First the issue I’m having does not exist on my local or dev environments, only since I’ve gone to the client’s production server on Bluehost.
If I do a print_r with get_fields I get:
Array ( [iam_press_inquiries_title] => asdf [iam_press_inquiries_text] =>
asdfasdf
[iam_hero_image] => [iam_alt_title] => )
but if I do a get_field, ie:
echo ‘<h2 class=”heading1″>’ . get_field(‘ima_press_inquiries_title’) . ‘</h2>’;
I get nothing on the front end. I’m using custom fields elsewhere on the site, and they seem to work fine, they don’t seem to be working on the post type “pages.”
I have debugging turned on, and I’m not getting anything either:
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, true);
@ini_set(‘display_errors’,0);
define(‘SCRIPT_DEBUG’, true);
I’m at a loss, thanks for your help!