Support

Account

Home Forums General Issues ACF textfield load/save value from custom field

Helping

ACF textfield load/save value from custom field

  • I’m working on a website for a client, using a theme that utilizes some custom fields.

    Because most of those single post custom fields are useless, i would like to create a nice ACF field (in my case a text field) and load/save values from it to the theme’s specific custom field (which i will hide along with the other custom fields)

    Any way to do that?

  • It really depends on the theme and how those custom fields are stored.

    But basically you need to create your new fields and use different names that the other plugin uses. Then you need to create and acf/save_post action https://www.advancedcustomfields.com/resources/acf-save_post/ that gets the values from your new fields and stores them it the fields used by the theme in the format that the theme needs them to be in.

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

You must be logged in to reply to this topic.