
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.
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;
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.
GNU General Public License v2
Starting from $0 per month.
Rating
Reviewers
1 reviews
Tags
Developed By
Vadim Bogaiskov
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Show products, apps, or designs inside a clean device mockup that improves visualization, builds credibility, and helps visitors make confident decisions.
Create and customize product catalogs with a catalog widget that organizes items clearly, improves browsing, and helps visitors explore your offerings easily.
Display social proof avatars that show user activity and ratings, build trust instantly, and help visitors feel confident about your credibility.
Create interactive video polls that use engaging clips to boost participation, gather insights, and help visitors vote in a more dynamic way.
Display clean code snippets with syntax highlighting to improve technical content and help developers scan examples quickly.
Show your team with interactive team member flip cards that build trust, support transparency, and help visitors connect with the people behind your brand.
Show LinkedIn posts with a slider that auto updates, presents content in a smooth layout, and keeps visitors engaged.

An Info List presents key details in a clear, structured format to improve user experience and support conversions.
Scroll to element button that improves navigation by letting visitors jump directly to key sections, reducing friction and boosting overall engagement.

Show YouTube videos in a customizable YouTube feed that keeps content fresh, boosts watch time, and helps visitors explore more of your channel.
Add comparison tables to your site to help visitors evaluate features side by side, understand differences quickly, and choose the right option with confidence.
Create interactive polls with a poll widget that gathers real time feedback, boosts engagement, and helps you understand visitor opinions quickly and clearly.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
