Theme Requirements

3 min read


To ensure the theme works seamlessly on your website, it’s essential to understand that its performance is influenced by several factors, including host performance, server configuration, and traffic volume. Below are the recommended requirements and settings to optimize the theme’s functionality.

Server Requirements #

  • WordPress: Version 6.5 or later
  • Web Server: Apache or Nginx
  • PHP Memory Limit: Minimum 64MB (Recommended: 96MB)
  • PHP Version: 7.0 or greater
  • MySQL Version: 5.7 or greater
  • Optional: Apache mod_rewrite module


For optimal performance, it’s advisable to configure your server with the following settings:

  • Caching Plugin: We recommend using WP Super Cache.
  • PageSpeed Optimization: Follow our guide on PageSpeed optimization.

Hosting Requirements #

As a general rule, if WordPress performs fine on your host, the theme should, too. Next, we present you a list of common hosts and the traffic you can expect to host on them.

Please note that the numbers quoted here do not represent a guarantee, as the hosting performance depends on your WordPress configuration, plugin configuration, and general OS configuration. All numbers assume that you use a caching plugin like WP Super Cache. Also, a CDN solution like Cloudflare should help you a lot.

  • GoDaddy or Other Budget Shared Hosting:
    • Can handle 1,000 – 2,000 unique users per day
    • May struggle with traffic spikes
    • Recommended to use a minimal number of plugins
  • Budget VPS:
    • Can handle 2,000 – 4,000 unique users per day
    • May struggle with traffic spikes
    • Invest in as much RAM as possible
  • High-Performance VPS:
    • Can handle 4,000 – 6,000 unique users per day
    • Should have more than 4GB of RAM
    • With proper configuration and sufficient RAM, can manage traffic spikes effectively
  • Dedicated Server:
    • Can handle 6,000+ unique users per day
    • Recommended to have at least 8GB of RAM
    • Should manage traffic spikes efficiently

I) WP-Config Settings #

  • WP Memory Limit:
    • This parameter defines the amount of memory PHP can use. By default, WordPress is limited to 40MB. To avoid “Memory Exhausted” errors, set this parameter to at least 256MB by adding the following line to your wp-config.php file:phpCopy codedefine('WP_MEMORY_LIMIT', '256M');
  • WP Debug:
    • This option is intended for development purposes and controls error and warning reporting. It may display unwanted messages on your site, so it is recommended to disable it by setting it to false:phpCopy codedefine('WP_DEBUG', false);

II) Php.ini Parameters #

To ensure smooth operation of the theme, you may need to adjust the following parameters in your php.ini file or .htaccess file:

  • max_input_vars: This defines the maximum number of input variables allowed. The default value is 1000, which may cause issues when saving large menus. We recommend increasing this to 2000 or more.
  • max_execution_time: This sets the maximum execution time for a script. The theme’s demo import process may require more time, so increase this to 60 seconds or more.
  • post_max_size: This limits the maximum size of post data, which also affects file uploads.
  • upload_max_filesize: To upload larger files (e.g., plugin .zip files), increase this value.

Here are the recommended settings:

phpCopy codephp.ini

max_input_vars = 5000
max_execution_time = 300
post_max_size = 50M
upload_max_filesize = 50M

Alternatively, you can use .htaccess:

apacheCopy code.hthaccess

php_value max_input_vars 5000
php_value max_execution_time 300
php_value post_max_size 50M
php_value upload_max_filesize 50M

Note: Always check your host’s documentation before making these changes to ensure compatibility and locate the correct php.ini file, as its location can vary between servers.

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *