[WordPress] 外掛分享: LH Display Default Category

首頁外掛目錄 › LH Display Default Category
WordPress 外掛 LH Display Default Category 的封面圖片
全新外掛
安裝啟用
尚無評分
1325 天前
最後更新
問題解決
WordPress 4.0+ v1.01 上架:2018-07-05

內容簡介

這是一個你可能需要的簡單外掛程式。

透過 [lh_display_default_category] 短碼,它允許你顯示有關預設分類的資訊。

預設情況下,這個短碼會輸出預設分類的名稱,但如果你想輸出WordPress分類物件的任何金鑰,你可以透過指定該金鑰來輸出,例如:[lh_display_default_category key=”category_count”]

這個外掛實際上支援其他有預設術語支援的分類(稱為taxonomies)。因此你也可以透過這種方式使用它:[lh_display_default_category taxonomy=”my-custom-taxonomy”]

未來我將為這個外掛加入古鐘堡支援

喜歡這個外掛?請考慮留下一個五星評論。

鍾愛這個外掛程式,或想幫助 LocalHero 專案?請考慮捐贈。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「LH Display Default Category」→ 直接安裝(推薦)

原文外掛簡介

This is a simple plugin that you may need.
It allows you to display information about the default category via the [lh_display_default_category] shortcode.
By default this shortcode will output the name name of the default category but if you wish to output any of the wordpress category object keys you can output them instead by specifiying the key e.g. [lh_display_default_category key=”category_count”]
This plugin actually supports other taxonomies (that have default term support). So you can also us it like so: [lh_display_default_category taxonomy=”my-custom-taxonomy”]
In time I will add gutenberg support for this plugin
Like this plugin? Please consider leaving a 5-star review.
Love this plugin or want to help the LocalHero Project? Please consider making a donation.

延伸相關外掛

文章
Filter
Mastodon