このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Knowledge Base CPT

説明

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

Bugs

If you find an issue, let us know here!

Contributions

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

There are various ways you can contribute:

  1. Raise an Issue 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
  4. Provide feedback and suggestions on enhancements

スクリーンショット

  • Knowledge Base permalink setting
  • Articles Widget

インストール

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

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

FAQ

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

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.

評価

2件のレビューをすべて表示

貢献者と開発者

Knowledge Base CPT はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Knowledge Base CPT” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

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