[WordPress] 外掛分享: Generic Parent Child Custom Post Types

首頁外掛目錄 › Generic Parent Child Custom Post Types
全新外掛
安裝啟用
尚無評分
5154 天前
最後更新
問題解決
WordPress 3.0+ v1.0 上架:2012-02-05

內容簡介

通用父子自訂文章類型 (Generic parent child custom post type) 是一個示範外掛程式,它提供創建兩個自訂文章類型的示例,其中一個是父類型,您可以將任意數量的子文章指定給它。

這兩個文章類型分別稱為「父文章」和「子文章」。例如,您可以將它們分別稱為汽車經銷商和汽車,然後將許多汽車指定給汽車經銷商。

外掛包含一個示範模板檔,它會顯示父文章,以及所有指定給它的子文章列表。

該外掛程式更像是一個起點,但它確實可以運作。

需要 WordPress 3.0 和 PHP 5。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Generic Parent Child Custom Post Types」→ 直接安裝(推薦)

原文外掛簡介

Generic parent child custom post type is simply a plugin that gives an example of how to create two custom post types where one is the parent and you can assign any number child posts to it.
The two post types are called Parents and Children. As an example you could call them Car Dealership and Cars and assign a bunch of cars to a dealership.
There is an example template file included which displays the parent post as well as a list of all the children posts assigned to it.
It’s really more of a starting point but it does work.
Requires WordPress 3.0 and PHP 5.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon