You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ACF template helps me translating complex flexible field contents from one site to another one.
Describe the solution you'd like
I'd like to be able to export/import a template from one WordPress instance to another.
It'd only include attached images if importer was told so at the time of import.
Describe alternatives you've considered
Since ACF templates are custom post types. I thought standard tools would support it out of the box.
export : Exporting acf-templates as a WXR file works (although see below about serialization).
import: Assuming an "import plugin" is enabled (I tried rmccue's WordPress Importer v2), it also works
This results in a new ACF template :
Being imported and created
Being listed
Having its correct meta attached
Whic appears as empty in the template editor UI.
Additional context
Templates are mostly stored in a _flex_layout_data which is serialized.
But "here is the point" : the serialized form is not "installation-independant". It's probably related to why imported templates are shown as empty.
The text was updated successfully, but these errors were encountered:
The storage of an ACF template keeps referencing other elements of the website. As such it can't be exported/imported as-is into another website that would want to make use of this template.
ACF template helps me translating complex flexible field contents from one site to another one.
Describe the solution you'd like
I'd like to be able to export/import a template from one WordPress instance to another.
It'd only include attached images if importer was told so at the time of import.
Describe alternatives you've considered
Since ACF templates are custom post types. I thought standard tools would support it out of the box.
This results in a new ACF template :
Additional context
Templates are mostly stored in a
_flex_layout_data
which is serialized.But "here is the point" : the serialized form is not "installation-independant". It's probably related to why imported templates are shown as empty.
The text was updated successfully, but these errors were encountered: