Support

Account

Home Forums ACF PRO Nested ACF in Post-Objects

Helping

Nested ACF in Post-Objects

  • hi folks,

    i searched the forum and couldn’t find anything that helps.
    I’m using a headless wordpress with Rest-api and want to create a code-snippet part.

    This is the setup so far:
    – Custom Post type called ‘Snippets’
    – Flexible Content field with Post-Object inside
    Snippets has dummy variables

    Here’s a screenshot of the snippets post:
    http://d.pr/i/M2Si/3lYctSCx

    If i create a post and add — for example — a Logo, the standard post_content (editor content) is added to the output. But i can’t find any traces of the dummy-variables i added to the snippets.

    Is there a way to add variables to the post_content object?

    thanks and kind regards,
    Chris

  • Hi @chrisjahn

    I believe it depends on the Rest API you are using. Some of ACF users use ACF to REST API to get the custom fields value, but I’m not sure if it will satisfy your need. Could you please try it first?

    For further information, kindly ask the author about how to get the custom fields value.

    I hope this makes sense 🙂

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

You must be logged in to reply to this topic.