Title: Define Constants
Author: ramon fincken
Published: <strong>11.05.2011</strong>
Last modified: 22.11.2021

---

Търсене на разширения

Това разширение **не е обновявано повече от 2 години**. Може вече да не се поддържа
и да има проблеми със съвместимостта при използването му на по-нови версии на WordPress.

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

# Define Constants

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

[Изтегляне](https://downloads.wordpress.org/plugin/define-constants.1.2.1.zip)

 * [Детайли](https://bg.wordpress.org/plugins/define-constants/#description)
 * [Оценки](https://bg.wordpress.org/plugins/define-constants/#reviews)
 *  [Инсталиране](https://bg.wordpress.org/plugins/define-constants/#installation)
 * [Разработка](https://bg.wordpress.org/plugins/define-constants/#developers)

 [Поддръжка](https://wordpress.org/support/plugin/define-constants/)

## Описание

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)

## Снимки на разширението

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

## Инсталиране

 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.

## ЧЗВ

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

## Отзиви

There are no reviews for this plugin.

## Сътрудници и разработчици

“Define Constants” е софтуер с отворен код. Към разширението са допринесли следните
хора:

Сътрудници

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

[Превеждане на “Define Constants” на вашия език.](https://translate.wordpress.org/projects/wp-plugins/define-constants)

### Имате интерес към разработване?

[Преглеждане на кода](https://plugins.trac.wordpress.org/browser/define-constants/),
разглеждане на [SVN хранилище](https://plugins.svn.wordpress.org/define-constants/),
или абонамент към [програмната история (log)](https://plugins.trac.wordpress.org/log/define-constants/)
чрез [RSS](https://plugins.trac.wordpress.org/log/define-constants/?limit=100&mode=stop_on_copy&format=rss).

## Списък с промени

#### 1.2.1

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

#### 1.2

First public release

## Мета

 *  Version **1.2.1**
 *  Last updated **Преди 4 години **
 *  Active installations **50+**
 *  WordPress version ** 2.0.2 или по-висока **
 *  Tested up to **5.8.13**
 *  Language
 * [English (US)](https://wordpress.org/plugins/define-constants/)
 * Tags
 * [constant](https://bg.wordpress.org/plugins/tags/constant/)[Constants](https://bg.wordpress.org/plugins/tags/constants/)
   [define](https://bg.wordpress.org/plugins/tags/define/)[defines](https://bg.wordpress.org/plugins/tags/defines/)
 *  [Разширен изглед](https://bg.wordpress.org/plugins/define-constants/advanced/)

## Оценки

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/define-constants/reviews/)

## Сътрудници

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

## Поддръжка

Имате да кажете нещо? Имете нужда от помощ?

 [Разглеждане на форумите за поддръжка](https://wordpress.org/support/plugin/define-constants/)

## Дарение

Бихте ли желали да подкрепите успеха на разширението?

 [ Направете дарение за това разширение ](http://donate.ramonfincken.com)