Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

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

Captures d’écran

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.

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs & développeurs

« Define Constants » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Define Constants » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

1.2.1

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

1.2

First public release