Title: Knowledge Base CPT
Author: DannyCooper
Published: <strong>18. januar, 2015</strong>
Last modified: 14. november, 2019

---

Søk i utvidelser

![](https://ps.w.org/knowledge-base-cpt/assets/banner-772x250.jpg?rev=1105080)

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://ps.w.org/knowledge-base-cpt/assets/icon-256x256.jpg?rev=1201742)

# Knowledge Base CPT

 Av [DannyCooper](https://profiles.wordpress.org/dannycooper/)

[Last ned](https://downloads.wordpress.org/plugin/knowledge-base-cpt.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/knowledge-base-cpt/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/knowledge-base-cpt/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/knowledge-base-cpt/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/knowledge-base-cpt/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/knowledge-base-cpt/)

## Beskrivelse

Enables a **knowledge base** post type and **section** taxonomy.

The plugin adds a Knowledge Base tab to your admin menu, which allows you to add
articles just as you would regular posts. This allows you to keep your articles 
even if you change theme.

The Apollo Theme was built purposely to work with this plugin – [Apollo Theme](http://crtv.mk/ez5P)

#### Bugs

If you find an issue, let us know [here](https://github.com/DannyCooper/knowledge-base-cpt/issues)!

#### Contributions

Anyone is welcome to contribute to the Knowledge Base CPT plugin.

There are various ways you can contribute:

 1. Raise an [Issue](https://github.com/DannyCooper/knowledge-base-cpt/issues) on GitHub
 2. Send us a Pull Request with your bug fixes and/or new features
 3. Translate the Knowledge Base CPT plugin into [different languages](https://www.transifex.com/projects/p/knowledge-base-cpt/)
 4. Provide feedback and suggestions on [enhancements](https://github.com/DannyCooper/knowledge-base-cpt/issues?direction=desc&labels=Enhancement&page=1&sort=created&state=open)

## Skjermbilder

[⌊Knowledge Base permalink setting⌉⌊Knowledge Base permalink setting⌉[

Knowledge Base permalink setting

[⌊Articles Widget⌉⌊Articles Widget⌉[

Articles Widget

## Installasjon

Upload ‘Knowledge Base CPT’, activate it, and you’re done!

Place the [knowledgebase] shortcode on any post or page to display your articles.

## Ofte stilte spørsmål

  How do I change the permalink on articles?

In wp-admin, navigate to Settings -> Permalink Settings

Enter a value next to ‘Knowledge Base’

Press ‘Save Changes’.

  Shortcode Options

The shortcode is extremely flexible. With no attributes set it will show all sections
and articles:

    ```
    [knowledgebase]
    ```

Adding a ‘parent’ attribute will limit the output to only sections that are within
the parent you specify:

    ```
    [knowledgebase parent="29"]
    ```

Another option is to set the order

    ```
    [knowledgebase orderby="id"]
    ```

The full list of paramters can be found here: [WP_Term_Query::__construct](https://developer.wordpress.org/reference/classes/wp_term_query/__construct/)

  What does the ‘Show only articles from current section?’ setting do?

If this option is enabled, the widget will only display articles within the same
section as the current article or section being viewed.

This allows you to create a ‘Related Articles’ widget.

Leaving this option unchecked allows you to create a ‘Recent Articles’ widget.

## Vurderinger

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

### 󠀁[Works fine !](https://wordpress.org/support/topic/works-fine-526/)󠁿

 [direct-compute](https://profiles.wordpress.org/direct-compute/) 3. september, 
2016

Thank you ! 🙂 i love it 🙂

 [ Les alle 2 vurderinger ](https://wordpress.org/support/plugin/knowledge-base-cpt/reviews/)

## Bidragsytere og utviklere

«Knowledge Base CPT» er programvare med åpen kildekode. Følgende personer har bidratt
til denne utvidelsen:

Bidragsytere

 *   [ DannyCooper ](https://profiles.wordpress.org/dannycooper/)

[Oversett «Knowledge Base CPT» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/knowledge-base-cpt)

### Interessert i utvikling?

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

## Endringslogg

#### 1.1.1

 * Tested with WP5.3

#### 1.1.0

_Release Date – 21th February 2018_

 * Added [knowledgebase] shortcode

#### 1.0.9

_Release Date – 18th January 2018_

 * Improved security
 * Improved codestyle

#### 1.0.8

_Release Date – 15th November 2017_

 * Tested with latest WordPress versions.

#### 1.0.7

_Release Date – 9th October 2017_

 * Tested with latest WordPress versions.

#### 1.0.6

_Release Date – 17th September 2015_

 * Fix articles widget number error
 * Added articles widget section option

#### 1.0.5

_Release Date – 18th July 2015_

Refactored code using OOP principles.

#### 1.0.3

_Release Date – 5th June 2015_

 * Added option to change knowledge base slug under ‘Permalink Settings’.
 * Changed default permalink slug from ‘knowledge_base’ to ‘kb’

#### 1.0.2

_Release Date – 4th March 2015_

 * Fixed problem with rewrites

#### 1.0.1

_Release Date – 16th Febuary 2015_

 * Added recent article widget
 * Added hierarchy to section taxonomy

#### 1.0.0

_Release Date – 15th January 2015_

 * Initial release

## Meta

 *  Versjon **1.1.1**
 *  Sist oppdatert **7 år siden**
 *  Aktive installasjoner **40+**
 *  WordPress-versjon ** 4.0 eller nyere **
 *  Testet opp til **5.3.27**
 *  PHP-versjon ** 5.2 eller nyere **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/knowledge-base-cpt/)
 * Stikkord
 * [custom post type](https://nb.wordpress.org/plugins/tags/custom-post-type/)[documentation](https://nb.wordpress.org/plugins/tags/documentation/)
   [faqs](https://nb.wordpress.org/plugins/tags/faqs/)[knowledge base](https://nb.wordpress.org/plugins/tags/knowledge-base/)
   [wiki](https://nb.wordpress.org/plugins/tags/wiki/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/knowledge-base-cpt/advanced/)

## Vurderinger

 4.5 av 5 stjerner.

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

[Din omtale](https://wordpress.org/support/plugin/knowledge-base-cpt/reviews/#new-post)

[Se alle omtalene](https://wordpress.org/support/plugin/knowledge-base-cpt/reviews/)

## Bidragsytere

 *   [ DannyCooper ](https://profiles.wordpress.org/dannycooper/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/knowledge-base-cpt/)