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

---

Søk i utvidelser

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

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

# Simple Primary Category

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

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

 * [Detaljer](https://nb.wordpress.org/plugins/simple-primary-category/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/simple-primary-category/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/simple-primary-category/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/simple-primary-category/#developers)

 [Brukerstøtte](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.

## Skjermbilder

[⌊Gutenberg⌉⌊Gutenberg⌉[

Gutenberg

[⌊Classic Editor⌉⌊Classic Editor⌉[

Classic Editor

## Installasjon

 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.

## Vurderinger

![](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!

 [ Les 1 vurdering ](https://wordpress.org/support/plugin/simple-primary-category/reviews/)

## Bidragsytere og utviklere

«Simple Primary Category» er programvare med åpen kildekode. Følgende personer har
bidratt til denne utvidelsen:

Bidragsytere

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

[Oversett «Simple Primary Category» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/simple-primary-category)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/simple-primary-category/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/simple-primary-category/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/simple-primary-category/)
med [RSS](https://plugins.trac.wordpress.org/log/simple-primary-category/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

= 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

 *  Versjon **1.1.1**
 *  Sist oppdatert **3 år siden**
 *  Aktive installasjoner **100+**
 *  WordPress-versjon ** 5.0 eller nyere **
 *  Testet opp til **6.4.14**
 *  PHP-versjon ** 7.3 eller nyere **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/simple-primary-category/)
 * Stikkord
 * [category](https://nb.wordpress.org/plugins/tags/category/)[primary](https://nb.wordpress.org/plugins/tags/primary/)
   [taxonomy](https://nb.wordpress.org/plugins/tags/taxonomy/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/simple-primary-category/advanced/)

## Vurderinger

 5 av 5 stjerner.

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

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

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

## Bidragsytere

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

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

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