Import a demo made for your store
A demo LanternWP made for your store is in your lanternwp.com account, not in the public list of demos. Your site shows it once you connect the site to the account. You need what any import needs (Import a demo store): the LanternWP theme (or a child theme of it), WooCommerce and LanternWP Companion active, and an administrator's account on the site.
The site's address has to start with https://. On a site without it, Your demos says This site needs an https:// address to connect: lanternwp.com sends its answer only to a secure address. and Connect to lanternwp.com is off. The same goes for a dashboard lanternwp.com cannot send its answer to: WordPress has to be in the site's root or in folders named with letters, digits, ., _, ~ and -, so that the dashboard's address ends in /wp-admin/. The site's host name may hold only letters, digits and hyphens between dots, with no dot at the end (an underscore, as in my_shop.test, is not taken), and the host with the folders WordPress is in may be at most 300 characters long. Reconnect is off for the same reasons, and says so.
Connect the site
Your demos and its Connect to lanternwp.com are on the Demos screen once you show the demos from lanternwp.com; until then the screen asks lanternwp.com nothing, for your account neither. A site a developer connected without the Demos screen shows the account under Your demos with The account’s demos show here once you show the demos from lanternwp.com., and the box above it says that the site's requests for the account's demos will also carry the connection's token. To drop that connection without showing the demos, select Forget this connection: it is deleted from the site and nothing is sent to lanternwp.com, so end it in your account's settings on lanternwp.com too.
- Go to Appearance → LanternWP → Demos.
- Under Your demos, select Connect to lanternwp.com.
- lanternwp.com opens. Sign in to your account there and allow the connection for your site. Your lanternwp.com password is entered only on lanternwp.com, never in your site's dashboard.
- lanternwp.com sends you back to Demos, which says This site is connected to your lanternwp.com account. Your demos are on this screen.
Your demos now names the account, the site's name in it and since when it is connected, and who connected it. Every administrator of this site can see and import the account's demos. Each site of a WordPress network connects on its own.
If you do not allow the connection on lanternwp.com, or take more than ten minutes, the site is not connected and Demos says why; select Connect to lanternwp.com again. If an import is running when lanternwp.com sends you back, the site waits for the step that runs now, connects, and the import goes on after it. Only a step that takes longer than a quarter of a minute makes Demos say An import step is still running, so the site is not connected. Connect again in a moment.
Import your demo
The demos of your account are under Your demos, with the same buttons as the others: Import, Use the look only, and, once one is in your store, Update to version N or Import again under In this store. Everything Import a demo store says applies to them, Undo last import included.
The images of the demo, its manifest and its files come from your account through your site. While the import runs, its files wait in a folder of the site's uploads that nobody can find from outside; a finished or cancelled import removes them, and files no unfinished import reads are removed after a day. Once imported, the demo's images are in your Media library and its pages and products are your store's content, as with any demo.
If lanternwp.com does not answer, Your demos says Your demos cannot be loaded now: lanternwp.com did not answer. with Try again; if it answers with something else than the list, Your demos cannot be loaded now: lanternwp.com’s answer was not the list of your demos., with Details. The screen shows the account's demos only as lanternwp.com sent them within the last hour, never an older list. While an import keeps the site busy for longer than ten seconds, Your demos may say Your demos cannot be loaded now: an import is running on this site. Try again once it is done. When lanternwp.com asks the site to wait before it asks again, Your demos says so with Try again. An import that is running tries the step again by itself, up to five times, each no sooner than lanternwp.com asks, then stops with Try again; Use the look only does not wait, and says that lanternwp.com asks the site to wait.
When the only demo of your account is the one in your store, it is under In this store, and Your demos says The account’s demo for this store is the one in this store, above. Importing a public demo while the site is connected does not ask your account anything.
When the connection stops working
- lanternwp.com no longer accepts this site’s connection: the connection was ended in your account. Select Reconnect to connect the site again, or Disconnect.
- This site’s Site Address is now …, not the one it connected to lanternwp.com from. (or its WordPress Address, or both, as in Settings → General): the site's address changed since it connected, for example after a move or on a copy of the site, also a copy whose database had the old address replaced everywhere. A site whose address follows whichever address it is reached by, as some hosts set it up, counts as moved whenever it is reached by another one, such as with or without www: give the site one address. The site does not use the connection at its new address. Select Reconnect to connect the site at its address now, or Disconnect. Disconnecting here does not tell lanternwp.com, since the connection may still be the original site's: if this copy should not have your demos, end its connection in your account too.
- A copy at the same address as the site, such as a backup restored on another server or a staging copy you reach under the site's own name, cannot be told apart from the site: it uses the site's connection. If such a copy should not have your demos, end the connection in your account, then connect the site itself again.
Disconnect the site
- Go to Appearance → LanternWP → Demos.
- Under Your demos, select Disconnect.
Demos says This site is disconnected from lanternwp.com. What you imported stays. If the downloaded files could not be deleted, it says so and names the folder to delete yourself. If lanternwp.com could not be told (it did not answer, it answered with anything but the connection's end, or the site's address changed since it connected), Demos says lanternwp.com could not be told, so your account there may still list the connection.: end it in your account's settings on lanternwp.com if this site should no longer have it. Disconnecting stops an unfinished import of the account's demos and deletes the files it downloaded, and lanternwp.com is told to end the connection (unless the site's address changed since it connected). The products, pages, images and settings you imported stay. In this store keeps the demo's name and says It is a private demo of a lanternwp.com account this site is no longer connected to., without an update; Undo last import still works.
If an import is running, Disconnect waits for the step that runs now. Only a step that takes longer than a quarter of a minute makes Demos say An import step is still running, so the site is still connected. Disconnect again in a moment.
Stop loading from lanternwp.com under the demos stops the demos from lanternwp.com at once and then disconnects the site the same way. Demos then says This site no longer loads demos from lanternwp.com. It is disconnected from your lanternwp.com account too. What you imported stays., with the folder to delete when the downloaded files could not be deleted. When lanternwp.com could not be told, it says It is disconnected on this site. instead, and that your account there may still list the connection. If an import step keeps the site busy for longer than a quarter of a minute, the demos stop all the same and the site stays connected: Demos says so, and Your demos offers Forget this connection once the import is done.
Deleting LanternWP Companion from Plugins also deletes the connection and the files of an unfinished import, on every site of a network. Your account on lanternwp.com still lists the connection until you end it there.