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
- Go to Morphic > Settings.
- Select Model sync.
- In Other site, enter the address of the other site.
- In Username, enter the username on the other site.
- In Application password, enter the application password.
- 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.
- Tick or clear the boxes in the first column to choose the models to copy.
- Select Copy chosen models here.
- 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.