Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Table of Contents Plus

A powerful yet user friendly plugin that automatically creates a table of contents. Can also output a sitemap listing all pages and categories.


The plugin was designed to be as seamless and painfree as possible and did not require you to insert a shortcode for operation. However, using the shortcode allows you to fully control the position of the table of contents within your page. The following shortcodes are available with this plugin.

When attributes are left out for the shortcodes below, they will fallback to the settings you defined under Settings > TOC+. The following are detailed in the help tab.


Lets you generate the table of contents at the preferred position. Useful for sites that only require a TOC on a small handful of pages. Supports the following attributes: * "label": text, title of the table of contents * "no_label": true/false, shows or hides the title * "wrapping": text, either "left" or "right" * "heading_levels": numbers, this lets you select the heading levels you want included in the table of contents. Separate multiple levels with a comma. Example: include headings 3, 4 and 5 but exclude the others with heading_levels="3,4,5" * "class": text, enter CSS classes to be added to the container. Separate multiple classes with a space.


Allows you to disable the table of contents for the current post, page, or custom post type.


Produces a listing of all pages and categories for your site. You can use this on any post, page or even in a text widget. Note that this will not include an index of posts so use sitemap_posts if you need this listing.


Lets you print out a listing of only pages. The following attributes are accepted: * "heading": number between 1 and 6, defines which html heading to use * "label": text, title of the list * "no_label": true/false, shows or hides the list heading * "exclude": IDs of the pages or categories you wish to exclude * "exclude_tree": ID of the page or category you wish to exclude including its all descendants


Same as [sitemap_pages] but for categories.


This lets you print out an index of all published posts on your site. By default, posts are listed in alphabetical order grouped by their first letters. The following attributes are accepted: * "order": text, either ASC or DESC * "orderby": text, popular options include "title", "date", "ID", and "rand". See WP_Query for a list. * "separate": true/false (defaults to true), does not separate the lists by first letter when set to false. Use the following CSS classes to customise the appearance of your listing: * toc_sitemap_posts_section * toc_sitemap_posts_letter * toc_sitemap_posts_list

I love it, how can I show my appreciation?

If you have been impressed with this plugin and would like to somehow show some appreciation, rather than send a donation my way, please donate to your charity of choice.

I will never ask for any form of reward or compensation. Helping others achieve their goals is satisfying for me :)

Requires: 3.2 or higher
Compatible up to: 4.4.7
Last Updated: 1 year ago
Active Installs: 100,000+


4.7 out of 5 stars


0 of 10 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

1 person says it works.
1 person says it's broken.

100,1,1 100,1,1
100,1,1 100,6,6 100,2,2 100,4,4 100,3,3 100,3,3
100,2,2 100,5,5
88,8,7 100,6,6
100,3,3 100,1,1 100,4,4
100,3,3 100,1,1
50,4,2 100,4,4
100,1,1 75,4,3
100,2,2 100,3,3 100,2,2
0,2,0 100,2,2