Support

Account

Home Forums Backend Issues (wp-admin) REST-API + ACF: Can't get featured to show in JSON response

Solving

REST-API + ACF: Can't get featured to show in JSON response

  • Hi,

    Hoping that someone can help me out with this.

    I’ve got a custom post type called ‘weeks’ and inside that is repeater fields for post objects which can be added for days of the week. Please see the attached screenshot for reference: Repeater Fields

    The JSON response is pumping out the correct information which you can see here: JSON Response

    I’m wanting to have the featured image in the form of a url of those post_ojbects show in the json output and I think I need to add that field to my functions.php but I’m having no luck. Ideal output something like this: Ideal Output

    Any help would be greatly appreciated.

    Thanks,
    Dayne

  • @weareduo did you ever get this figured out?

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘REST-API + ACF: Can't get featured to show in JSON response’ is closed to new replies.