Title: Define Constants
Author: ramon fincken
Published: <strong>می 11, 2011</strong>
Last modified: نوامبر 22, 2021

---

جستجوی افزونه‌ها

این افزونه **با آخرین 3 نسخه اصلی وردپرس تست نشده است**. ممکن است دیگر نگهداری یا
پشتیبانی نشود و ممکن است هنگام استفاده با نسخه های جدیدتر وردپرس مشکلات سازگاری 
داشته باشد.

![](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://fa-af.wordpress.org/plugins/define-constants/#description)
 * [نقد و بررسی‌ها](https://fa-af.wordpress.org/plugins/define-constants/#reviews)
 *  [نصب](https://fa-af.wordpress.org/plugins/define-constants/#installation)
 * [توسعه](https://fa-af.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⌉⌊Default view
Fullscreen Screenshot 1⌉[

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.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“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/), یا
مشترک شوید [گزارش توسعه](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 **5 سال پیش**
 *  Active installations **40+**
 *  WordPress version ** 2.0.2 یا بالاتر **
 *  Tested up to **5.8.15**
 *  Language
 * [English (US)](https://wordpress.org/plugins/define-constants/)
 * Tags
 * [constant](https://fa-af.wordpress.org/plugins/tags/constant/)[Constants](https://fa-af.wordpress.org/plugins/tags/constants/)
   [define](https://fa-af.wordpress.org/plugins/tags/define/)[defines](https://fa-af.wordpress.org/plugins/tags/defines/)
 *  [نمایش پیشرفته](https://fa-af.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)