Configuration options

In line with WordPress, there exist a small number of configuration options that can be optionally set in the WordPress configuration file – wp-config.sys. Mostly these will never be needed but they are available if required and are each described below. They are all standard php define statements and are used in the same way that other defined constants used by WordPress are created – with the one exception – all using the terms true and false.

SP_SCRIPTS_DEBUG – default false
This can be used to force Simple:Press to load the development versions of JavaScript files making debugging easier. Under most general conditions there is no reason to turn this option on.

SP_SHOWNOTICES – default false
This can be used to force Simple:Press to write out any php NOTICE type messages to the php error log on the site’s server. These can, sometimes, be numerous and can take up valuable space. They are also already reported in the Simple:Press error log – found in the administration toolbox section.

SF_PREFIX – default WordPress table prefix
This can be used – if desired – to separate Simple:Press tables by giving them a unique table prefix. The natural default is that all tables get created using the standard WP prefix as set by the $table_prefix variable in the WP config file.


White Label & SaaS Options

  • SP_WHITE_LABEL
  • SP_SAAS

Read more about these options in the What’s New In Simple:Press Forums 6.6.0 Article.


Dangerous Options

SP_ALLOW_THEME_EDITOR – default false

This option activates the theme editor.  DO NOT TURN THIS ON unless you trust your admins since it will allow the admin to write to ANY file in the WP installation. And, if the web server or php configuration is insecure, potentially allow writes to any file on the server!

With sFTP access common across hosts there is no real valid reason to allow this option to your admins/users.