The 「Best Table of Contents」 plugin allows you to automatically create a top rated Table of Contents for your posts and pages. Plus, it scans your content for headings (H1-H6) and generates a nested TOC with links, making your content more organized and reader-friendly.
Features:
– Automatically generates a TOC using your headings (H1-H6).
– Provides a customizable [btoc] shortcode.
– Allows exclusion of specific headings using the exclude attribute.
– Adds IDs to your headings for smooth scrolling.
– Offers a widget to display the TOC in your sidebar or any widget area.
Usage
Shortcode:
Use the [btoc] shortcode to display the TOC in your content.
Example:
`[btoc exclude=」Introduction,Conclusion」]「`
This will exclude headings with the text 「Introduction」 and 「Conclusion」.
Widget:
Go to Appearance > Widgets, and add the 「Table of Contents」 widget to your desired widget area. Optionally, provide a title for the widget.
License
This plugin is licensed under the GPL-2.0+ license. See the LICENSE file for details.






