{"id":12123,"date":"2018-12-05T08:57:40","date_gmt":"2018-12-05T08:57:40","guid":{"rendered":"https:\/\/kriesi.at\/documentation\/enfold\/?p=12123"},"modified":"2024-02-05T09:48:05","modified_gmt":"2024-02-05T09:48:05","slug":"import-demos","status":"publish","type":"post","link":"https:\/\/kriesi.at\/documentation\/enfold\/import-demos\/","title":{"rendered":"Import Demos"},"content":{"rendered":"\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-u6x7bv-5b839d06e739f181ac94d89a7d94f753\">\n#top .av-special-heading.av-u6x7bv-5b839d06e739f181ac94d89a7d94f753{\npadding-bottom:10px;\n}\nbody .av-special-heading.av-u6x7bv-5b839d06e739f181ac94d89a7d94f753 .av-special-heading-tag .heading-char{\nfont-size:25px;\n}\n.av-special-heading.av-u6x7bv-5b839d06e739f181ac94d89a7d94f753 .av-subheading{\nfont-size:15px;\n}\n<\/style>\n<div  class='av-special-heading av-u6x7bv-5b839d06e739f181ac94d89a7d94f753 av-special-heading-h1 blockquote modern-quote  avia-builder-el-0  el_before_av_hr  avia-builder-el-first '><h1 class='av-special-heading-tag '  itemprop=\"headline\"  >Import theme demos<\/h1><div class=\"special-heading-border\"><div class=\"special-heading-inner-border\"><\/div><\/div><\/div>\n<div  class='hr av-7gqfezu-03aa2491fcbf5ae86f407c1df9e9f4a7 hr-default  avia-builder-el-1  el_after_av_heading  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-qqgdei-8802cb28846ce72dae5148a9ca07dcc2 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock h-tag'  itemprop=\"text\" ><h2>Overview<\/h2>\n<\/div><\/section>\n<section  class='av_textblock_section av-lsbagx-122f33495785e9af9caab7e7f5653105 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>Enfold theme can be easily customized to look unique and beautiful, check out some of the <a href=\"http:\/\/www.kriesi.at\/themes\/enfold-overview\/\">Enfold demos<\/a>. The demo sites can be installed with just one click and it is easy to add your\u00a0content and build upon it.<\/p>\n<\/div><\/section>\n<div  class='hr av-lirh5l-e19bb8629a27c5e9d50a3519185f3a4d hr-default  avia-builder-el-4  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-lea0nl-3a7de5200a71d04baeedb368681f75c8 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h2>Import demos<\/h2>\n<\/div><\/section>\n<div  class='hr av-lirh5l-30-60c1aae390ced14bb9e2454b187b9960 hr-default  avia-builder-el-6  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-lea0nl-29-26c02b2b4927a3b6ee3aa2999a2382bc '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h3>Backup theme settings<\/h3>\n<\/div><\/section>\n<section  class='av_textblock_section av-lsbagx-31-f469d27aa638152d17dc6f869ea63f4e '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>Your WordPress theme can be customized to look and feel different from other sites by changing the default theme styles and settings. It may be a time-consuming process, but once you are happy with the changes it is recommended to back up and save your theme settings from Enfold &gt; Import\/Export tab.<\/p>\n<\/div><\/section>\n<div  class='hr av-lirh5l-28-0910bd7e60adf24f6548f25bfbd4eb21 hr-default  avia-builder-el-9  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-lea0nl-27-92614ef75f24e7b18a084e9eb36270d5 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h3>How to import a theme demo<\/h3>\n<\/div><\/section>\n<section  class='av_textblock_section av-lbyemh-6baa75f3d6c3cfb1df2ab558f8b8988e '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>Importing a demo site and customizing it is a great way to save you some development time. The demo sites can be imported from Enfold &gt; Import Demo.<\/p>\n<p><strong>NOTE<\/strong>:\u00a0 Most of the demos can be imported with all the demo contents. However, for some demos due to copyrights issue, you may have to add replacement images.<\/p>\n<p>Also, note that importing demo sites will <strong>reset the theme settings<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13100\" src=\"https:\/\/kriesi.at\/documentation\/enfold\/wp-content\/uploads\/sites\/22\/2018\/12\/demo-import.png\" alt=\"\" width=\"522\" height=\"358\" srcset=\"https:\/\/kriesi.at\/documentation\/enfold\/wp-content\/uploads\/sites\/22\/2018\/12\/demo-import.png 522w, https:\/\/kriesi.at\/documentation\/enfold\/wp-content\/uploads\/sites\/22\/2018\/12\/demo-import-300x206.png 300w\" sizes=\"auto, (max-width: 522px) 100vw, 522px\" \/><\/p>\n<p>You can simply hover on the demo you would like to import and click &#8220;Click to download and import&#8221; button and demo will be imported within a few minutes.<\/p>\n<p>By default, clicking the button downloads the demo file, imports it and then deletes the file. If you would like to handle the process manually, you can add following code to Functions.php file of your child theme and turn it into 3 step process with buttons to download, to import and to delete.<\/p>\n<pre><code>add_theme_support( 'avia_demo_store_downloaded_files' ); <\/code><\/pre>\n<\/div><\/section>\n<div  class='hr av-l3isu9-ec026f1c632e7f5f0625f7f44a058110 hr-default  avia-builder-el-12  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-lea0nl-26-195f8ff515307516e4392865143b95ce '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h3>How to manually import a theme demo<\/h3>\n<\/div><\/section>\n<section  class='av_textblock_section av-lbyemh-25-3ac65bd3bde9c3ffc67cd1e135ae45af '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><ul>\n<li>Please add following line to Functions.php file in Appearance &gt; Editor<\/li>\n<\/ul>\n<p><code>add_theme_support( 'avia_demo_store_downloaded_files' );<\/code><\/p>\n<ul>\n<li>Download the zip file of the demo you would like to import from <a href=\"https:\/\/github.com\/KriesiMedia\/enfold-library\/tree\/master\/demos\" rel=\"nofollow\">https:\/\/github.com\/KriesiMedia\/enfold-library\/tree\/master\/demos<\/a><\/li>\n<li>Extract it in \\uploads\\avia_demo_files\\ folder. If you are importing Enfold 2017 demo, files should be extracted inside \\enfold-2017\\ so it should look as \\uploads\\avia_demo_files\\enfold-2017\\<\/li>\n<li>Go to Enfold theme options &gt; Demo Import and import the demo<\/li>\n<\/ul>\n<\/div><\/section>\n<div  class='hr av-l3isu9-24-efe5a11af0e52c892fb655c59d895b6b hr-default  avia-builder-el-15  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-kw4jyp-648d87747c260b068a5ac971fb0ed8c5 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h3>How to import demos without losing the theme settings.<\/h3>\n<\/div><\/section>\n<section  class='av_textblock_section av-kw4jyp-21-be00c17255e4bcd60b92a714d47610a1 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>To import new demos without losing your current theme settings please try one of the below methods:<\/p>\n<p><strong>Export\/ Import theme settings.<\/strong><\/p>\n<ol>\n<li>First, export the theme settings from Enfold &gt; Import\/Export tab.<\/li>\n<li>Import the demo theme of your choice.<\/li>\n<li>Overwrite the new settings with your old setting by importing back the settings file we saved in step 1.<\/li>\n<\/ol>\n<p><strong>Import only the demo content using XML files<\/strong>.<\/p>\n<ol>\n<li>Import the demos manually using the XML files provided in the theme. This ensures that only the demo pages and posts are imported and not the theme settings.<\/li>\n<\/ol>\n<\/div><\/section>\n<div  class='hr av-l3isu9-22-6dc6ec84ca35f0f2581023aa953540c2 hr-default  avia-builder-el-18  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-khu8j5-12958f0f596ffc2c1574c6e1f5752c4e '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h3>How to import content from other demos<\/h3>\n<\/div><\/section>\n<section  class='av_textblock_section av-khu8j5-20-7036247a9e85bcddac3c3f877fedeb76 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>Enfold comes with several demos but only one demo can be imported at a time. If you are looking for a way to import specific content or pages from other demos here is how to do it:<\/p>\n<ol>\n<li>It is recommended not to perform this on a live site instead create a staging site or setup a <a href=\"https:\/\/kriesi.at\/documentation\/enfold\/install-wordpress-on-localhost\/\" target=\"_blank\" rel=\"noopener\">localhost site<\/a>.<\/li>\n<li>Import the required demo on your localhost or staging site.<\/li>\n<li>Edit and personalize the demo content or the page on your staging site to suit your live site.<\/li>\n<li>Enable <a href=\"https:\/\/kriesi.at\/documentation\/enfold\/intro-to-layout-builder\/#debug-mode\" target=\"_blank\" rel=\"noopener\">debug mode<\/a>\u00a0on the staging site.<\/li>\n<li>Copy the element shortcode from the page.<\/li>\n<li>Add the shortcode to your live site.<\/li>\n<li>Update the image or videos links if required.<\/li>\n<\/ol>\n<\/div><\/section>\n<div  class='hr av-kkxpnd-cd8ab70eb9244746b42ed4048c0b3aec hr-default  avia-builder-el-21  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-khu8j5-19-40bbb9701d48bd4a061d1ebb8daeb9c7 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h3>How to remove the Demo Import tab from theme options<\/h3>\n<\/div><\/section>\n<section  class='av_textblock_section av-khu8j5-17-f0b4f47ffbafb428a8443ee57bc9cd27 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>To remove the &#8220;Import Demo&#8221; tab from the theme options panel add the below function to your child theme functions.php file<\/p>\n<\/div><\/section>\n\n<div  class='hr av-kkxpnd-18-5ee5efb263d5b44d5780046e60cbc02e hr-default  avia-builder-el-25  el_after_av_codeblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-khu8j5-16-bf537d5bb9c4486b04e4658172dd2480 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h3>Remove Demo Data<\/h3>\n<\/div><\/section>\n<section  class='av_textblock_section av-k9vppt-e1d7ab445a9b35ea8d248ccead968e96 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>Sometimes after importing the demo data, you may wish to reset your WordPress site and start with a new Demo. Since the demo data is stored in the database, it is very easy to remove the demo data completely from the database by using a plugin like <a href=\"https:\/\/wordpress.org\/plugins\/wordpress-database-reset\/\">WordPress Database Reset<\/a><\/p>\n<\/div><\/section>\n<div  class='hr av-2bh8d7-f4c19dcd600deef2a622828a22561e1c hr-default  avia-builder-el-28  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-ls8qqeic-657d2e613a54a2a07aceacf449b8ed05 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h3>Shortcodes of demo pages<\/h3>\n<\/div><\/section>\n<section  class='av_textblock_section av-ls8r06sr-3c94d50ea7aef36da9169113221df7df '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>If you need shortcodes of a certain page of <a href=\"https:\/\/kriesi.at\/themes\/enfold-overview\/\">Enfold demos<\/a>, you can start a thread on our support forum and list those pages and we&#8217;ll provide the shortcodes.<\/p>\n<p>Alternatively, you can go to <a href=\"https:\/\/github.com\/KriesiMedia\/enfold-library\/tree\/master\/demos\" target=\"_blank\" rel=\"noopener nofollow\">Enfold GitHub Library<\/a>, download the xml of that demo, and search for the page ID ( page_id=123 ). You can find the avia shortcodes in between CDATA as <em>content:encoded.\u00a0<\/em><\/p>\n<p>This alternative was suggested by <a href=\"https:\/\/kriesi.at\/support\/topic\/docu-link\/\">Guenni007<\/a>.<\/p>\n<\/div><\/section>\n<div  class='hr av-k168zt-7235cfde05858300dcff22318fd58f5f hr-default  avia-builder-el-31  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-lea0nl-23-037497860f5f5db23a18cac2f740f7dc '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h2>Creating demos<\/h2>\n<\/div><\/section>\n<div  class='hr av-k168zt-13-055e217994e258b3073f317cef12b148 hr-default  avia-builder-el-33  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-khu8j5-15-71c857f109479bad32b1f28036614259 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h3>Theme Support for creating the demo files<\/h3>\n<\/div><\/section>\n<section  class='av_textblock_section av-k9vppt-14-21b2bd2bc90e76cb81e16d41cf89b690 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>Enfold offers support to help you create demo files and get feedback about errors. You can add constants <code>define( 'AVIA_XXX', true );<\/code>\u00a0to wp-config.php or e.g. functions.php to activate this support.<\/p>\n<p><strong><em>IMPORTANT INFORMATION:<\/em><\/strong>\u00a0When importing a demo and an ID in database table e.g. WP_Post already exists, then WP creates a new ID for this post. This can break your layout for e.g. ALB element id&#8217;s that point to images. To avoid this we recommend the following (<a href=\"https:\/\/mariadb.com\/kb\/en\/auto_increment\/\" rel=\"nofollow\">https:\/\/mariadb.com\/kb\/en\/auto_increment\/<\/a>): Use ALTER TABLE statement to assign a new value to the auto_increment table option for at least the WP_Post table, we would recommend 200 or higher before you start creating your demo.<\/p>\n<p><code>ALTER TABLE your_table_name AUTO_INCREMENT=200;<\/code><\/p>\n<p>This reduces the risk for a conflict when other plugins are needed. But check this value at least with the plugins you need. The SQL server always checks for the highest AUTO_INCREMENT value when inserting new posts later.<\/p>\n<ul>\n<li>Best start is to make a clean install<\/li>\n<li>Only activate plugins you need for your demo to keep it small<\/li>\n<li>Create your demo<\/li>\n<\/ul>\n<\/div><\/section>\n<div  class='hr av-k168zt-12-bfa1b767032174b238c7a171432aa54a hr-default  avia-builder-el-36  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-2v03ax-0d016ec607f1a3934fa80e369aab8817 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h2>Export demos<\/h2>\n<\/div><\/section>\n<section  class='av_textblock_section av-k9vppt-11-a36d0fafde013abaf0d59c279a027772 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><ul>\n<li>add\u00a0<code>define( 'AVIA_GENERATE_DEMO_PHP_FILE', true );\u00a0<\/code>to create php settings file for demo instead of regular theme settings txt file<\/li>\n<li>Goto Theme Options Page -&gt; Import\/Export\/.. -&gt; Button Export Theme Settings File to create the php file<\/li>\n<li>Goto Dashboard -&gt; Tools -&gt; Export -&gt; Export &#8220;All Content&#8221; to create the xml file<\/li>\n<li>add demo information to register-demo-import.php<\/li>\n<li>Bundle both files in a zip, name all files with &#8216;demo_name&#8217; used in register-demo-import.php<\/li>\n<li>Make a preview image, name it with &#8216;demo_img&#8217; used in register-demo-import.php<\/li>\n<li>Use plugin\u00a0<a href=\"https:\/\/wordpress.org\/plugins\/download-monitor\/\" target=\"_blank\" rel=\"noopener\">Download Monitor<\/a> to host the zip files<\/li>\n<li>Important: For images only a link is exported &#8211; so your export server must be online during import, otherwise images cannot be imported. See\u00a0<a href=\"https:\/\/mytechguy.co.nz\/wordpress\/how-to-export-posts\/\" rel=\"nofollow\">https:\/\/mytechguy.co.nz\/wordpress\/how-to-export-posts\/<\/a><\/li>\n<\/ul>\n<p>In case you do not want use\u00a0<code>define( 'AVIA_GENERATE_DEMO_PHP_FILE', true );\u00a0<\/code>or you need to export a LayerSlider you can call the following URL directly in your browser (you must be logged in):<\/p>\n<p><code>http:\/\/your_server\/wp-admin\/admin.php?page=avia&amp;avia_export=1<\/code><\/p>\n<p>or<\/p>\n<p><code>http:\/\/your_server\/wp-admin\/admin.php?page=avia&amp;avia_export=1&amp;layerslider=enfold_2017_slider<\/code><\/p>\n<\/div><\/section>\n<div  class='hr av-341uxd-1f539bdb68c9f5c11b12a48cda21efe5 hr-default  avia-builder-el-39  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-2v03ax-10-c1911d72fe7891a937fed32b0e019ff3 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h2>Troubleshoot<\/h2>\n<\/div><\/section>\n<div  class='hr av-341uxd-9-5bdece45be7c4b590089622318dca675 hr-default  avia-builder-el-41  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-2v03ax-8-d8b984deb44ea757eff510eb8e98760f '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h3>Imported demo site don&#8217;t look similar to live demos<\/h3>\n<\/div><\/section>\n<section  class='av_textblock_section av-2qmj8h-c87350282f1f0f66bfd19dc1dace9cc9 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>After importing the demos if your site is not displaying the demo site please check if a static homepage is set in WordPress Dashboard &gt; Settings &gt; Reading \u2013 if yes please deselect the static page option and select the correct homepage in Enfold &gt; Frontpage Settings.<\/p>\n<p>Importing the demo content won\u2019t reproduce the demo page exactly, but it imports the pages. Some of the content like images, etc, might not be imported due to license requirements and limitations of the import script, such as dynamic templates aren\u2019t supported by the demo content importer.<\/p>\n<p>Everything on the demo site is a combination of Advanced layout builder elements like Headings, Product Slider, Horizontal Ruler and much more.<\/p>\n<p>Importing a demo on a live site, where you have already set up pages, may cause issues and overwrite your current changes\/settings so it isn\u2019t recommended. The best way to see how things are set up in the demo is to create a test installation of WordPress, install the theme and then import the demos. This will install basic pages, posts, products and change all the settings to what the demo has.<\/p>\n<\/div><\/section>\n<div  class='hr av-2mfmd5-97efd6255664a4007968ebbd1a142e00 hr-default  avia-builder-el-44  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-2dwit5-66ffe9f634583411e3a72663aa2b0dfa '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h3>Demo import don&#8217;t work or demo data install error<\/h3>\n<\/div><\/section>\n<section  class='av_textblock_section av-28jhqh-4c1b580327d0f2826e619899c1b664ed '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>If the demo files fail to import, please set a higher memory limit in WordPress config file and if possible increasing the memory on the hosting server.<\/p>\n<p>Access wp-config.php file in the root directory and add the below line to increase the\u00a0WordPress memory limit.\u00a0For a detailed explanation please check <a href=\"http:\/\/codex.wordpress.org\/Editing_wp-config.php#Increasing_memory_allocated_to_PHP\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress Codex<\/a>.<\/p>\n<pre class=\"prettyprint\">define('WP_MEMORY_LIMIT', '256M');<\/pre>\n<\/div><\/section>\n<div  class='hr av-2mfmd5-7-bc12de02b6add4fba69835c09aef5601 hr-default  avia-builder-el-47  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-2dwit5-6-64bc8cda4e9aa126a9c4705007f03139 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h3>Failed to import<\/h3>\n<\/div><\/section>\n<section  class='av_textblock_section av-28jhqh-5-a04055269594edfdc4c0aee7085273c2 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>If you notice an error message &#8220;Failed to Import media&#8221; or &#8221; Media already exists&#8221;\u00a0basically the theme is saying that the files you are trying to import already exist so it is not able to import again.<\/p>\n<p>Please remove the old demo files by using a plugin like <a href=\"https:\/\/wordpress.org\/plugins\/wordpress-database-reset\/\" target=\"_blank\" rel=\"noopener\">Database\u00a0Reset<\/a>\u00a0 (warning all content will be deleted from your site). We recommend trying this only on new installation without any content.<\/p>\n<\/div><\/section>\n<div  class='hr av-2mfmd5-4-89241e0c9566229c8a339d7c5ba647d3 hr-default  avia-builder-el-50  el_after_av_textblock  el_before_av_textblock '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div>\n<section  class='av_textblock_section av-2dwit5-3-52df4ca99dbe02435a0859969e04601e '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><h3>Demo file exists<\/h3>\n<\/div><\/section>\n<section  class='av_textblock_section av-28jhqh-2-9642af3eea1c4baccf006778b06f4839 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>In case a demo file exists (e.g. delete did not work for any reason), the logic switches back to show the Delete button and Import instead &#8220;Download and import&#8221; button.<\/p>\n<p>In that case, you can simply click &#8220;Click to import&#8221; button to import the demo and after that use &#8220;Delete downloaded files&#8221; to delete demo files.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13105\" src=\"https:\/\/kriesi.at\/documentation\/enfold\/wp-content\/uploads\/sites\/22\/2018\/12\/demo-delete-import.png\" alt=\"\" width=\"523\" height=\"370\" srcset=\"https:\/\/kriesi.at\/documentation\/enfold\/wp-content\/uploads\/sites\/22\/2018\/12\/demo-delete-import.png 523w, https:\/\/kriesi.at\/documentation\/enfold\/wp-content\/uploads\/sites\/22\/2018\/12\/demo-delete-import-300x212.png 300w, https:\/\/kriesi.at\/documentation\/enfold\/wp-content\/uploads\/sites\/22\/2018\/12\/demo-delete-import-260x185.png 260w\" sizes=\"auto, (max-width: 523px) 100vw, 523px\" \/><\/p>\n<\/div><\/section>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"no","_lmt_disable":"","footnotes":""},"categories":[2,4],"tags":[],"class_list":["post-12123","post","type-post","status-publish","format-standard","hentry","category-documentation","category-getting-started-with-enfold","documentation","getting-started-with-enfold"],"modified_by":"Yigit","_links":{"self":[{"href":"https:\/\/kriesi.at\/documentation\/enfold\/wp-json\/wp\/v2\/posts\/12123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kriesi.at\/documentation\/enfold\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kriesi.at\/documentation\/enfold\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kriesi.at\/documentation\/enfold\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/kriesi.at\/documentation\/enfold\/wp-json\/wp\/v2\/comments?post=12123"}],"version-history":[{"count":42,"href":"https:\/\/kriesi.at\/documentation\/enfold\/wp-json\/wp\/v2\/posts\/12123\/revisions"}],"predecessor-version":[{"id":13639,"href":"https:\/\/kriesi.at\/documentation\/enfold\/wp-json\/wp\/v2\/posts\/12123\/revisions\/13639"}],"wp:attachment":[{"href":"https:\/\/kriesi.at\/documentation\/enfold\/wp-json\/wp\/v2\/media?parent=12123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kriesi.at\/documentation\/enfold\/wp-json\/wp\/v2\/categories?post=12123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kriesi.at\/documentation\/enfold\/wp-json\/wp\/v2\/tags?post=12123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}