Support

Account

Home Forums Backend Issues (wp-admin) Setting up ACF Programmatically

Solved

Setting up ACF Programmatically

  • Hi! If this question has already been asked I apologize! Would love a link to the answer if so. I am creating a new theme to be distributed that requires ACF to already be installed. However if that requirement is met I would like to setup the ACF groups and fields using my theme function files so that the user has them available and ready to go without having to manually create the fields. Any ideas how to achieve this?

  • Hi,

    You can export your settings in both XML and PHP. Create your fields on your developement area and export them and add them in your functions file.

    The export link is the second submenu in custom fields menu.
    It is so clear and documantation is available in that page.

    Regards,

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

The topic ‘Setting up ACF Programmatically’ is closed to new replies.