前言介紹
- 這款 WordPress 外掛「Custom Field Widget」是 2008-08-05 上架。
- 目前有 200 個安裝啟用數。
- 上一次更新是 2012-11-29,距離現在已有 4539 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.5 以上版本才可以安裝。
- 有 4 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
field | value | custom key | custom field | custom value |
內容簡介
自訂欄位小工具顯示自訂欄位鍵的值,可在文章和頁面中顯示限制性側邊欄位內容,具有無限的應用可能性。
自訂欄位小工具針對 WordPress 2.6.x,其功能特色包括:
允許多個小工具實例。
小工具自選標題和文字。
有條件的功能,例如沒有相符的欄位鍵則不顯示小工具。
幾乎沒有限制的應用可能性。
用途
如果您不熟悉自訂欄位,應先在 WordPress Codex中閱讀。
自訂欄位可以從"編輯" > "頁面"和"編輯" > "文章"菜單中在文章和頁面中添加,位於主編輯區域下方。您可以添加任意數量的自訂欄位到文章/頁面上。
每個自訂欄位都有兩個獨立的欄位:欄位鍵和欄位值。自訂欄位小工具會查找指定的鍵,然後在側邊欄中顯示對應的值。如果沒有相符的欄位鍵,則不會顯示內容。
自訂欄位小工具不一定會「做」任何事情,但它啟用了 WordPress 內建的高級(且往往被忽略的)功能。例如,參見使用 WordPress 自訂欄位的 28 種方法,該文章描繪了使用可能性的一小部分。
我為自己開發了這個外掛程式。我想在側邊欄中動態顯示某些頁面(無 分類)的小目錄。如果沒有小工具,我就必須為使用的每個主題編輯側邊欄文件。
因為每個目錄(一組項目的短ol)從頁面到頁面不同,因此它也必須特定於每個頁面。因此,我創建了一個自訂欄位鍵toc,並將項目的ol添加到其值中。啟用此外掛程式後,每個具有自訂欄位鍵toc的頁面會在側邊欄顯示目錄。
WordPress 自訂欄位的用途和應用是無限的。只需 搜尋 WordPress 自訂欄位 ,即可在此主題上獲得數千個結果。
許可證
自訂欄位小工具是 WordPress 的一個外掛程式,由 Scott Allan Wallick (C) 2008開發,屬於 GNU 通用公眾許可證的授權範圍內。
自訂欄位小工具是免費軟體:您可以在自由軟體基金會首發行的 GNU 通用公眾許可證下重新分發或修改它,無論是本授權條款的第三版或(選擇您自己的)任何更新版本都可以。
本程式是基於無保固條款的,不提供任何形式的保證,包括但不限於適銷性和特定用途的適用性。詳細資訊請參閱 GNU 通用公眾授權條款。
您應該已經收到了 GNU 通用公眾許可證的副本。如果沒有,請參閱http://www.gnu.org/licenses/。
原文外掛簡介
The Custom Field Widget displays values of custom field keys, allowing post- and page-specific meta sidebar content with limitless applications.
Custom Field Widget is for WordPress 2.6.x and features:
Multiple widget instances possible
Widget-specific optional title and text
Conditional functionality, i.e., without a matching key, the widget is not displayed
Practically unlimited possible uses
Use
If you are unfamiliar with custom fields, you should first read about them on the WordPress Codex.
Custom fields are added to posts and pages from the Write > Page and Write > Post menus, just below the main editor area. You may add as many custom fields to a post/page as you like.
There are two separate fields for each custom field: the key and its value. The Custom Field Widget finds a specified key and then displays its corresponding value in the sidebar. Without a matching key, nothing is displayed.
The Custom Field Widget doesn’t necessarily ‘do’ anything, but it enables an advanced (and often overlooked) feature built-in to WordPress. For example, see 28 Ways to Use WordPress Custom Fields for a small picture of possibilities.
I developed this plugin for my own use. I wanted to display a small table of contents for certain pages (which are without categories) in the sidebar dynamically. Without a widget, I would have to edit the sidebar file(s) for each theme I used.
Because each table of contents (a short ol of items) varied from page to page, it also had to be specific to each page. So I created a custom field key of toc and added the ol of items to its value. Enabling the plugin, I had a table of contents appear in the sidebar for each page with a custom field key of toc.
The uses and applications of WordPress custom fields are infinite. Just search for WordPress custom fields for thousands of results on this subject.
License
Custom Field Widget, a plugin for WordPress, (C) 2008 by Scott Allan Wallick, is licensed under the GNU General Public License.
Custom Field Widget is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Custom Field Widget is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Custom Field Widget. If not, see http://www.gnu.org/licenses/.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Custom Field Widget」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Advanced Custom Field Widget 》進階自訂欄位的小工具是 Scott Wallick 自訂欄位小工具的擴充,可顯示自訂欄位鍵的值,讓文章和頁面能夠有專屬的側邊欄。, 要瞭解有關此外掛程式及其如何運作...。
Reset Button for ACF 》在 ACF(Advanced Custom Fields)選項頁面、文章頁面、頁面以及所有已註冊的自訂文章類型的管理頁面上,新增一個重設按鈕,允許您將自訂欄位重設為其預設值。。
RCP VAT 》這個外掛是為了Restrict Content Pro 外掛而設計的,可實現歐盟增值稅(VAT)規則,並配合Stripe支付閘道使用。, 使用dannyvankooten的PHP代碼實現VIES增值稅...。
Custom Fields Spreadsheet 》這是一個 WordPress 外掛,它可以在一個可自定義的試算表視圖中給你所有的自訂欄位。這對於快速收集你的頁面相關資訊非常有用。一些頁面可能是由你的使用者上...。
JWS Discount Display for WooCommerce 》這款針對 WooCommerce 設計的外掛程式旨在以可視化、可自訂的方式顯示促銷品項的相對(百分比)或絕對(美元)折扣,以凸顯其價值。後端包含實時預覽多個強大...。
Custom Field Cookie 》這個 WordPress 外掛程式會檢查頁面或文章中所有自訂金鑰 (custom keys),並將以「_Custom_Field_Cookie」為結尾的自訂金鑰及其值寫入 cookie 中。一個頁面或...。