[WordPress] 外掛分享: Simple Primary Category

首頁外掛目錄 › Simple Primary Category
100+
安裝啟用
★★★★★
5/5 分(1 則評價)
846 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.3+ v1.1.1 上架:2020-05-06

內容簡介

一個輕量級的 WordPress 外掛,用於為文章和自訂文章類型指定主要類別。

使用方法

在 WordPress 後台瀏覽任何文章或自訂文章類型。
勾選您想要分配的分類。
選擇相應的主要分類。
儲存文章。
使用此簡碼查詢文章:spc_primary_term_posts。
使用此動作掛鉤- spc_display_primary_term_posts - 在您的佈景主題中顯示查詢到的文章。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Simple Primary Category」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

A light-weight WordPress plugin to assign primary category to posts and custom post types.
How to Use

Browse to any post or custom post type in WordPress admin.
Check the taxonomies that you want to assign to it.
Select the respective primary taxonomies.
Save the post.
Use this shortcode to query the posts: spc_primary_term_posts.
Use the action hook — spc_display_primary_term_posts — to display the queried posts in your theme.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon