Title: Define Constants
Author: ramon fincken
Published: <strong>11 maio, 2011</strong>
Last modified: 22 novembro, 2021

---

Pesquisar plugins

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

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

# Define Constants

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

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

 * [Detalhes](https://br.wordpress.org/plugins/define-constants/#description)
 * [Avaliações](https://br.wordpress.org/plugins/define-constants/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/define-constants/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/define-constants/#developers)

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

## Descrição

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 de tela

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

## Instalação

 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.

## Perguntas frequentes

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

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“Define Constants” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

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

[Traduzir o “Define Constants” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/define-constants)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/define-constants/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/define-constants/)
ou assine o [registro de desenvolvimento](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).

## Registro de alterações

#### 1.2.1

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

#### 1.2

First public release

## Meta

 *  Versão **1.2.1**
 *  Última atualização **5 anos atrás**
 *  Instalações ativas **50+**
 *  Versão do WordPress ** 2.0.2 ou superior **
 *  Testado até **5.8.13**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/define-constants/)
 * Tags
 * [constant](https://br.wordpress.org/plugins/tags/constant/)[Constants](https://br.wordpress.org/plugins/tags/constants/)
   [define](https://br.wordpress.org/plugins/tags/define/)[defines](https://br.wordpress.org/plugins/tags/defines/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/define-constants/advanced/)

## Classificações

Ainda não foi enviada nenhuma avaliação.

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

[Ver todas avaliações](https://wordpress.org/support/plugin/define-constants/reviews/)

## Colaboradores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/define-constants/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](http://donate.ramonfincken.com)