Module Manager is a Toolset component that allows you to export and import Toolset elements. You will be able to reuse your work on different sites and also download ready-to-use modules from the Toolset Modules Library.

Create your own library of building blocks

Module Manager makes it easy to move Toolset elements from one site to another (or to many other sites).

First, install the Toolset Module Manager plugin. You need to install it on the site from which you want to create the modules and on the sites where you want to import modules into.

Exporting (creating) modules

Creating modules using the Toolset Module Manager
Creating modules using the Toolset Module Manager

On side A:

  1. Go to Toolset->Modules.
  2. Click Add new to a create a module.
  3. Select Toolset elements you want to include in the module by dragging them into the Module area.

Exporting modules using the Toolset Module Manager
Exporting modules using the Toolset Module Manager

  1. Click Export.

A zip file will be created and downloaded to your local drive.

Create as many modules as you like. Modules are simple ZIP files, which you can save anywhere (they are not saved for you in your Toolset account).

Importing modules

Importing modules
Importing modules

On site B:

  1. Got to Toolset->Import/Export
  2. Switch to Modules tab.
  3. Drag and drop your zip file into the Choose file button
  4. Click Import.

On the next screen you will see a list of Toolset elements that will be imported.

  1. Click Import selected items.

Now, the same Toolset elements that you added to the module will appear on the site, where you’ve imported the module into. You can use these elements right away or edit them. When you import a module, you’re creating a copy, so any edits that you make do not affect the original design.

Toolset module library

To make your development work faster, the Toolset team maintains a library of modules, which you are welcome to download and use on your own sites.

Visit Toolset Modules Library, select a category, download modules and import them to your site. Remember to install the Toolset Module Manager plugin in order to be able to import modules to your sites.

Tooset Module Library
Tooset Module Library

Hint: You can also browse the library directly in your WordPress site: Toolset -> Modules -> Modules Library tab.

Exporting and Importing post content

Note that you use Toolset Module Manager to move only structures, not the actual content.

Importing Post Type using Module Manager doesn’t include the actual posts (content)
Importing Post Type using Module Manager doesn’t include the actual posts (content)

For example, if you moved the Consultants Post Type using Module Manager, what you’d migrate is the definition of this Post Type.

The actual consultants (posts along with related field values and taxonomy terms) wouldn’t be exported.

To move your pages and posts (including posts based on Custom Post Types) along with their content use WordPress Import/Export tools.

Importing post content with the WordPress Export tool.
Importing post content with the WordPress Export tool.

On side A:

  1. Go to Tools -> Export
  2. Select the Post Type whose content you want to move. Consultants in our example.
  3. Click Download Export File

An xml file will be saved on your disk.

Importing post content by using the WordPress Importer
Importing post content by using the WordPress Importer

On side B:

  1. Make sure that the relevant Post Type already exists. Consultants in our example.
  2. Go to Tools -> Import.
  3. Locate the WordPress row.
  4. If the WordPress Importer plugin isn’t installed click Install now. Choose Run Importer.
  5. Drag and drop your xml file into the Choose file area.
  6. Click Upload file and import.
  7. Click Submit.

The posts have been imported.
The posts have been imported.

Visit your Post Type. You should see your posts now along with all related fields and taxonomy terms.