[WordPress] 外掛分享: CIO Custom Field Groups for PODS

WordPress 外掛 CIO Custom Field Groups for PODS 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「CIO Custom Field Groups for PODS」是 2015-09-04 上架。
  • 目前有 30 個安裝啟用數。
  • 上一次更新是 2017-12-26,距離現在已有 2687 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.9.0 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

visualdata |

外掛標籤

pods group | custom fields | custom field groups | custom field sections | pods custom field groups |

內容簡介

您已經使用了厲害的PODS外掛程式來管理您的自訂內容類型和欄位嗎?

您正在從Advanced Custom Fields切換到PODS,但卻懷念Advanced Custom Fields中發現的群組和位置規則嗎?

您正在尋找一種簡單易用的方式,在您的網站上以邏輯塊呈現您的自訂欄位數據嗎?

CIO Custom Field Groups for PODS或許是您正在尋找的解決方案。這會使PODS變得更厲害。

PODS是一個強大而靈活的框架,可管理自訂內容類型和自訂欄位。PODS的一些獨特功能包括:

擴展WordPress的內建內容類型(用戶、頁面、文章、媒體、分類)

表格儲存,對於隨著自訂欄位增加而提高效能至關重要。

CIO Custom Field Groups for PODS可擴展PODS,以快速、直觀地將您的自訂欄位組織成群組。這類似於從印刷書籍中閱讀目錄,當我們看到以“章節”一詞開始的行時,我們知道它是一個章節,並將其作為這樣處理。我們可以指示電腦做同樣的事情。

群組標題是使用前綴“cio_section_”命名的pods自訂欄位。群組是由在pods設置頁面中自訂欄位的相關位置定義的,因此可以通過拖放元框快速進行分組和重新分組。

CIO Custom Field Groups的免費版本將掛鉤進PODS表單中,自動生成帶有標籤和描述的行,而無需輸入單元格。前端群組標題欄位的輸出取決於您的pods欄位設置、頁面模板和pods模板。

用作群組標題的自訂欄位僅作為欄位定義,沒有保存任何數據到這些欄位中。如果您使用pods表格儲存,您可以將群組標題欄位設置為關聯欄位,這樣這些欄位就不會在您的數據表中建立。

使用此外掛不需要PHP代碼。但是,如果您對PHP代碼感到舒適,您可以實例化此外掛中的類並使用類方法來獲取具有所有pods欄位設置的多維數組。然後,您可以在頁面模板中操作自訂欄位和群組。

CIO Custom Field Groups高級版本

CIO Custom Field Groups的高級版本具有以下其他功能:

將自定欄位分成群組(在標題下)和子組(在頁腳上)。

配置標題和頁腳欄位前綴,如果您需要以特定方式命名欄位,以便數據庫與其他插件/程序集成。

在管理面板中配置標題和頁腳欄位背景,以便使用您喜愛的顏色。

在前端顯示時配置標題和頁腳欄位CSS。

設置限制訪問和顯示條件,類似於Advanced Custom Fields(ACF)的位置規則。因此,可以在指定的頁面或文章上顯示一組欄位,或顯示符合某些條件的頁面或文章,

支援pods-form短碼和基於欄位的魔術標記,如{@my_header}包含在短碼中或包含在pods模板中。

根據用戶角色或功能顯示自訂欄位的部分。例如,如果使用者是批發商,您可以收集和顯示不同的資訊。

僅在指定的頁面上顯示自訂欄位的部分。

僅在管理面板中顯示的自訂欄位。

原文外掛簡介

Are you already using the awesome PODS plugin to manage your custom content types and fields?
Are you switching from Advanced Custom Fields to PODS but missing the groups and location rules found in Advanced Custom Fields?
Are you looking for a simple and easy way to present your custom field data on your website in logical blocks?
CIO Custom Field Groups for PODS may be the solution you are looking for. It makes PODS even more awesome.
PODS is a powerful and flexible framework to manage custom content types and custom fields. Some of PODS’s unique features include

extending WordPress’s builtin content types (user, page, post, media, taxonomy)

table storage, which is essential for high performance as the number of custom fields increase.

CIO Custom Field Groups for PODS extends PODS to organize your custom fields into groups quickly and intuitively. This is similar to reading a table of contents from a printed book, when we see a line starting with the word “Chapter” we KNOW it is a chapter and treat it as such. We can instruct the computer to do the same.
The group headers are pods custom fields named with a prefix “cio_section_”. Groups are defined by the relevant position of custom fields in pods setting page, so grouping and re-grouping can be done quickly by dragging and dropping meta boxes.
The free version of CIO Custom Field Groups hooks into PODS form to automatically generate a row with label and description only, without input cells. Output of group header fields in the front end is optional depending on your pods field setting, page template and pods template.
Custom fields used as group headers are field definition only without any data saved to these fields. If you use pods table storage, you may set up group header fields as relationship fields so that such fields will not be created in your data table.
PHP code is not required to use this plugin. However if you are comfortable with PHP code, you may instantiate the class in this plugin and use class methods to get a multi dimensional array of groups and fields with all the pods field settings. You can then manipulate the custom fields and groups in your page template.
CIO Custom Field Groups Premium Version
The premium version of CIO Custom Field Groups has the following additional features:

