Retrieve Image from ACF Options Page
-
How do we display an image from ACF’s Options page? (https://www.advancedcustomfields.com/resources/options-page/)
[field option_field option=true]
only works well if the field is text.[field image=option_field option=true]
based on other examples doesn’t work.If I assign the image as an ID, it returns the ID number and ignores all shortcode parameters such as
out=url
orreturn=url
, orsize=thumbnail
.Just as if I choose array (object), it returns the entire array and ignores any shortcode parameters I specify.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Retrieve Image from ACF Options Page’ is closed to new replies.