Title: WP Select Primary Category
Author: Mobeen Abdullah
Published: <strong>2019 年 12 月 23 日</strong>
Last modified: 2019 年 12 月 27 日

---

搜索插件

![](https://ps.w.org/wp-select-primary-category/assets/banner-772x250.png?rev=2217141)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/wp-select-primary-category/assets/icon-128x128.png?rev=2217141)

# WP Select Primary Category

 作者：[Mobeen Abdullah](https://profiles.wordpress.org/mobeen-abdullah/)

[下载](https://downloads.wordpress.org/plugin/wp-select-primary-category.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-select-primary-category/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-select-primary-category/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/wp-select-primary-category/#developers)

 [支持](https://wordpress.org/support/plugin/wp-select-primary-category/)

## 描述

WP Select Primary Category plugin allows you to select a primary category for different
posts and custom post types.

### Background for this plugin

Many publishers use categories as a means to logically organize their content. However,
many pieces of content have more than one category. Sometimes it’s useful to designate
a primary
 category for posts (and custom post types). On the front-end, the agency
need the ability to query for posts (and custom post types) based on their primary
categories.

### Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers
itself and you don’t need to leave your web browser. To do an automatic install 
of this plugin, log in to your WordPress dashboard, navigate to the Plugins menu
and click Add New.

In the search field type “WP Select Primary Category” and click Search Plugins. 
Once you’ve found this plugin, you can install it by simply clicking “Install Now”.

### Manual installation

 1. Download and unzip the WP Select Primary Category plugin
 2. Upload the entire wp-select-primary-category/ directory to the /wp-content/plugins/
    directory
 3. Activate the WP Select Primary Category plugin through the Plugins menu in WordPress

### How to use WP Select Primary Category?

You can use WP Select Primary Category functionality under Categories panel in any
of the hierarchical post type.

### License

Select Primary Category is distributed under the terms of GNU GPL2.

### Future Updates

 * A Gutenberg Block to show in any post/page
 * Shortcode with different options to show on any page/post
 * Widget to show the posts based on primary category on different widget areas

## 评价

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

### 󠀁[Doesn’t work for breadcrumbs](https://wordpress.org/support/topic/doesnt-work-for-breadcrumbs-2/)󠁿

 [alekmitch](https://profiles.wordpress.org/alekmitch/) 2023 年 1 月 30 日

The only reason I installed this was to have a specific breadcrumb show out of two
or more categories. I use AIOSEO and it baffles me that they don’t have this option(
perhaps I don’t know how to find it?) Similarly, I’m slightly disappointed this 
plugin doesn’t work in modern Gutenberg.

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

### 󠀁[Seems to be working](https://wordpress.org/support/topic/seems-to-be-working-12/)󠁿

 [kurtgschumacher](https://profiles.wordpress.org/kurtgschumacher/) 2022 年 1 月
5 日

I was looking for a way to set the primary category for posts without having to 
use Yoast, because I’m using a different SEO plugin. I found several, but none of
them had been updated in 2 or 3 years. Although this plugin hasn’t been updated 
in two years (this review is being written in January 2022), it appears to be working
well on WordPress 5.8.2.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/wp-select-primary-category/reviews/)

## 贡献者及开发者

「WP Select Primary Category」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Mobeen Abdullah ](https://profiles.wordpress.org/mobeen-abdullah/)
 *   [ CodexSpot ](https://profiles.wordpress.org/codexspot/)
 *   [ Shahid Ameen ](https://profiles.wordpress.org/shahidameen/)
 *   [ Sajjad Hussain ](https://profiles.wordpress.org/sajjadhussain2509/)

[帮助将「WP Select Primary Category」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-select-primary-category)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-select-primary-category/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wp-select-primary-category/)，或
通过[RSS](https://plugins.trac.wordpress.org/log/wp-select-primary-category/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-select-primary-category/)。

## 更新日志

### 1.0.1

 * Minor fix

### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.0.8**
 *  最后更新：**6 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **5.3.21**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-select-primary-category/)
 * 标签
 * [category](https://cn.wordpress.org/plugins/tags/category/)[primary category](https://cn.wordpress.org/plugins/tags/primary-category/)
   [taxonomies](https://cn.wordpress.org/plugins/tags/taxonomies/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-select-primary-category/advanced/)

## 评级

 4 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/wp-select-primary-category/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wp-select-primary-category/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/wp-select-primary-category/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wp-select-primary-category/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wp-select-primary-category/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/wp-select-primary-category/reviews/)

## 贡献者

 *   [ Mobeen Abdullah ](https://profiles.wordpress.org/mobeen-abdullah/)
 *   [ CodexSpot ](https://profiles.wordpress.org/codexspot/)
 *   [ Shahid Ameen ](https://profiles.wordpress.org/shahidameen/)
 *   [ Sajjad Hussain ](https://profiles.wordpress.org/sajjadhussain2509/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-select-primary-category/)