Table of Contents

[powerkit_alert type=”warning” dismissible=”false” multiline=”true”]

Powered by Powerkit

You need to install and activate our free plugin Powerkit to make this feature work.

You may install Powerkit from the list of recommended plugins in AppearanceInstall Plugins or from the common plugins page in PluginsInstall Plugins.

Display table of contents automatically with a shortcode or in a widget based on the page headings.


[powerkit_alert type=”warning” dismissible=”false”]

This feature is available in themes that support widgets only.


You may display the Table of Contents widget in your sidebar by following these steps:

  1. Navigate to Appearance → Widgets.
  2. Drag the Table of Contents widget to the desired widget area.
  3. Configure available widget options and click Save.


[powerkit_toc title="Table of Contents" depth="2" min_count="4" min_characters="1000"]

Accepted Attributes


Display title. Default is empty.


Depth of headings. Default is 2.


The minimum number of headings in the page content. Default is 4.


The minimum number of characters of post content. Default is 1000.

Exclude Specific Headers

To exclude a certain header from the Table of Contents, add the class pk-title to the header element.