這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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
MijnPress.nl Twitter profile More plugins

螢幕擷圖

安裝方式

  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/ 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〉的開發相關工作。

參與者

將〈Define Constants〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2.1

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

1.2

First public release