Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

ConfigPress

Опис

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

Скріншоти

  • Simple configurations example
  • Simple configurations example with error

Встановлення

  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

Часті питання

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.

Відгуки

25.06.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.
03.09.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.
03.09.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.
03.09.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.
03.09.2016 1 reply
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.
03.09.2016 1 reply
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).
Прочитати всі 6 відгуків

Учасники та розробники

“ConfigPress” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “ConfigPress” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

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