This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Define Constants

Description

GUI in backend to define constants without any programming knowledge. Every file in your theme has access to your constant.
No need to edit a functions.php file or a separate plugin file anymore
Results in constants like: define(‘MY_CONSTANT’,$value);

Options: Re-arrange constants (Drag and drop)
Protect constants as “internal value”
Optional description per constant 🙂

Coding by:
Danny van Kooten
MijnPress.nl Twitter profile More plugins

Screenshots

Installation

  1. Upload directory define-constants to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Create some constants
  4. You are ready to go! Every file in your theme has access to your constant.

FAQ

How does this plugin work?

If you have a contstant named MY_TWITTER_URL … You can use something like this in your PHP template file: <a href="<?php echo MY_TWITTER_URL;?>">Twitter</a>
Or install a PHP in post plugin and use

I have a lot of questions and I want support where can I go?

http://pluginsupport.mijnpress.nl/ or drop me a tweet to notify me of your support topic over here.
I always check my tweets, so mention my name with @ramonfincken and your problem.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Define Constants” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Define Constants” into your language.

Interested in development?

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

Changelog

1.2.1

Bugfix: Style extra div removal. Thanks to Alex for reporting

1.2

First public release