Title: Simple Primary Category
Author: Ashar Irfan
Published: <strong>7. maj, 2020</strong>
Last modified: 24. november, 2023

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Simple Primary Category

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

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

 * [Detaljer](https://da.wordpress.org/plugins/simple-primary-category/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/simple-primary-category/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/simple-primary-category/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/simple-primary-category/#developers)

 [Support](https://wordpress.org/support/plugin/simple-primary-category/)

## Beskrivelse

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.

## Skærmbilleder

[⌊Gutenberg⌉⌊Gutenberg⌉[

Gutenberg

[⌊Classic Editor⌉⌊Classic Editor⌉[

Classic Editor

## Installation

 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.

## Anmeldelser

![](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/) 6. august, 2023

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!

 [ Læs 1 anmeldelse ](https://wordpress.org/support/plugin/simple-primary-category/reviews/)

## Bidragsydere & udviklere

“Simple Primary Category” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

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

[Oversæt “Simple Primary Category” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/simple-primary-category)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/simple-primary-category/),
tjek [SVN repository](https://plugins.svn.wordpress.org/simple-primary-category/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/simple-primary-category/)
via [RSS](https://plugins.trac.wordpress.org/log/simple-primary-category/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

= 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

## Meta

 *  Version **1.1.1**
 *  Senest opdateret **3 år siden**
 *  Aktive installationer **100+**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **6.4.12**
 *  PHP-version ** 7.3 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/simple-primary-category/)
 * Tags
 * [category](https://da.wordpress.org/plugins/tags/category/)[primary](https://da.wordpress.org/plugins/tags/primary/)
   [taxonomy](https://da.wordpress.org/plugins/tags/taxonomy/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/simple-primary-category/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/simple-primary-category/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/simple-primary-category/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/simple-primary-category/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/simple-primary-category/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/simple-primary-category/reviews/?filter=1)

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

[Se alle anmeldelser](https://wordpress.org/support/plugin/simple-primary-category/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/simple-primary-category/)