该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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