前言介紹
- 這款 WordPress 外掛「Custom Field Builder – WordPress custom fields plugin」是 2018-11-16 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2019-03-05,距離現在已有 2252 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.4 以上。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
cfb | Custom Meta | custom fields | custom meta fields | custom field builder |
內容簡介
Custom Field Builder 是一個功能強大且輕量的開發者外掛程式,可為 WordPress 建立自訂的 meta box 和自訂欄位。
功能
• 許多免費的自訂欄位(定期更新和增加新欄位)。
• 安裝容易且使用非常簡單。
• 淨淨的程式碼(提高您的管理效能)。
連結
• 文件
可用欄位
• 文字方塊
• 文字區域
• 選擇框
• 媒體(圖片、附件)
• 邏輯(勾選框僅能為 “true” 或 “false”)
• 顏色選擇器
• 重複
• 勾選框群組
• 日期選擇器
• 文章關聯
使用方法
觀看這個短視頻教學
將以下程式碼新增至您的 functions.php(或任何方便的檔案)中。
add_action('cf_builder_init', function ($cfBuilder) {
$cfBuilder->registerTemplate([
'id' => 'custom_fields',
'title' => 'Custom Field Builder example',
'post_type' => 'post',
'position' => 'normal',
'priority' => 'high',
'fields' => [
'author_name' => [
'type' => 'textbox',
'title' => 'Author name'
],
'author_bio' => [
'type' => 'textarea',
'title' => 'Author bio'
]
]
]);
});
?>
您也可以將自訂的樣板包含在 php 檔案中。例如:
add_action('cf_builder_init', function ($cfBuilder) {
$cfBuilder->registerTemplate('path_to_your_template_file.php');
});
?>
** 在外掛程式目錄的 examples/base-fields-template.php 中查看所有欄位範例! **
原文外掛簡介
Custom Field Builder is a powerful and lightweight developer plugin to create custom meta boxes and custom fields for WordPress.
Features
• Many free custom fields (regular updating and adding new fields).
• Easy to install and very easy to use.
• Pure and clean code (increase your admin performance).
Links
• Documentation
Available fields
• Textbox
• Textarea
• Select
• Media (image, attachments)
• Logic (checkbox may only “true” or “false”)
• Color picker
• Repeater
• Checkbox group
• Date picker
• Post relationship
Usage
Watch this short video tutorial
https://www.youtube.com/watch?v=AEeothh5apo
Add the following code to your functions.php (or in any convenient file).
registerTemplate([
'id' => 'custom_fields',
'title' => 'Custom Field Builder example',
'post_type' => 'post',
'position' => 'normal',
'priority' => 'high',
'fields' => [
'author_name' => [
'type' => 'textbox',
'title' => 'Author name'
],
'author_bio' => [
'type' => 'textarea',
'title' => 'Author bio'
]
]
]);
});
?>
You also can include your custom template in php file. For example:
registerTemplate('path_to_your_template_file.php');
});
?>
** See all fields example in examples/base-fields-template.php in plugin directory! **
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Custom Field Builder – WordPress custom fields plugin」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Advanced Custom Fields (ACF®) 》Advanced Custom Fields 可以讓 WordPress 網站成為一個完整的內容管理系統,提供您所有工具以更好管理您的數據。, 使用 Advanced Custom Fields 外掛,完全...。
Meta Box 》Meta Box 是一個強大、專業又輕量級的工具組,供開發者在 WordPress 中為任何自訂文章型別建立自訂的 Meta Box 與自訂欄位。, 透過 Meta Box,您可以使用超過...。
Checkout Field Editor (Checkout Manager) for WooCommerce 》WooCommerce 結帳欄位編輯器外掛, WooCommerce 結帳欄位編輯器 (Checkout Manager) 外掛讓您可以在結帳頁面上添加 20 種不同類型的自訂欄位,並搭配直覺且易...。
Pods – Custom Content Types and Fields 》使用「Pods Framework」在一個地方管理你所有自訂內容需求。, , , 建立內容類型,包括自訂文章類型、自訂分類、以及我們專屬的「進階內容類型」(ACT),...。
Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager 》我們認為 WooCommerce 是 WordPress 最好的電子商務外掛,但它缺乏一些非常基本的功能,例如使用易於使用的接口自定義結帳管理器來自訂結帳欄位。您可以使用 ...。
Advanced Custom Fields: Extended 》🚀 全方位增強套件,可改進WordPress和Advanced Custom Fields。此外掛旨在提供一個強大的管理框架,涵蓋了眾多改進和優化。, 此外掛需要至少 ACF Pro 5.8。,...。
Sydney Toolbox 》Sydney Toolbox 外掛只適用於 Sydney WordPress 主題。, 此外掛註冊了在 Sydney 主題 中所需的自定義文章類型和自定義欄位。。
Custom Field Suite 》Custom Field Suite (CFS) 讓您為文章添加自定義欄位。它輕量級且經過過往使用者的測試(很難出現錯誤)。, 需要了解的事項, , 我們不提供支援。, 這是一個免...。
Custom Field Template 》「Custom Field Template 外掛」在「編寫文章/頁面」時,新增自訂欄位的預設設定。這個模板格式基本上跟「rc:custom_field_gui 外掛」差不多,不同處在於:, ...。
Custom Post Types and Custom Fields creator – WCK 》WordPress Creation Kit 是由三個工具組成,可幫助您建立和維護自訂文章類型、自訂分類和最重要的是文章、頁面或自訂文章類型的自訂欄位和元框。, WCK Custom...。
Secure Custom Fields 》總結:SCF 是一款能夠擴展 WordPress 功能的外掛,使其成為一個靈活的內容管理工具。透過 SCF,管理自定義數據變得簡單高效。, , 1. 為什麼 SCF 是一個靈活的...。
JSM Show Post Metadata 》JSM's Show Post Metadata外掛會在文章編輯頁面底部顯示文章(例如文章、頁面和自訂文章類型)的meta key(也就是自訂欄位名稱)和它們的非序列化值。, ...。
Advanced Custom Fields: Nav Menu Field 》使用 Nav Menu Field 外掛將導覽選單加入Advanced Custom Fields (ACF)。此外掛會在 ACF(版本 5 和 4)加入 Nav Menu 欄位類型,讓您從 WordPress 管理後台...。
Frontend Admin by DynamiApps 》這個外掛讓你可以在前端編輯及新增文章、頁面、使用者、專有名詞欄位等等。 (之前稱為 ACF Frontend), 這個外掛允許你在網站上顯示前端管理表單,讓使用者可...。
Simple CSV/XLS Exporter 》本外掛可以讓您透過簡單的連結/按鈕,從後端或前端匯出文章為 CSV 或 XLS 檔案。, 請確保您使用 PHP 7.3 或更新版本,如果您看到任何錯誤,舊版本將不再受支...。