Title: WP Custom Data
Author: kapooo
Published: <strong>2015 年 11 月 11 日</strong>
Last modified: 2015 年 11 月 11 日

---

搜索插件

![](https://ps.w.org/wp-custom-data/assets/banner-772x250.png?rev=1283993)

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

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

# WP Custom Data

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

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

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

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

## 描述

WP Custom Data is a WordPress widget which adds custom fields in your WordPress 
site. The custom fields can be simply usable in every section of your theme or in
every plugin. For example if you want to add your address to the footer but the 
theme has not got an address field, you can simply install the WP Custom Data, enable
the plugin, go in the widget section, add the WP Custom Data in any section (no 
matter where), write the address in one or more rows and save. Now WordPress knows
your address and you can use this fields wherever you want. Do you want to use it
in the footer? Open footer.php and write the PHP code:

    ```
    $list = get_option('wp-custom-data'); 
    ```

where you want then, to display the address (the custom fields), use

    ```
    echo $list['rowX']; 
    ```

where X is the number of the row in the WP Custom Data where you have written the
address.

## 屏幕截图

 * [[
 * WP Custom Data Widget

## 安装

#### How to Install

 1. Upload the entire ‘wp-custom-data’ folder to the ‘/wp-content/plugins/’ directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Use WP Custom Data in the Widget section

#### How to Use

 1. Add the widget in any section (e.g. Default Sidebar)
 2. Write your data in the rows
 3. To display your data, use the PHP code:
 4. `$list = get_option('wp-custom-data');`
 5. `echo $list['rowX'];`
 6. where X is the number of the row you want display

## 常见问题

Do you have questions or issues about WP Custom Data?

  Does WP Custom Data support Multisite network?

Yes, it supports multisite network

  Is there a support forum?

Yes, where [Support Forum](https://wordpress.org/support/plugin/wp-custom-data)

## 评价

![](https://secure.gravatar.com/avatar/c3b59c0418f89d76b2f890e7c57bb81d8bc58d6a364150430e8854835774d9f8?
s=60&d=retro&r=g)

### 󠀁[Good plugin](https://wordpress.org/support/topic/good-plugin-1202/)󠁿

 [kapooo](https://profiles.wordpress.org/kapooo/) 2016 年 9 月 3 日

Good plugin to use custom field.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/wp-custom-data/reviews/)

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1

 * Release Date – 6th November, 2015 *
 * First Release

## 额外信息

 *  版本 **1.1**
 *  最后更新：**11 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **4.3.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-custom-data/)
 * 标签
 * [custom](https://cn.wordpress.org/plugins/tags/custom/)[custom data](https://cn.wordpress.org/plugins/tags/custom-data/)
   [custom fields](https://cn.wordpress.org/plugins/tags/custom-fields/)[data](https://cn.wordpress.org/plugins/tags/data/)
   [theme](https://cn.wordpress.org/plugins/tags/theme/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-custom-data/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

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

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://www.aceinnova.com/)