Importing demos (starter sites)

Estimated reading time: 2 min

Note: If you have demo ideas or requests, please contact us.

What exactly is “demo data”?

Demo data is just content that’s pre-defined already in one of our demos. It’s helpful when you don’t want to start working from scratch.

Importing demos is pretty straightforward and simple and will install plugin dependencies along the way.

Importing

To import pre-made sites, you need to register Rey with license key. To register, either follow the Setup wizard or simply access the theme’s dashboard in WordPress admin > Rey Theme.

Access Rey Theme > Starter Sites submenu item. Here you will find all the demos listed, eg:

Simply click on one of the demo data’s Import button and a popup confirmation should display, asking to choose what type of sample data to include.

When you import the data, the following things might happen:

  • Please click on the Import button only once and wait, it can take a couple of minutes for the import to be finished.
  • No existing posts, pages, categories, images, custom post types or any other data will be deleted or modified.
  • Posts, pages, images, widgets, menus and other theme settings will get imported.
  • If you import the same demo, the content will be duplicated.

Importing a demo (after you previously imported another one)

If you want to keep the existing site data, you can access Rey theme > Starter Sites and just import the other demo. This method might cause some issues in the sense there might be duplicated pages and content and sadly there’s no way of an automatic cleanup, just manual.

If you want to start completely from scratch, you can use WP Reset plugin and wipe off everything (database only, files remain) and start again by activating Rey theme and following the wizard steps as well as importing the other demo eventually.


Importing parts of another demo (without importing a new demo)

Here’s a quick video here recording importing a Header, Footer and Homepage in another demo eg: Tokyo to Athens .

As you can see Rey’s template library is being used to import Elementor built parts of the site.


Troubleshooting

Internal Server Error

In case importing throwing an Internal Server Error, please try inserting the code line below in the child theme’s functions.php or (if no child theme active) in wp-config.php file and paste the following line (somewhere before WP_DEBUG ex: screenshot ):

define('REY_IMPORTER_ITEMS_PER_TASK', 30);

This increases how many items to import per task. By default it’s 8. Basically it increases the processing but should stay in the 30s default php timeout setting.

Stuck on “Processing Attachments”

When this happens, usually there’s a PHP error in the ajax response ex: "simplexml_load_file() https:// wrapper is disabled in the server configuration by allow_url_fopen=0" .

To solve this error, try reaching out to your hosting’ support and ask them to enable allow_url_fopen PHP configuration directive.

If you’re an experienced user and feel comfortable editing configuration files, there are several tutorials online such as this one .

GoDaddy hosted site, stuck on a processing step

For some reason, on (some) GoDaddy hosted websites, there’s a problem with WordPress transients (meaning they don’t persist), and it causes the importer to fail.

To fix it, please paste the code below into the child theme’s functions.php (or code snippets plugin) and retry importing afterwards.

add_filter('reycore/importer/maybe_fix_transients', '__return_true');

Show comments and replies (closed)Hide comments and replies

Left here between 2020 and 2022, when comments were open. The answers were written then and may describe a version of Rey that has changed since.

  1. Ola

    Hello, I guess i have installed multiple demos in error as I presently have 2 "home buttons, and shop in my header. All I wasn't is the Milano demo. The site is:

  2. MariusRey

    Hey there! Could you please use the support form https://support.reytheme.com/new/ and create an admin account for me so i can also take a closer look? Thanks!

  3. David

    Hello, I just imported the Milano demo but had a problem with the widget files.... i want to import it again to see if the file downloads correctly. How can I do so without causing this: "If you import the same demo, the content will be duplicated."

  4. MariusRey

    Hi there!

    Unfortunately there's no way around this. The One Click Demo Import plugin requires sites to be clean before importing a new demo. You can try using the WP Reset plugin which resets your site's DB, but keeps all files intact.

    Marius

  5. Pete

    I try clicking on import demo files and nothing happens, i'm sure this is not a "rey template" issue... i was just wondering if this is common????

  6. MariusRey

    Hey!

    Is there any notice above the demos? Something like outdated PHP version or requiring to disable a certain plugin? If not, please create a new support request here https://support.reytheme.com/new/ and create a temporary admin account for me so i can investigate what's going on.

    Thanks!
    Marius

  7. Sven

    The more interesting question is, is the database and the storage full of demo data? if so, how do you get rid of it completely and cleanly?

  8. MariusRey

    Hey Sven,

    If you imported multiple times without using WP Reset, unfortunately the only way to do it is manually. If however you want to start over and import a new demo, WP Reset plugin is the best plugin for that.

  9. Edgar

    Hello, I found a message today that said,

    This is a demo store for testing purposes - no orders shall be fulfilled.
    Dismiss

    I would like to know how I can delete this message,
    Thanks a lot.

  10. MariusRey

    Hey Edgar! Please try accessing Customizer > WooCommerce > Store notice and make sure to disable it.

Was this article helpful?