Bg Book Publisher

Bg Book Publisher Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 1,645 downloads
Bg Book Publisher Icon

Try plugin: Bg Book Publisher

We'll create fresh WordPress site with Bg Book Publisher installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Bg Book Publisher

The plugin helps you to publish big book with a detailed structure of chapters and sections and forms table of contents of the book.

1


0


0


0


0

updated: 1 year ago
since: 7 years ago

Description

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.

CSS

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.

PHP filters

  • bg_bpub_post_types – array of post types processed by the plugin, default is [‘post’, ‘page’];

  • bg_bpub_title – title html after book author is added;

  • bg_toc – html output of the TOC;

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