At Themeum, we demonstrate a standard demo site built using every theme we develop. It shows the users how beautifully they can build a website with the theme offered by Themeum. Relevant demo contents are provided with individual themes. You get the demo files inside the theme package. Today I’ll show how to import these demo contents.
First of all, please note, the demo images and texts are not permitted/supposed to be used on commercial/live sites. You can just use them for gathering an idea of how to well organize your site.
Alright, after installing a Themeum theme, activate it. Once you activate the theme, it will prompt to install dependency plugins. Install those plugins and activate. Now you are ready to start importing demo contents.
Step 1: Import the XML File
After unzipping the main downloaded theme folder, you will get several folders inside it. Here we’ve used our Eventum theme for this tutorial. The main demo elements are provided normally in ‘Demo Content’, ‘Demo Widgets Settings’ and ‘Theme Options’ folders.
At first, we will import the demo data provided via an XML file inside the ‘Demo Content’ folder. So go to WordPress Dashboard > Tools > Import > WordPress. It will prompt to install the WordPress Importer plugin.
Install, activate the plugin and run importer.
You will get a screen to choose a file and upload. Select the XML file you got inside the Demo Content folder of the main theme directory you downloaded.
After pressing the ‘Upload file and import’ button, you will get some import options. You can choose to import the demo author as is or assign the demo contents to an existing author. There is an option to download and import the attachments used in the demo. Select it to get the demo images, videos etc. Finally, click the Submit button and it will start importing.
After importing demo contents from the XML document, the following screen will be displayed.
It’s time to move next.
Step 2: Import Demo Widget Settings
Go to WordPress Dashboard > Tools > Widget Settings Import. It will bring the following page.
Select the ‘.json’ file found inside the ‘Demo Widget Settings’ folder.
Then click ‘Show Widget Settings’ button. You will get a page like the following one.
Hit ‘Select All Active Widgets’ and then click ‘Import Widget Settings’. A success message “All widgets with registered sidebars have been imported successfully.” will be displayed.
Step 3: Import Theme Options
Here we’ll import theme settings. Go to WordPress Dashboard > Theme Options > Import / Export. It will bring a page like the following.
Firstly click the ‘Import from file’ button. It will open a form. Now go to the main theme directory which you’ve downloaded earlier. Open the Theme Options folder. You will get a .json file there. Open it with a text editor. Copy all code inside the .json file and paste them into the theme options importer form. Click the import button and finally save changes.
So the demo import completes here. Now we’ll set the default homepage (which we’ve just imported). Again visit the WP Dashboard > Settings > Reading. Set ‘Front page displays’ as ‘A static page’. Select ‘Home – Conference’ as the static homepage.
Save changes. Also set menus from Appearance > Menus > Manage Locations. It’s all done.
Here is our output.
So this post shows you the way to import a theme’s demo contents. Although I’ve used Eventum in this example, you can follow the similar method for other Themeum themes as well.
aletz23
Hi, first of all congrats for the great job 🙂
I’ve installed the them and works fine, the problem is when I try import demo data, I’m following the steps of this tutorial, but when I’m doing the import of XML file (when is downloading the data of your server) i get this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Any idea about how to solve it ??
Thanks in advance,
Arafat Bin Sultan
Hello,
It seems that there is a problem with your server. Please try to import the demo on localhost. If the error persists, post a question on our forums (http://www.themeum.com/questions/) so the tech support team can assist you.
Thanks.
Hasnain
hey there… I have installed enter theme and also imported demo xml file in my wordpress but after importing got completed everything is fine but when we click on any of the menu option it do not respond..please tell me what to do..
hey i am expecting a reply from your side..please reply me….for reference i am giving below the link of our testing implementation website so just go through it and click on any of the option in menu like Home , About us , Team etc. it is just dead. It should scroll down to that particular section but nothing happens.
Reference link :- http://dhanuka.info/testapp/
Anonymous
Awesome tutorial, perfectly explained. Thanks a lot!
arafat
Most welcome! Thank you too for visiting us 🙂