How to migrate Custom Field Template to a WordPress Multisite

I just did this and I couldn’t find any documentation so I thought I’d post instructions in case anyone else wants to migrate the Custom Field Template to a Multisite.

In my case I was migrating from a pay for WPML multilingual website to a core WordPress Multisite with each language configured as a separate site in subfolders as below. I chose subfolders but I imagine this will work for subdomains too.

Once you have your WordPress Multisite set up with more than one site and the Custom Field Template installed in the Network Admin Dashboard go to…

My Sites > Network Admin > Plugins

…and enable the Custom Field Template plugin. There are no settings here, you configure the settings in each site.

Next go to your primary site dashboard, in my case, and in the Plugins section you will see that the Custom Field Template plugin is enabled. Now go to…

Settings > Custom Field Template

…and all your custom fields should be there. However if you go to the custom field template settings in one of your other sites you should see a php error message (sorry, I didn’t write it down) and your custom field settings are not shown. The restoration is really easy, back in your primary site scroll to the bottom of your Custom Field Template settings and you will see an Export Options button. Select this and save the file anywhere you like.

Now go to the same location in one of your sites where the fields are not showing and scroll to the bottom until you see Import Options. Import the file you exported a moment ago.

Refresh your browser window and the custom fields settings should now be visible for this site too. Import the same file into any other sites in which custom field settings are not visible.

Really easy once you know how but I couldn’t see any documentation and found it by chance.

Read more here:: How to migrate Custom Field Template to a WordPress Multisite

Leave a Reply

Your email address will not be published. Required fields are marked *