• I’m currently using a post grid to display a custom post type of “Venue.” Each “Venue” post contains a title, description, and custom fields of (address, url, and venue_photo). I’m trying to use shortcode to display the image, which is an image object in ACF. I am using the following:

    [acf field="venue_photo']

    However, this outputs the following:

    195, , test4, , , image/jpeg, https://dev3.myurlhere.com/wp-content/uploads/2016/05/test4.jpg, 624, 352, Array

    So it’s pulling the correct info for the image object, but I’m not quite sure how to get it to display the actual image. And I actually want it to display a custom image size that I have created, but I want to make sure I can get to display, in the first place, before trying to pull in the custom image size.

    And I’m familiar with pulling in ACF images through basic PHP, but this is actually being pulled in through a “Post Grid” plugin that requires the use of the html shortcode to display it.

  • The topic ‘[Plugin: Advanced Custom Fields] Can't display ACF image object using shortcode’ is closed to new replies.