One Click Demo Import
One Click Demo Import
  1. 1.
    Make sure you have installed all recommended plugins before importing sample data.
  2. 2.
    Before importing data please check your maximum file upload size limit. To check this please follow these steps:-
    Go to Media-> Add new(In your Admin Panel)
3. Before importing data please add the following line in the wp-config.php file.
define('FS_METHOD', 'direct');
You may also need to increase file upload size and max execution time to import content.
  • upload_max_filesize = 128M
  • post_max_size = 128M
  • max_execution_time = 120
Different methods to modify file upload max size:
  1. 1.
    Theme Function File
    There are cases where we have seen that just by adding the following code in the theme function’s file, you can increase the upload size:
    @ini_set( 'upload_max_size' , '128M' ); @ini_set( 'post_max_size', '128M'); @ini_set( 'max_execution_time', '120' );
  2. 2.
    Create or Edit an existing PHP.INI file
    In most cases if you are on a shared host, you will not see a php.ini file in your directory. If you do not see one, then create a file called php.ini and upload it in the root folder. In that file add the following code:
    upload_max_filesize = 128M post_max_size = 128M max_execution_time = 120
  3. 3.
    htaccess Method:
    Some people have tried using the htaccess method where by modifying the .htaccess file in the root directory, you can increase the maximum upload size in WordPress. Open or create the .htaccess file in the root folder and add the following code: php_value upload_max_filesize 128M php_value post_max_size 128M php_value max_execution_time 300 php_value max_input_time 300
    Again, it is important that we emphasize that if you are on a shared hosting package, then these techniques may not work. In that case, you would have to contact your web hosting provider to increase the limit for you.
4. After Installing and activate the plugin you will seen an option under appearance "Import Demo Data". Click on it see all available demo content options.
5. Click on the import demo data button.
6. The import process may take several minutes due to large data and your server capacity. If your server setting "Max Execution Time" is too low, increase it using php.ini or ask your hosting provider to increase it. Please do not close the browser until it finishes. If it fails, you can run this process again until seeing the "Success Message". Image are not the part of theme package, they are only for demo purposes so you may see some blurred images on your site after importing the demo data.
7. If you have to run the process more than once, menu items may be duplicated. Just go to Appearance > Menus and edit/delete Main Menu items
8. It is better to install sample data on a fresh WordPress installation. Therefore, you may want to reset your site to default settings. Install and use WordPress Reset plugin to do that. After installed, go to Tools > Reset
Copy link