Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.


Mô tả

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

Ảnh màn hình

  • Simple configurations example
  • Simple configurations example with error

Cài đặt

  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

Hỏi đáp

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.

Đánh giá

25 Tháng Sáu, 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 Tháng Chín, 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 Tháng Chín, 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 Tháng Chín, 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 Tháng Chín, 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 Tháng Chín, 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).
Đọc tất cả 6 đánh giá

Người đóng góp & Lập trình viên

“ConfigPress” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi


  • 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


  • Added extra check for the PHP version


  • Initial version