Shortcode Table of Contents — WordPress Table of Contents Plugin
by James Kemp · WordPress.org page · Website
Shortcode Table of Contents has 200+ active installs on WordPress.org and 28,295 downloads all time. We have tracked it since September 4, 2026; download trends appear after 30 days of data. The last update was on July 31, 2018, tested up to WordPress 4.9.31.
Shortcode Table of Contents at a glance
Is Shortcode Table of Contents well maintained?
Features
The feature list from the plugin's own readme on WordPress.org, trimmed to the essentials.
- content string required A CSS selector indicating the container of your content
- headers string A comma separated list of heading selectors that you want to include
- speed int Speed of sliding back to top
- anchor-class string Class of anchor links
- anchor-text string Prepended or appended to anchor headings. Leave blank to disable anchor links
- top_class string Back to top button or link class
- spy true/false Enable scroll spy. This will highlight the list items as you scroll past them
- position append/prepend Position of anchor text
- spy-offset int Specify heading offset for spy scrolling
Shortcode Table of Contents reviews and ratings
6 reviews on WordPress.org, with the most recent ones as their authors posted them.
6 reviews
- 5★
-
5
- 4★
-
0
- 3★
-
1
- 2★
-
0
- 1★
-
0
-
No cyrillic
It does not work if the site is in Cyrillic.
hlammm -
Filter shortcode presets
Great simple plugin! There are no filters available to set shortcode defaults. My clients dont know the right class names to set the parameter 'content'. So if you want to set the default class for 'content' or set the default set of headers, use filter 'shortcode_atts_{shortcode}'. This way you the shortcode get much cleaner like '[toc]'. If the parameters in the shortcode are set, the default are over ruled. Filter like: add_action('shortcode_atts_toc','nen_shortcode_atts_toc'); function nen_shortcode_atts_toc( $out ) { if( isset( $out['content'] ) && empty( $out['content'] ) ) $out['content'] = '.entry-content'; if( isset( $out['headers'] ) && $out['headers'] == 'h1, h2, h3, h4, h5, h6' ) $out['headers'] = 'h2, h3, h4'; return $out; } Hopefully James Kemp can apply a filter to add custom content before and/or after the div 'shortcode-toc'. This way we can add a custom toc-header or something. Thanx!
nenontwerp -
So simple and useful! Does what it promises :) Thx bro!
I'm really happy with it ^^
smith64fx -
Just what I need
I needed to make navigation for posts, and this is a ready-made automated solution. Many thanks.
resident82 -
Lightweight & versatile
Very lightweight and at the same time versatile enough with useful options.
-
the best TOC
the best TOC
drweby2
Where Shortcode Table of Contents ranks on WordPress.org
The rankings we track that Shortcode Table of Contents appears in, and how its position changed over 30 days.
| Ranking | WordPress.org placement | Position | 30 days |
|---|---|---|---|
| Best Table of Contents Plugins | #15 by tag, not in search | #25 | – |
Details
Display an automated table of contents via shortcode.
The full description, screenshots and every review live on the WordPress.org page.
Rankings Shortcode Table of Contents competes in
Tags
- anchorific
- anchors
- shortcode table of contents
- table of contents
- toc
More from James Kemp
-
Admin Bar Toggle 400+ installs
-
Admin Quick Jump 100+ installs
-
Random Related Posts Based on Category 10+ installs
- Version
- 1.0.3
- Last updated
- Jul 31, 2018
- First published
- Nov 29, 2017
- Requires WordPress
- 4.0
- Tested up to
- 4.9.31
- Requires PHP
- –
- Pricing
- Free on WordPress.org
Shortcode Table of Contents FAQ
What does Shortcode Table of Contents do?
According to its WordPress.org readme, Shortcode Table of Contents offers content string required A CSS selector indicating the container of your content, headers string A comma separated list of heading selectors that you want to include, speed int Speed of sliding back to top, anchor-class string Class of anchor links and anchor-text string Prepended or appended to anchor headings. Leave blank to disable anchor links.
How many active installs does Shortcode Table of Contents have?
WordPress.org reports 200+ active installs for Shortcode Table of Contents as of September 7, 2026.
Is Shortcode Table of Contents still maintained?
The last release was on July 31, 2018, more than a year ago. WordPress.org shows a warning on plugins that go this long without an update.
Is Shortcode Table of Contents free?
Shortcode Table of Contents is free to install from WordPress.org. Many plugins also sell a paid version or add-ons.
Where does Shortcode Table of Contents rank among Table of Contents Plugins?
Shortcode Table of Contents is #25 in the WordPress.org Table of Contents Plugins ranking.