Shortcode Table of Contents
Display an automated table of contents via shortcode.
The facts
- Rating
- 4.7★ from 6
- Active installs
- 200+
- Price
- Free
- Last updated
- 31 Jul 2018
- Added
- Nov 2017
- Requires WP
- 4.0
- Tested up to
- WP 4.9.31
- Downloads
- 28,273
Our analysis
AI-assistedShortcode Table of Contents is a WordPress plugin that generates a table of contents for HTML content using a simple shortcode. You can specify the content container, include specific heading selectors, and customize various parameters such as speed, anchor class, and scroll spy functionality.
This plugin is suitable for users who want to enhance their content navigation by providing a structured overview of headings within their posts or pages. It is particularly useful for lengthy articles where readers may benefit from quick access to different sections.
Best for: This plugin is best for content creators looking to improve navigation in long-form articles.
What it does well
- ✓Generates a table of contents automatically
- ✓Customisable with various shortcode parameters
- ✓Supports scroll spy functionality
Where it falls short
- •Limited information on additional features
- •Last updated in July 2018, may not be fully compatible with newer WordPress versions
Verdict
Shortcode Table of Contents offers a straightforward solution for adding navigational aids to content, though its age may affect compatibility with the latest WordPress updates.
From the developer
James Kemp's own description of Shortcode Table of Contents, lightly tidied.
Simply use the [toc content=".your-container"] shortcode to automatically generate a table of contents for any HTML container.
The shortcode accepts a number of parameters:
contentstring required
A CSS selector indicating the container of your content.headersstring
A comma separated list of heading selectors that you want to include.speedint
Speed of sliding back to top.anchor-classstring
Class of anchor links.anchor-textstring
Prepended or appended to anchor headings. Leave blank to disable anchor links.top_classstring
Back to top button or link class.spytrue/false
Enable scroll spy. This will highlight the list items as you scroll past them.positionappend/prepend
Position of anchor text.spy-offsetint
Specify heading offset for spy scrolling.