• Home
  • Contact Me
  • Store
WordPress Tavern
Where Every Drink Is On The House
Browse: Home / constants
Editing WP-Config From Within WordPress

Editing WP-Config From Within WordPress

By Jeffro on May 29, 2012

If you’re tired of uploading WP-Config.php after each change you make, consider using a brand new plugin by Dgwyer called Config Constants. It currently has support for nine commonly used constants with more possibly being added in the future. While the plugin does not actively add constants to WP-Config.php, it provides a way for you to enable/disable the ones that are discovered. The options for the plugin are fairly straightforward as you can see via the following screenshot:

Config Constants Options

One of the coolest features of this plugin is the information icon next to each constant which is linked directly to its corresponding Codex page. One other nice feature is the ability for two-way editing:

Also, a key feature of the Plugin is the support for two-way editing. This means you can still edit wp-config.php constants manually if you wish and your changes will be automatically synchronized with Plugin settings. Likewise, if you update the value of a constant via the Plugin options page then wp-config.php is immediately updated.

While I’m not sure how many power users are going to bypass their usual method of changing/uploading the WP-Config file to installing this plugin to perform the changes, at least the plugin exists for those that prefer to go this way. Just remember to backup the original WP-Config file, just in case. If you would like to give Dgwyer direct feedback concerning this plugin, you can do so in the comments or via the following forum thread.

Posted in Plugins | Tagged config, constants, plugin | 5 Responses

Collection Of WordPress Constants

By Jeffro on December 28, 2011

Developers are going to want to add this page to their list of resources. Dominik Schilling has written a guest post for WPEngineer.com that covers a wide range of constants that can be used with WordPress. I’ve used and seen many of those constants defined within the WP Config file. It’s pretty cool to see such a wide range of constants available to change the behaviour of WordPress all in one place.    ∞

Posted in WordPress | Tagged constants, links, resources

© Copyright WPTavern 2012 All rights reserved About / Poll Archive / Site Archive // Powered by WordPress Mtn. Dew And Hybrid