Config Options

Important Note:  The contents of this document applies ONLY to version 5.x.x of Simple:Press.  It likely does NOT apply to version 6.x.x (our latest version).

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.

Posted in