Define Constants
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) Pr
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
A closer look.
- 01Upload directory define-constants to the /wp-content/plugins/ directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress.
- 03Create some constants
- 04You are ready to go! Every file in your theme has access to your constant.
Frequently asked questions.
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.