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

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Define Constants

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

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

 * [Detalls](https://ca.wordpress.org/plugins/define-constants/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/define-constants/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/define-constants/#installation)
 * [Desenvolupament](https://ca.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](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 aquesta extensió.

## Col·laboradors i desenvolupadors

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

Col·laboradors

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

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

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/define-constants/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/define-constants/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/define-constants/)
per [fisl de subscripció 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**
 *  Darrera actualització **fa 4 anys**
 *  Instal·lacions actives **50+**
 *  Versió del WordPress ** 2.0.2 o posterior **
 *  Provada fins a **5.8.13**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/define-constants/)
 * Etiquetes
 * [constant](https://ca.wordpress.org/plugins/tags/constant/)[Constants](https://ca.wordpress.org/plugins/tags/constants/)
   [define](https://ca.wordpress.org/plugins/tags/define/)[defines](https://ca.wordpress.org/plugins/tags/defines/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/define-constants/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

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

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

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

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

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](http://donate.ramonfincken.com)