Support

Account

Home Forums General Issues merge data from 2 posts (same ACF setup)

Unread

merge data from 2 posts (same ACF setup)

  • Hi,

    I want to try and merge content from 2 posts where the 2nd post has some of the fields supplied as not blank (to override the fields in the first)

    the first eg is the “Home” page using “Home CF” for its content
    the second is eg “Home overrides” CPT, one of its fields will be “overrides” which pulls in “Home CF” as a clone.

    if a field is not blank in “Home overrides” I want to modify that field in the original home page data

    so ie I want to merge the 2 Home CFs (which may require a manual loop as I only want to override items where they are not blank)

    some of the fields will be eg images, so I’m not sure if it’s even possible that this would work?

    thanks for any suggestions
    J

Viewing 1 post (of 1 total)

The topic ‘merge data from 2 posts (same ACF setup)’ is closed to new replies.