Home › Forums › Backend Issues (wp-admin) › Default Field Group for all subdomains on Multisite › Reply To: Default Field Group for all subdomains on Multisite
A small caveat on using this technique for multisite. Once you export the script to php and add it to your theme, you can no longer add/edit fields via the admin.
In our multisite setups, we have what is basically a template site setup where we can continue adding/editing fields, conditionals, etc. We use conditionals in the theme which test the domain. If the site is our template site, the scripts in the theme are ignored and acf_lite mode is turned off. We can make changes as needed, then copy the updated export to the theme. If it is not the template site, the scripts in the theme load and acf_lite mode is turned on.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.