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.
[premiumkits_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.