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

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

使用者評論

閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Custom Data〉的開發相關工作。

參與者

將〈WP Custom Data〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1

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