Title: Simple Primary Category
Author: Ashar Irfan
Published: <strong>2020 年 5 月 7 日</strong>
Last modified: 2023 年 11 月 24 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/simple-primary-category.svg)

# Simple Primary Category

 由 [Ashar Irfan](https://profiles.wordpress.org/mrasharirfan/) 開發

[下載](https://downloads.wordpress.org/plugin/simple-primary-category.1.1.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/simple-primary-category/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/simple-primary-category/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/simple-primary-category/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/simple-primary-category/#developers)

 [技術支援](https://wordpress.org/support/plugin/simple-primary-category/)

## 外掛說明

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

### How to Use

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

## 螢幕擷圖

 * [[
 * Gutenberg
 * [[
 * Classic Editor

## 安裝方式

 1. Download the plugin.
 2. Login to your WordPress website dashboard.
 3. Navigate to Dashboard > Plugins.
 4. Click Add New and then Upload Plugin.
 5. Browse to the file, select it, and click Install Now.
 6. Click Activate Plugin once prompted.

## 使用者評論

![](https://secure.gravatar.com/avatar/660b37e7fe72ad0a60cf8d8ca2089bd2a35e4fc007df64f3034a18f4feed4385?
s=60&d=retro&r=g)

### 󠀁[Thanks!](https://wordpress.org/support/topic/thanks-2416/)󠁿

 [nudnavda](https://profiles.wordpress.org/nudnavda/) 2023 年 8 月 6 日

Somehow I lost the ability to set the primary category.Database cleaning etc. did
not restore it.Anyway, this small plugin came to the rescue 💐Glad you provided 
this function!

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/simple-primary-category/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Simple Primary Category〉的開發相關工作。

參與者

 *   [ Ashar Irfan ](https://profiles.wordpress.org/mrasharirfan/)

[將〈Simple Primary Category〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/simple-primary-category)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/simple-primary-category/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/simple-primary-category/)，或
透過 [RSS](https://plugins.trac.wordpress.org/log/simple-primary-category/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/simple-primary-category/)。

## 變更記錄

= Version 1.1.1
 * Bumped tested up to tag

= Version 1.1.0
 * Added dependencies updates * Fixed bugs in classic editor * Updated
code formatting

= Version 1.0.0
 * Initial Release

## 中繼資料

 *  版本 **1.1.1**
 *  最後更新 **3 年前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.4.8**
 *  PHP 版本需求 ** 7.3 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/simple-primary-category/)
 * 標籤:
 * [category](https://tw.wordpress.org/plugins/tags/category/)[primary](https://tw.wordpress.org/plugins/tags/primary/)
   [taxonomy](https://tw.wordpress.org/plugins/tags/taxonomy/)
 *  [進階檢視](https://tw.wordpress.org/plugins/simple-primary-category/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/simple-primary-category/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/simple-primary-category/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/simple-primary-category/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/simple-primary-category/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/simple-primary-category/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/simple-primary-category/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/simple-primary-category/reviews/)

## 參與者

 *   [ Ashar Irfan ](https://profiles.wordpress.org/mrasharirfan/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/simple-primary-category/)