Title: Define Constants
Author: ramon fincken
Published: <strong>11 mei 2011</strong>
Last modified: 22 november 2021

---

Plugins zoeken

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

![](https://s.w.org/plugins/geopattern-icon/define-constants.svg)

# Define Constants

 Door [ramon fincken](https://profiles.wordpress.org/ramon-fincken/)

[Download](https://downloads.wordpress.org/plugin/define-constants.1.2.1.zip)

 * [Details](https://nl.wordpress.org/plugins/define-constants/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/define-constants/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/define-constants/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/define-constants/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/define-constants/)

## Beschrijving

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](https://wordpress.org/extend/plugins/profile/dvankooten)
[MijnPress.nl](http://www.mijnpress.nl) [Twitter profile](http://twitter.com/#!/ramonfincken)
[More plugins](https://wordpress.org/extend/plugins/profile/ramon-fincken)

## Schermafbeeldingen

[⌊Default view
Fullscreen Screenshot 1⌉⌊Default view
Fullscreen Screenshot 1⌉[

Default view [Fullscreen Screenshot 1](https://s.w.org/extend/plugins/define-constants/screenshot-1.png)

## Installatie

 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/](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.

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“Define Constants” is open source software. De volgende personen hebben bijgedragen
aan deze plugin.

Bijdragers

 *   [ ramon fincken ](https://profiles.wordpress.org/ramon-fincken/)

[Vertaal “Define Constants” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/define-constants)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/define-constants/), 
haal de [SVN repository](https://plugins.svn.wordpress.org/define-constants/) op,
of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/define-constants/)
via [RSS](https://plugins.trac.wordpress.org/log/define-constants/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.1

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

#### 1.2

First public release

## Meta

 *  Versie **1.2.1**
 *  Laatst geüpdatet **5 jaar geleden**
 *  Actieve installaties **40+**
 *  WordPress versie ** 2.0.2 of nieuwer **
 *  Getest t/m **5.8.17**
 *  Taal
 * [English (US)](https://wordpress.org/plugins/define-constants/)
 * Tags
 * [constant](https://nl.wordpress.org/plugins/tags/constant/)[Constants](https://nl.wordpress.org/plugins/tags/constants/)
   [define](https://nl.wordpress.org/plugins/tags/define/)[defines](https://nl.wordpress.org/plugins/tags/defines/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/define-constants/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

[Je beoordeling](https://wordpress.org/support/plugin/define-constants/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/define-constants/reviews/)

## Bijdragers

 *   [ ramon fincken ](https://profiles.wordpress.org/ramon-fincken/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/define-constants/)

## Doneren

Wil je de groei van deze plugin ondersteunen?

 [ Doneer aan deze plugin ](http://donate.ramonfincken.com)