Contents

1. Setting-up Server Configurations

2. Switcher control of Light/Dark

3. How to Update Plugin Included?

1. Setting-up Server Configurations

Memory limit:

To fix the issue, you need to edit the wp-config.php  file on your WordPress site. It is located in your WordPress site’s root folder, and you will need to use an FTP client or file manager in your web hosting control panel.

Next, you need to paste this code in wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’:

define( 'WP_MEMORY_LIMIT', '256M' );

Once you are done, you need to save your changes and upload your wp-config.php file back to your server.

Upload max file size:

You can update this issue in several ways:

  1. You can edit the file wp-config.php in the root directory of your WordPress installation and add this line of code:
    @ini_set( 'upload_max_size' , '64M' );
  1. Or, you can create or Edit an existing PHP.INI file, for this method you will need to access your WordPress site’s root folder by using FTP or File Manager app in your hosting account’s cPanel dashboard.
    In most cases if you are on a shared host, then 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 = 64M
  2. You may also change the value by editing the .htaccess file in the root directory of your website and add the following line
    php_value upload_max_filesize 64M

Note: If this solution does not work for you, then this means your web hosting service provider does not allow WordPress to increase PHP Upload max filesize limit. You will need to ask your web hosting provider to increase your PHP Upload max filesize limit manually.

Post max size:

You can fix this issue in several ways:

  1. You can edit the file wp-config.php in the root directory of your WordPress installation and add this line of code:
    @ini_set( 'post_max_size' , '64M' );
  2. Or, you can create or Edit an existing PHP.INI file, for this method you will need to access your WordPress site’s root folder by using FTP or File Manager app in your hosting account’s cPanel dashboard.
    In most cases if you are on a shared host, then 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:
    post_max_size = 64M
  3. You may also change the value by editing the .htaccess file in the root directory of your website and add the following line
    php_value post_max_size 64M

Max input vars:

You can fix this issue in several ways:

  1. You can edit the file wp-config.php in the root directory of your WordPress installation and add this line of code:
    @ini_set( 'max_input_vars' , '3000' );
  2. Or, you can create or Edit an existing PHP.INI file, for this method you will need to access your WordPress site’s root folder by using FTP or File Manager app in your hosting account’s cPanel dashboard.
    In most cases if you are on a shared host, then 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:
    max_input_vars = 3000
  3. You may also change the value by editing the .htaccess file in the root directory of your website and add the following line
    php_value max_input_vars 300

Max execution time:

You can fix this issue in several ways:

  1. You can edit the file wp-config.php in the root directory of your WordPress installation and add this line of code:
    @ini_set( 'max_execution_time' , '300' );
  2. Or, you can create or Edit an existing PHP.INI file, for this method you will need to access your WordPress site’s root folder by using FTP or File Manager app in your hosting account’s cPanel dashboard.
    In most cases if you are on a shared host, then 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:
    max_execution_time = 300
  3. You may also change the value by editing the .htaccess file in the root directory of your website and add the following line
    php_value max_execution_time 300

2. Switcher control of Light/Dark

Simply control the switcher and mode globally via:


OR control it for a specific page/post editor (override the global settings) via:





3. How to Update Plugin Included?

In order to update the plugins included in the theme you need to:

Way I, Update plugins via update new theme:

  1. Install the latest version of the theme.
  2. In WordPress Admin Panel => go to Plugins => Deactivate and Delete all the premium plugins, e.g : WPBakery Visual Composer, Slider Revolution, LayerSlider WP, etc... 
  3.  In WordPress Admin Panel => go to Appearance > Install Plugins and re-install all the premium plugins. Way II, Update plugins, but don't want update new theme:

If you don't want to update the theme but want to update the plugins.

  1. Re-download the newest version of the theme from ThemeForest, click the download button, and choose "All files & Documentation".
  2. Unzip theme package .zip file to a folder and find in theme package has a folder plugins.
  3. In WordPress Admin Panel => go to Plugins => Deactivate and Delete all the premium plugins, e.g : WPBakery Visual Composer, Slider Revolution, LayerSlider WP, etc... 
  4. In WordPress Admin Panel => go to Plugins => Add New => Upload Plugin => Install and Active plugins.

=> If you still need help with updating the plugins please create a ticket under category of your theme use.