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
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘Create custom field for featured image of post’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users