Title: Define Constants
Author: ramon fincken
Published: <strong>11 Tháng 5, 2011</strong>
Last modified: 22 Tháng 11, 2021

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# Define Constants

 Bởi [ramon fincken](https://profiles.wordpress.org/ramon-fincken/)

[Tải về](https://downloads.wordpress.org/plugin/define-constants.1.2.1.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/define-constants/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/define-constants/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/define-constants/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/define-constants/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/define-constants/)

## Mô tả

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)

## Ảnh màn hình

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

## Cài đặt

 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.

## Hỏi đáp

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

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Define Constants” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

[Dịch “Define Constants” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/define-constants)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/define-constants/), check
out [SVN repository](https://plugins.svn.wordpress.org/define-constants/), hoặc 
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/define-constants/)
qua [RSS](https://plugins.trac.wordpress.org/log/define-constants/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.2.1

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

#### 1.2

First public release

## Meta

 *  Phiên bản **1.2.1**
 *  Cập nhật lần cuối **5 năm trước**
 *  Số lượt cài đặt **40+**
 *  Phiên bản WordPress ** 2.0.2 hoặc cao hơn **
 *  Đã kiểm tra lên đến **5.8.15**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/define-constants/)
 * Thẻ
 * [constant](https://vi.wordpress.org/plugins/tags/constant/)[Constants](https://vi.wordpress.org/plugins/tags/constants/)
   [define](https://vi.wordpress.org/plugins/tags/define/)[defines](https://vi.wordpress.org/plugins/tags/defines/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/define-constants/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/define-constants/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/define-constants/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](http://donate.ramonfincken.com)