Title: Define Constants
Author: ramon fincken
Published: <strong>11 de maig de 2011</strong>
Last modified: 22 de novembre de 2021

---

Buscar complements

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.

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

# Define Constants

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

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

 * [Detalls](https://ca-valencia.wordpress.org/plugins/define-constants/#description)
 * [Ressenyes](https://ca-valencia.wordpress.org/plugins/define-constants/#reviews)
 *  [Instal·lació](https://ca-valencia.wordpress.org/plugins/define-constants/#installation)
 * [Desenvolupament](https://ca-valencia.wordpress.org/plugins/define-constants/#developers)

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

## Descripció

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)

## Captures

[⌊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)

## Instal·lació

 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.

## PMF

### 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.

## Ressenyes

No hi ha ressenyes per a este complement.

## Col·laboradors i desenvolupadors

«Define Constants» és programari de codi obert. La següent gent ha col·laborat en
este complement.

Col·laboradors

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

[Traduïx «Define Constants» a la teua llengua.](https://translate.wordpress.org/projects/wp-plugins/define-constants)

### T’interessa el desenvolupament?

[Revisa el codi](https://plugins.trac.wordpress.org/browser/define-constants/) ,
dona una ullada al [repositori SVN](https://plugins.svn.wordpress.org/define-constants/)
o subscriu-te al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/define-constants/)
per [RSS](https://plugins.trac.wordpress.org/log/define-constants/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.2.1

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

#### 1.2

First public release

## Meta

 *  Versió **1.2.1**
 *  Última actualització **fa 5 anys**
 *  Instal·lacions actives: **40+**
 *  Versió de WordPress: ** 2.0.2 o posterior **
 *  Provat fins a **5.8.15**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/define-constants/)
 * Etiquetes
 * [constant](https://ca-valencia.wordpress.org/plugins/tags/constant/)[Constants](https://ca-valencia.wordpress.org/plugins/tags/constants/)
   [define](https://ca-valencia.wordpress.org/plugins/tags/define/)[defines](https://ca-valencia.wordpress.org/plugins/tags/defines/)
 *  [Vista avançada](https://ca-valencia.wordpress.org/plugins/define-constants/advanced/)

## Valoracions

No reviews have been submitted yet.

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

[Vore totes les ressenyes](https://wordpress.org/support/plugin/define-constants/reviews/)

## Col·laboradors

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

## Suport

Tens alguna cosa a dir? Necessites ajuda?

 [Vore els fòrums de suport](https://wordpress.org/support/plugin/define-constants/)

## Donar

T’agradaria donar suport al progrés d’este complement?

 [ Dona a este complement ](http://donate.ramonfincken.com)