Descrição
ConfigPress is a development tool with the main intent to avoid any hard-coding and give an easy and flexible interface to manage all your website custom settings (options).
With ConfigPress you can define your own custom option or group of options and retrieve them in your code by simply calling ConfigPress::get(‘option_name’) method. This way you do not have to hard-code any sensitive or environment specific options in your custom code.
For more information check ConfigPress Reference
Imagens de tela
Instalação
- Upload “configpress” folder to the “/wp-content/plugins” directory
- Activate the plugin through the “Plugins” menu in WordPress
- ConfigPress can be found under Settings menu
FAQ
- How to use ConfigPress?
-
ConfigPress is based on INI configuration format. Define your custom options or group of options and get them in your code with ConfigPress::get(‘option_name’) method.
- What is configuration section?
-
The section appears on a line by itself, in square brackets ([ and ]) and is used to group options. In order to get an option in a section call ConfigPress::get(‘section_name.option_name’) method.
Avaliações
Contribuidores e desenvolvedores
“ConfigPress” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.
ContribuidoresTraduzir “ConfigPress” para o seu idioma.
Interessado no desenvolvimento?
Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.
Registro de alterações
0.3
- Fixed small issue with default option so no more “Array” as default value
- Fixed plugin’s language domain
- Fixed a small bug with INI validation
- Updated language file
- Changed color-palette for INI editor
- Updated Codemirror library to 5.7.0
- Updated screenshots
0.2
- Added extra check for the PHP version
0.1
- Initial version