Acest modul nu a fost testat cu ultimele 3 versiuni importante ale WordPress. S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate când este folosit cu versiuni recente ale WordPress.

ConfigPress

Descriere

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

Capturi ecran

  • Simple configurations example
  • Simple configurations example with error

Instalare

  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

Întrebări frecvente

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.

Recenzii

25 iunie 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 septembrie 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 septembrie 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 septembrie 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 septembrie 2016 1 răspuns
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 septembrie 2016 1 răspuns
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).
Citește toate cele 6 recenzii

Contributori și dezvoltatori

„ConfigPress” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

Tradu „ConfigPress” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

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