內容簡介
這個外掛最初是設計為一個佈景主題功能,但我們認為對其他人也很有用。它設計使用以下外掛:
Custom Post Type UI
Taxonomy Images
當然,你可以創建你自己的自訂文章類型和分類,但是 Custom Post Type UI 外掛會輕鬆完成這項工作。
此外掛程式會創建一個加入特色貼文的小工具。雖然有其他外掛也可以做到這一點,但 Featured Custom Posts 允許自定義的文章類型和分類。該外掛是為展示創建為自訂文章類型的特色產品而創建的。
功能
選擇要顯示的文章數量(預設:10)
文章類型
自訂分類
自訂分類詞彙
版本 1.1 中新增:
新增文章網址的永久連結基底(預設為文章的 GUID)
如果 Taxonomy Images 外掛不存在,則將文章標題作為連結文字
使用範例
自訂文章類型:「products」
分類:「product-tags」
分類詞彙:「featured」
在這個範例中,我們的自訂文章類型「products」可以讓我們以類似於文章的方式添加產品。現在,有了我們的自訂分類「product-tags」,我們可以將我們的產品標上「featured」的標籤。透過 wp-admin 區域的小工具,輸入這些資訊,你就可以輕鬆完成了!
未來的更新
允許多個分類詞彙
新增縮圖尺寸支援
外掛標籤
開發者團隊
② 後台搜尋「Featured Custom Posts Widget」→ 直接安裝(推薦)
原文外掛簡介
This plugin was initially designed as a theme function but we thought it might come in handy for someone else. It is designed to use the following plugins:
Custom Post Type UI
Taxonomy Images
Of course you can create your own custom post types and taxonomies but the Custom Post Type UI plugin makes very light work of it.
The plugin creates a widget for adding featured posts. There are other plugins that do this but Featured Custom Posts allows for custom post types and taxonomies. It was created to show featured products that were created as custom post types.
Features
Select number of posts to display (default: 10)
Post Type
Custom Taxonomy
Custom Taxonomy Term
New In Version 1.1
Added Permalink Base for post URL (Defaults to post’s GUID)
Added Post Title as the link text if Taxonomy Images plugin isn’t present
Example Usage
Custom Post Type: “products”
Taxonomy: “product-tags”
Taxonomy Term: “featured”
In this example our custom post type of “products” allows us to add products in a similar way to posts. Now with our custom taxonomy of “product-tags” we can tag our products with the tag “featured”. Plug this information into the widget via the wp-admin area and you’re all set!
Future Updates
Allow for multiple taxonomy terms
Add thumbnail size support
