這個外掛並未在最新的 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