Help topics

Copy models from another site

Copy the models of another site, for example staging, to this site in a few steps. Morphic copies the model definitions only, not the entries.

Before you start

  • Morphic Pro is required on this site and on the other site.
  • You need the WordPress Administrator role. Only administrators can change settings.
  • On the other site, create an application password in Users > Profile.

Compare the models

  1. Go to Morphic > Settings.
  2. Select Model sync.
  3. In Other site, enter the address of the other site.
  4. In Username, enter the username on the other site.
  5. In Application password, enter the application password.
  6. Select Compare models.

Result: the table lists each model with one state: New, Changed, Same or Only on this site.

Copy the models

Morphic ticks the New and Changed models. Clear a box to skip a model.

Note: Only models are copied. Content is not copied. Each copied model becomes a new version on this site. Existing entries are upgraded when they are read, and nothing is deleted.

  1. Tick or clear the boxes in the first column to choose the models to copy.
  2. Select Copy chosen models here.
  3. In the confirmation dialog, select Copy models. Its title gives the number of models you ticked, for example Copy 2 models?

Result: Morphic shows the number of models copied. If a model fails, the message names it and gives the reason.