For a long post content, it is better if we use table of contents to map our article section. Using headings as the content section title will help our reader known what they read. There are many WordPress plugins that create automatic table of contents with standard or extensive features. This article lists the best WordPress plugin for creating table of contents. We will review it by feature, the ease to use, and performance.
This plugin will add the table of contents automatically to the post content without using shortcode in the top of post content by default. But there is also a shortcode and option to disable it. There are many nested table of content styles provided by this plugin and set the position to float right, left or none. We can also set the width and font size for it. A plugin settings page can be found the WordPress settings section. As an additional feature, this plugin can create sitemaps for all pages and categories. And, there is a widget if we want to display current post table of contents in a sidebar widget.
This plugin have a great feature to generate nested table of contents. We can set the first heading for the table of content, and it will scans headings through the post content and create the table of contents via shortcode. We can’t find this plugin settings page in the WordPress settings or plugin menu because it creates a menu page “SL Plugins” for its own. This plugin uses frameworks and will list all the plugin from the author in that menu automatically. Custom styles CSS can be added via plugin settings page and the plugin load the custom styles via php file. Currently support 9 translation ready to use, but we can translate it to our language from the plugin settings page. For using it, we will need to add shortcode [toc] anywhere to the content section.
This plugin automatically generates and inserts a nested numerical table of contents (ToC) to your pages and posts, based on tags h1-h6. Whenever the plugin discovers more than a certain amount of headings (default: 3) the ToC is inserted at the top of the page. This plugin also can handle posts that are divided into pages by the nextpage tag. Using shortcode [extoc] will generate the table of contents in the post content section. Currently this plugin supports two translation for English and German.
Create a table of contents for any post types. The table of contents will be create if there’s a specified amount of headings with toggle style and smooth scrolling effect. We can specify the headings to include to the table of contents. Comes with fluid responsive and optional flat or nested list style in decimal or roman format. This plugin also give additional options to create “back to top” button, widget and shortcode for alternative placements, and custom CSS we can use to add our own styles. We can style it using color picker for many background or border colors. An option to disable ToC for each post, page or any other custom post types provided by this plugin.