Export and import custom templates, rows, and modules
You can export your custom layout templates, as well as saved rows and modules, and import them into another site – or give them to clients, or sell them.
You can select a combination of individual templates, rows, or modules to export, or all of them. This means you can create sets of templates on a single WordPress install or staging area, then easily move them around to other locations or bundle them for resale or distribution.
- If you export a post or page that contains a global row or module, you should also export the saved row or module. That way, when you import the post or page, the global rows and modules can be relinked to the master template on the new site.
- Images and icon sets used by the templates, rows, or modules you're exporting are not migrated with the template. You'll have to add them to the new location after import. Likewise, the theme at the new site will control the default font families, colors, and so on.
- Links are not updated automatically in the imprted
- If you are migrating an entire website from one domain to another (for example, you are migrating a development site to production), we recommend following our instructions for Migrating a Site To Another Domain instead of moving templates.
To export custom layout templates, rows, and modules:
- On the WordPress admin panel, go to Tools > Export.
- Select Templates, then choose All Templates or Selected Templates. If you want to select the templates, choose the templates, rows, and modules you want to export.
- Click Download Export File.
The downloaded file is an XML file that you can use for any WordPress website containing the Beaver Builder plugin.
To import custom layout templates, rows, and modules:
- On the WordPress admin panel, go to Tools > Import, scroll down to WordPress, and click Run Importer.
If this is your first time importing, the link in the WordPress section says Install now. The Beaver Builder plugin beefs up the WordPress core importer/exporter by installing a patch behind the scenes. After you click to install the importer, click the Run importer link that replaces it.
- On the WordPress Importer page, select the XML file that you exported, then click Upload File and Import.
- Access the imported objects in one of the following ways:
- For templates, open a page in Page Builder, click the Templates button, and go to Your templates.
- For rows and modules, in the Add Content panel look under Saved rows or Saved modules.
- Update any links in the imported templates and modules. Upload any items in the media library, including icon sets, that your imported objects use.