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

Post Series Manager

説明

This plugin will help you manage and display post series more easily. You’ll be able to create/assign series and display other posts in the series.

It consists of a custom taxonomy (post-series) and two shortcodes [post_series_block] and [post_series_nav].

It will automatically display a list of posts in the series at the top of a post and a link to the next post in the series when applicable.

スクリーンショット

インストール

  1. Upload the post-series-manager folder to the /wp-content/plugins/ directory
  2. WordPress の「プラグイン」メニューからプラグインを有効化
  3. Start adding series tags to your posts like you would a regular tag

FAQ

Installation Instructions
  1. Upload the post-series-manager folder to the /wp-content/plugins/ directory
  2. WordPress の「プラグイン」メニューからプラグインを有効化
  3. Start adding series tags to your posts like you would a regular tag
I don’t want it to show up before/after/somewhere else, what do I do?

The plugin is set up in such a way that the content filters that are put in place can be removed fairly simply. Add one, or both, of the following to your functions.php:

// Remove the shortcode that's automatically added before the content
remove_filter( 'the_content', array( $post_series_manager, 'post_series_before' ) );
// Remove the shortcode that's automatically added after the content
remove_filter( 'the_content', array( $post_series_manager, 'post_series_after' ) );
How do I use the shortcodes?

The shortcodes are simple and have no additional parameters to use. The shortcodes that are available are:

  • [post_series_block] – this is normally added before the content
  • [post_series_nav] – this is normally added after the content
Can I filter stuff?

A number of filters have been included, and more are to follow.

The filters that are included (subject to change):

// Filters "This post of part of the series: " text
post-series-manager-series-text

// Filters the " (Current)" text
post-series-manager-current-text

// Filters the "Continue reading this series:" text
post-series-manager-next-text

// Filters the "Other posts in this series:" text
post-series-list-intro-text

// Filters the start "<ol>" tag
post-series-list-opening-tags

// Filters the ending "</ol>" tag
post-series-list-ending-tags

Be very aware that if you change the opening ol to ul, you will also want to change the ending ol to match.

評価

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

貢献者と開発者

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

貢献者

“Post Series Manager” は5ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Post Series Manager” をあなたの言語に翻訳しましょう。

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

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

変更履歴

1.2.1

  • Fixed unexpected output during activation error.
  • Enabled show_in_rest for REST API and Gutenberg support.

1.2.0

  • Added “start” attribute to ol to follow the count of all posts in the series
  • Cleaned up and updated Dutch translations
  • Fixed existing filters to actually do something
  • Added three more filters, so you can change the list type from ol to ul or change the intro text

1.1.0

  • Cleaned up some code to match WP standards
  • Post List now supports more than 5 posts
    • Displays up to 2 posts before and after the current post

1.0.2

  • Fixed a small, but nasty, bug with a div not getting closed properly.
  • Added some filters.

1.0.1

  • Changed unordered list to an ordered one, because semantics

1.0

  • 最初のリリース。