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

Bg Book Publisher

説明

When you save a post, the plugin splits it into pages and adds a table of contents in the form of a spoiler to the top of each page.

On the post editing page you can set the maximum level of headers included in the table of contents and the level of headings where you break the pages (see screenshot).

You can set the header levels from 1 to 6, and also disable the action of the plug-in for this post by unchecking the item ‘this post is book’.

You can also set the author of the published book, which will be showed directly in the post title.
To insert name of book author into the text you can also use shortcode [book_author] or PHP-function bg_bpub_book_author($post_id) in page template.

To customize the post appearance, you can use the following classes:
1. bg_bpub_toc – class of contaner (div) with table of contents.
2. bg_bpub_toc_h1 … bg_bpub_toc_h6 – classes of chapter headers in table of contents.
3. bg_bpub_book_author – class of contaner (span) with name of book author.

Notes for Translators

You can translate this plugin using POT-file in languages folder with program PoEdit (http://www.poedit.net/).
More in detail about translation WordPress plugins, see “Translating WordPress” (https://codex.wordpress.org/Translating_WordPress).

Send me your PO-files. I will insert them in plugin in next version.

License

GNU General Public License v2

スクリーンショット

  • Plugin's post settings.
  • Plugin's options.

インストール

  1. Upload ‘bg-book-publisher’ directory to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

評価

2021年12月19日
This plugin is as described, and it does this task in a minimal and simple way. Love it. The only things I would change are two: Some minor language errors (for example, this post is book should be This post is a book) Add a setting option to make this plugin work with custom post types. Thank you so much for this plugin.
1件のレビューをすべて表示

貢献者と開発者

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

貢献者

“Bg Book Publisher” をあなたの言語に翻訳しましょう。

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

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

変更履歴

1.1.0

  • Unordered List in TOC.

1.0.3

  • Allow saving post in admin dashboard only.

1.0.2

  • Delete anchor from the TOC link to the first header on the page.

1.0.1

  • Fixed some bugs.

1.0

  • Plugin in start edition