Title: Custom Variables
Author: lili0allen
Published: <strong>2015 年 1 月 14 日</strong>
Last modified: 2015 年 1 月 14 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# Custom Variables

 作者：[lili0allen](https://profiles.wordpress.org/lili0allen/)

[下载](https://downloads.wordpress.org/plugin/custom-variables.zip)

 * [详情](https://cn.wordpress.org/plugins/custom-variables/#description)
 * [评价](https://cn.wordpress.org/plugins/custom-variables/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/custom-variables/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/custom-variables/#developers)

 [支持](https://wordpress.org/support/plugin/custom-variables/)

## 描述

With this plugin, you can create your own variables and use them in WordPress site.
It is much more convenient when you update your variables. For example, your contact
phone number displays in four places on your site. When you need to update your 
phone number, you have to find each of them and edit them one by one. With this 
plugin, you only need to edit it once at the control panel. You can put the shortcode
anywhere on your website.

## 屏幕截图

 * [[
 * Plugin setting page

## 安装

 1. Upload Custom Variables to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Add variables on the Settings > Custom Variables page.

## 常见问题

  Where can I find the settings to adjust the plugin work after activation?

In the ‘Setting’ menu you can find a menu item called “Custom Variables”.

  How to use the custom variables?

Once you create new custom variables, you can copy and paste the shortcode into 
page or post editor. You can also use the

    ```
    echo do_shortcode('put_your_shortcode_here');
    ```

in your php files.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Custom Variables」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ lili0allen ](https://profiles.wordpress.org/lili0allen/)

[帮助将「Custom Variables」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/custom-variables)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/custom-variables/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/custom-variables/)，或通过[RSS](https://plugins.trac.wordpress.org/log/custom-variables/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/custom-variables/)。

## 更新日志

#### 1.0

 * Initial Release

## 额外信息

 *  版本 **1.0**
 *  最后更新：**11 年前**
 *  活跃安装数量 **90+**
 *  WordPress 版本 ** 3.7 或更高版本 **
 *  已测试的最高版本为 **4.0.38**
 *  语言
 * [English (US)](https://wordpress.org/plugins/custom-variables/)
 * 标签
 * [custom](https://cn.wordpress.org/plugins/tags/custom/)[global](https://cn.wordpress.org/plugins/tags/global/)
   [option](https://cn.wordpress.org/plugins/tags/option/)[setting](https://cn.wordpress.org/plugins/tags/setting/)
   [variable](https://cn.wordpress.org/plugins/tags/variable/)
 *  [高级视图](https://cn.wordpress.org/plugins/custom-variables/advanced/)

## 评级

 3 星（最高 5 星）。

 *  [  0 条 5 星评价     ](https://wordpress.org/support/plugin/custom-variables/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/custom-variables/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/custom-variables/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/custom-variables/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/custom-variables/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/custom-variables/reviews/)

## 贡献者

 *   [ lili0allen ](https://profiles.wordpress.org/lili0allen/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/custom-variables/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.easymode.com.au/#custom-variables)