Title: Define Constants
Author: ramon fincken
Published: <strong>11 de Maio, 2011</strong>
Last modified: 22 de Novembro, 2021

---

Buscar plugins

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

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

# Define Constants

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

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

 * [Detalles](https://gl.wordpress.org/plugins/define-constants/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/define-constants/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/define-constants/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/define-constants/#developers)

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

## Descrición

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)

## Capturas

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

## Instalación

 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.

## Preguntas frecuentes

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

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“Define Constants” é un software de código aberto. As seguintes persoas colaboraron
con este plugin.

Colaboradores

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

[Traduce “Define Constants” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/define-constants)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/define-constants/),
bota unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/define-constants/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/define-constants/)
por [RSS](https://plugins.trac.wordpress.org/log/define-constants/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 1.2.1

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

#### 1.2

First public release

## Meta

 *  Versión **1.2.1**
 *  Última actualización **Fai 5 anos**
 *  Instalacións activas **40+**
 *  Versión de WordPress ** 2.0.2 ou superior **
 *  Probado ata **5.8.17**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/define-constants/)
 * Etiquetas
 * [constant](https://gl.wordpress.org/plugins/tags/constant/)[Constants](https://gl.wordpress.org/plugins/tags/constants/)
   [define](https://gl.wordpress.org/plugins/tags/define/)[defines](https://gl.wordpress.org/plugins/tags/defines/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/define-constants/advanced/)

## Valoracións

Aínda non se enviaron valoracións.

[A túa valoración](https://wordpress.org/support/plugin/define-constants/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/define-constants/reviews/)

## Colaboradores

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

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/define-constants/)

## Doar

Queres apoiar o progreso deste plugin?

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