I’ve tried using this:
https://support.advancedcustomfields.com/forums/topic/setting-custom-field-image-as-featured-image/
but this just gives me a 4 digit number.
I’m looking to see what I could do to grab the feature image URL instead.
what is returning a number? Please supply code and more information about your issue.
Here’s my settings:
When I use the shortcode to call this field, it displays the literal _thumbnail_id of the image (it being a 4 digit number).
Shouldn’t my settings be returning the URL, not the ID?
The built in ACF shortcode cannot be used to show images. None of the return settings generate an image tag.
As far as returning the ID value when you have a different return value set, this is usually cased by a pre_get_posts filter somewhere in your theme or in a plugin that is interfering with the queries done by ACF