Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

ConfigPress

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

Ecrãs

  • Simple configurations example
  • Simple configurations example with error

Instalação

  1. Upload “configpress” folder to the “/wp-content/plugins” directory
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. ConfigPress can be found under Settings menu

Perguntas frequentes

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

25 de Junho, 2017
I think this is good plugin to easy manage some website options. This is not really good solutions for clients, as they can broken something, but for developers that's fine. Also I think need use helper function over this plugin for gettings settings, to avoid site down in case disabling plugin.
3 de Setembro, 2016
This plugin solves a complicated tasks easily. Yes the same could be done with editing the database directly, but this makes it much easier. And for all of those who have problem with AAM's recommended use of this plugin must not be doing something correctly as it worked beautifully. Know what a plugin does and not just follow a simple tutorial without knowledge of what the plugin and tutorial is doing or else you will run into all sorts of problems.
3 de Setembro, 2016
Two guys without any considerations put two 1 start without even realizing that whatever they write as feedback, has nothing to do with ConfigPress. So with my another account I'm trying to increase the rating. Just because I can.
3 de Setembro, 2016
Honestly I think that any rating system sucks. 99% times it is based on somebody's opinion which is always a subject for discussion. So I rate myself 5 stars just because I can.
3 de Setembro, 2016
Everything worked fine before the change over and now when a plugin was not needed. THIS PLUGIN DOES NOT PLAY WELL WITH OTHER PLUGINS OR THEME OPTIONS When someone does find another type of AAM please let me know here. I loved this plugin and its functions BUT NOT ANYMORE I have to remove it from many client sites OR they will have broken sites.
3 de Setembro, 2016
I copied the code for defining admin users from AAM to ConfigPress but that crashed the whole website. I had to delete the plugin to get access to the website again. As there's no reaction on my support mail to AAM since two weeks, I always have to switch of AAM and can not install ConfigPress, to change the user rights and roles. I will now search for another plugin which can restrict the access better and is more user friendly (the usability of ConfigPress and AAM is horrible, but in the past the functions were ok).
Ler todas as 6 avaliações

Contribuidores e programadores

“ConfigPress” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Traduza o “ConfigPress” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registo 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