🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Shortcode Table of Contents icon
Possibly abandoned Tested up to 4.9.36 #1 in anchorific

Shortcode Table of Contents

Simply use the [toc content=".your-container"] shortcode to automatically generate a table of contents for any HTML container.

Active installs200+100+ tier
Downloads · 30d177▲ +36.2% vs prev. 30d
Rating4.7/56 reviews
Health score37/100At risk
All-time downloads28.7KSince Nov 2017
Support resolved—No recent threads
RequiresWP 4.0PHP any
Downloads · 7d56▲ +40% week over week
Our verdict

Consider an alternative

Shortcode Table of Contents shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 4.7/5 and was last updated 8 years ago, and scores 37/100 on our health check.

  • Small user base (200+ active installs)
  • No update in 8 years
  • Only tested up to WordPress 4.9 (latest is 7.1)

Daily downloads

4812Sep 4Oct 18Dec 2
Yesterday16
Daily average (1y)3
Peak day16Dec 2, 2026
Last 12 months1K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Shortcode Table of Contents stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
anchorific #1 1 Best anchorific plugins →
anchors >100 1,462 Best anchors plugins →
shortcode table of contents >100 5,579 Best shortcode table of contents plugins →
table of contents >100 10,000 Best table of contents plugins →
toc >100 242 Best toc plugins →

Version adoption

Share of active sites per release.

  • 1.0100.0%

Rating breakdown

★★★★★★★★★★ 4.7 from 6 reviews

  • 5★83.3%
  • 4★0.00%
  • 3★16.7%
  • 2★0.00%
  • 1★0.00%

About Shortcode Table of Contents

From the official readme · v1.0.3

Description

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:

  • 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.

Installation

  1. Upload the plugin files to the /wp-content/plugins/shortcode-toc directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

Changelog

v1.0.3 (31/07/2018)
[fix] Revert back to original anchorific. Bower one was an old version.

v1.0.2 (01/12/2017)
[update] Use latest anchorific.

v1.0.1 (30/11/2017)
[update] Remove anchor text by default.
[fix] Ensure ‘spy’ param works with true/false values.

v1.0.0 (29/11/2017)
[release] Initial release.

Full changelog on WordPress.org →

Screenshots

Add the [toc] shortcode to any post/page/custom-post-type, at any position in the content.
Add the [toc] shortcode to any post/page/custom-post-type, at any position in the content.
A nested list will be generated based on the headings within your chosen HTML element.
A nested list will be generated based on the headings within your chosen HTML element.
Add the anchor-text parameter.
Add the anchor-text parameter.
When the anchor-text parameter is set, the text will be appended to your headings so your users can easily copy the link to that section.
When the anchor-text parameter is set, the text will be appended to your headings so your…

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

FAQ

Shortcode Table of Contents: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Shortcode Table of Contents free?

Yes. Shortcode Table of Contents is free to download and use from the official WordPress.org plugin directory.

Is Shortcode Table of Contents safe to use in 2026?

Shortcode Table of Contents shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 4.7/5 and was last updated 8 years ago, and scores 37/100 on our health check.

How many websites use Shortcode Table of Contents?

Shortcode Table of Contents is active on 200+ WordPress websites and has been downloaded 28,688 times since it launched in November 2017. It was downloaded 177 times in the last 30 days.

Does Shortcode Table of Contents work with WordPress 7.1?

Shortcode Table of Contents is officially tested up to WordPress 4.9.36, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Shortcode Table of Contents last updated?

The latest version, 1.0.3, was released on July 31, 2018 (8 years ago).

Who makes Shortcode Table of Contents?

Shortcode Table of Contents is developed and maintained by James Kemp.

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open