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 Appearance → Install Plugins or from the common plugins page in Plugins → Install Plugins.
Display table of contents automatically with a shortcode or in a widget based on the page headings.
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:
- Navigate to Appearance → Widgets.
- Drag the Table of Contents widget to the desired widget area.
- Configure available widget options and click Save.
[powerkit_toc title="Table of Contents" depth="2" min_count="4" min_characters="1000"]
Display title. Default is
Depth of headings. Default is
The minimum number of headings in the page content. Default is
The minimum number of characters of post content. Default is
Exclude Specific Headers
To exclude a certain header from the Table of Contents, add the class
pk-title to the header element.