Define Constants
GUI in backend to define constants without any programming knowledge. Every file in your theme has access to your constant.
Plugin info
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 1500 days ago
Is Define Constants abandoned?
Possibly abandoned (last update 1500 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
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
Installation
- Upload directory
define-constantsto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Create some constants
- You are ready to go! Every file in your theme has access to your constant.
Frequently Asked Questions
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
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.
Review feed
Screenshots

Default view Fullscreen Screenshot 1
Changelog
1.2.1
Bugfix: Style extra div removal. Thanks to Alex for reporting
1.2
First public release