Dividing custom fields into groups (under headers) and sub-groups (above footers).

Configuring the header and footer field prefix, if you need to name the fields in a certain way for the database to integrate with other plugins/programs.

Configuring the header and footer field background in the admin panel, so you will work with your favourite colours.

Configuring the header and footer field css for frontend display.

Setting up restriction access and display conditions similar to location rules of Advanced Custom Fields (ACF). So a group of fields can be displayed on a specified page or post, or pages or posts meeting certain criteria,

Supporting pods-form short code and field based magic tags enclosed in short code or included in pods template, such as {@my_header}.

Displaying sections of custom fields according to user roles or capabilities. For example, you may collect and display different information if the users are wholesalers.

Display sections of custom fields on specified pages only.

Admin only custom fields.

CIO Custom Fields and Groups is an add-on to PODS but can be used to group custom fields created with other plugins. You simply expend the post type or custom post type with pods, create custom fields using the same name. Then you can use the features from Pods or this plugin to present your data already stored. This is achieved by sharing the stored data between your plugin and PODS, thanks to the great work of PODS team.
Both the free and professional edition works in multisite environment.
PS: I am releasing the professional edition to the public to raise fund for a long time friend who runs a charity from Australia called Captivating. Captivating has a dedicated team to help victimised children in developing countries. CIO Custom Fields and Groups Professional Edition is bundled with extra features and is freely available to supporters of Captivating. If you are willing and able financially, please consider giving to Captivating. Any amount is appreciated. Tax deductible receipts are available if you are giving from Australia, US or Hong Kong. Please check with Captivating about receipts if you are giving from other countries.
CIO Custom Fields and Groups Professional Edition is also available for immediate download for a small once-off fee.
How does it work
We believe things should be as simple and easy as it could be. We embrace this philosophy in our code and business model.
CIO Custom Fields and Groups defines groups by the position of custom fields relevant to a group header, in the same way as groups are displayed in forms or on paper. Fields beneath a group header belongs to this group. Similarly, fields above the group footer belongs to the group. You can use either headers or footers, or both to define groups.
CIO Custom Fields and Groups professional edition hooks into Pods core files so you can use PODS short code to display an edit form by specifying header or footer names.
[pods-form name="mypod" id="321" headers="0, myheader1, myheader2" footers="myfooter1, myfooter2, 0" ]

Grouping is optional with CIO Custom Fields and Groups. If some fields are grouped and some are not, you can access these ungrouped fields by using a dummy header or footer name “0” (zero), as shown in the example above.
Note headers and footers are used in the short code instead of groups. This is to avoid confusion with the “group” functionality under development and testing by pods team.
CIO Custom Fields and Groups professional edition filters the parameters in the short code, identifies the fields in the group, and passes the field names to PODS to generate a form.
Similarly, CIO Custom Fields and Groups professional edition hooks into Pods to display a header and footer label only without an input cell.
CIO Custom Fields and Groups uses builtin table structures of WordPress and PODS to define groups. No extra taxonomy or data is created. The professional edition of CIO Custom Fields and Groups supports PODS shortcode and magic tags in shortcode template, and in the template component.
To display a group defined by the header field “my_header” from a custom post type called “product” with id 123, you would use the following short code.
[pods name="product" id=123] {@my_header} [/pods]

Alternatively if you enable the component template, you can create a template containing the following line for example

{@my_header}

Let’s assume the template is called “my header template”, and then you may use the following short code to display the group.
[pods name="product" id=123 template="my header template"]

Output from pods functions
$pod->field($my_header): null
$pod->fields(): all the fields including header fields
$pod->display($my_header): null
If you are using PODS and in some web pages looping through all fields to display content or form, after you have activated this plugin and created header fields, your existing code should still work without modification. The header fields will simply display a label for human comprehension.
When CIO Custom Fields and Groups professional edition is activated, and preset display conditions are met, the custom fields belong to this group will be displayed.
When CIO Custom Fields and Groups professional edition is deactivated, the above shortcode simply displays nothing, as no data is ever stored in the special relationship field “my_header”.
Please see screen shots for more examples.
CIO Custom Fields and Groups Professional Edition comes with

unlimited site license. you can use it on as many websites as you like, either owned by you or your clients, or your neighbors, or your friends.

life time free support, if you have paid an one-off fee to upgrade to professional edition

life time free upgrade, if you have paid an one-off fee to upgrade to professional edition

30 day money back guarantee. no questions to ask.

Support
We do try to handle support at the following e-mail address:
E-mail: [email protected]

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「CIO Custom Field Groups for PODS」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Mastodon