{
    "title": "Table of Contents Plus",
    "seo_title": "Table of Contents Plus: review, settings and limits",
    "h1": "Table of Contents Plus",
    "description": "Table of Contents Plus: who this free automatic table of contents suits, its limits, the settings we recommend and its patched vulnerabilities.",
    "lead": "Table of Contents Plus automatically adds a clickable table of contents to posts and pages with enough headings. This sheet covers who it suits, its real limitations, the settings to apply and the vulnerabilities fixed over the years.",
    "language": "en",
    "locale": "en-US",
    "type": "plugin-sheet",
    "url": "https://www.wp-feint.com/features/camouflaged-plugins/table-of-contents-plus/",
    "canonical": "https://www.wp-feint.com/features/camouflaged-plugins/table-of-contents-plus/",
    "markdown": "https://www.wp-feint.com/features/camouflaged-plugins/table-of-contents-plus/index.md",
    "json": "https://www.wp-feint.com/features/camouflaged-plugins/table-of-contents-plus/index.json",
    "published": "2026-11-05T08:00:00+00:00",
    "modified": "2026-11-22T12:46:34+00:00",
    "site": {
        "name": "WP Feint",
        "url": "https://www.wp-feint.com/"
    },
    "translations": [
        {
            "language": "en",
            "hreflang": "en-US",
            "title": "Table of Contents Plus",
            "url": "https://www.wp-feint.com/features/camouflaged-plugins/table-of-contents-plus/",
            "markdown": "https://www.wp-feint.com/features/camouflaged-plugins/table-of-contents-plus/index.md",
            "json": "https://www.wp-feint.com/features/camouflaged-plugins/table-of-contents-plus/index.json"
        },
        {
            "language": "fr",
            "hreflang": "fr-FR",
            "title": "Table of Contents Plus",
            "url": "https://www.wp-feint.com/fr/fonctionnalites/extensions-camouflees/table-of-contents-plus/",
            "markdown": "https://www.wp-feint.com/fr/fonctionnalites/extensions-camouflees/table-of-contents-plus/index.md",
            "json": "https://www.wp-feint.com/fr/fonctionnalites/extensions-camouflees/table-of-contents-plus/index.json"
        },
        {
            "language": "es",
            "hreflang": "es-ES",
            "title": "Table of Contents Plus",
            "url": "https://www.wp-feint.com/es/funcionalidades/plugins-camuflados/table-of-contents-plus/",
            "markdown": "https://www.wp-feint.com/es/funcionalidades/plugins-camuflados/table-of-contents-plus/index.md",
            "json": "https://www.wp-feint.com/es/funcionalidades/plugins-camuflados/table-of-contents-plus/index.json"
        },
        {
            "language": "de",
            "hreflang": "de-DE",
            "title": "Table of Contents Plus",
            "url": "https://www.wp-feint.com/de/funktionen/getarnte-plugins/table-of-contents-plus/",
            "markdown": "https://www.wp-feint.com/de/funktionen/getarnte-plugins/table-of-contents-plus/index.md",
            "json": "https://www.wp-feint.com/de/funktionen/getarnte-plugins/table-of-contents-plus/index.json"
        },
        {
            "language": "it",
            "hreflang": "it-IT",
            "title": "Table of Contents Plus",
            "url": "https://www.wp-feint.com/it/funzionalita/plugin-camuffati/table-of-contents-plus/",
            "markdown": "https://www.wp-feint.com/it/funzionalita/plugin-camuffati/table-of-contents-plus/index.md",
            "json": "https://www.wp-feint.com/it/funzionalita/plugin-camuffati/table-of-contents-plus/index.json"
        },
        {
            "language": "pt",
            "hreflang": "pt-BR",
            "title": "Table of Contents Plus",
            "url": "https://www.wp-feint.com/pt/recursos/plugins-wordpress-camuflados/table-of-contents-plus/",
            "markdown": "https://www.wp-feint.com/pt/recursos/plugins-wordpress-camuflados/table-of-contents-plus/index.md",
            "json": "https://www.wp-feint.com/pt/recursos/plugins-wordpress-camuflados/table-of-contents-plus/index.json"
        },
        {
            "language": "nl",
            "hreflang": "nl-NL",
            "title": "Table of Contents Plus",
            "url": "https://www.wp-feint.com/nl/functies/gecamoufleerde-plugins/table-of-contents-plus/",
            "markdown": "https://www.wp-feint.com/nl/functies/gecamoufleerde-plugins/table-of-contents-plus/index.md",
            "json": "https://www.wp-feint.com/nl/functies/gecamoufleerde-plugins/table-of-contents-plus/index.json"
        }
    ],
    "headings": [
        {
            "level": 1,
            "text": "Table of Contents Plus"
        },
        {
            "level": 2,
            "text": "What Table of Contents Plus does on your site"
        },
        {
            "level": 2,
            "text": "Which sites Table of Contents Plus suits"
        },
        {
            "level": 2,
            "text": "Table of Contents Plus strengths and limitations"
        },
        {
            "level": 3,
            "text": "Strengths"
        },
        {
            "level": 3,
            "text": "Limitations"
        },
        {
            "level": 2,
            "text": "The Table of Contents Plus settings we recommend"
        },
        {
            "level": 2,
            "text": "Patched vulnerabilities in Table of Contents Plus"
        },
        {
            "level": 2,
            "text": "Table of Contents Plus FAQ",
            "id": "faq"
        }
    ],
    "body": "## The essentials\n\n- Best for blogs and documentation with long content that want an automatic table of contents everywhere.\n- Main caveat: its script and stylesheet load on every page, even pages without a table of contents.\n- Free, with no paid edition: every feature is included.\n\n## What Table of Contents Plus does on your site\n\nTable of Contents Plus, often shortened to TOC+, reads the [heading tags](https://www.wp-feint.com/glossary/heading-tags/) of a post or page and automatically inserts a clickable table of contents into the content. There is no block to add and no shortcode to remember: once you pick the post types, every piece of content with enough headings gets its table of contents, rebuilt on each page load. Each heading gets an anchor (for example `#getting-started`) and a click scrolls smoothly down to that section.\n\nThe plugin also adds a widget to show the table of contents in a sidebar, the `[toc]` shortcode to place it by hand, `[no_toc]` to remove it from one post, and the `[sitemap]`, `[sitemap_pages]`, `[sitemap_categories]` and `[sitemap_posts]` shortcodes, which print an HTML list of your pages, categories or posts. That is not an XML sitemap. The table of contents container carries a navigation role for screen readers and the `data-nosnippet` attribute, which asks search engines not to use it as the snippet in results.\n\nOriginally created by Michael Tran, the plugin is now maintained by the [All in One SEO](https://www.wp-feint.com/features/camouflaged-plugins/all-in-one-seo/) team (Awesome Motive). It is completely free, with no paid edition. Its settings screen, rebuilt in July 2026, lives under the ToC+ menu in four tabs: Display, Appearance, Behavior and Advanced. The labels quoted below are the ones the English interface shows.\n\n![Diagram: Table of Contents Plus works on visitors and bots, wordpress, database and files. Public traces: folder name (hidden with Pro); tag IDs (hidden with Pro); tag IDs (still visible); JavaScript variables (still visible); CSS classes (still visible).](https://www.wp-feint.com/media/wpm-sheets/toc-plus/diagram-en.svg?v=73ab4a9d)\n\n## Which sites Table of Contents Plus suits\n\n- **Blogs with long posts** (guides, tutorials, recipes) that want a table of contents on every article without thinking about it each time they publish.\n- **Documentation and knowledge bases**, where readers look for one specific section and share a direct link to a heading.\n- **Sites that want a table of contents in one section only**: the \"Restrict to path\" setting limits it to URLs that start with a given path, such as `/guides/`.\n\nIt is not the right pick if you want to place and tune a different table of contents in each post from the block editor: the plugin works mostly through global settings and a shortcode. It is not the right pick for a site with short pages either, or if your theme or block plugin already provides a table of contents. For a free alternative that also has a Pro edition, see [Easy Table of Contents](https://www.wp-feint.com/features/camouflaged-plugins/easy-table-of-contents/).\n\n## Table of Contents Plus strengths and limitations\n\n### Strengths\n\n- **Automatic insertion.** The table of contents appears as soon as the heading threshold is reached, on the post types you choose, including custom post types that use `the_content()`.\n- **Fine-grained filtering.** Choose the heading levels, exclude headings by their text with the `*` wildcard, and use `[no_toc]` on a single post.\n- **Readable anchors.** Lowercase and hyphenated by default, easy to share and cite.\n- **Light files.** One stylesheet and one script, about 9 KB together, with no external service.\n- **Completely free.** Color themes, live preview, widget and content lists, with no paid tier.\n\n### Limitations\n\n- **Loaded on every page.** The script, which depends on jQuery, and the stylesheet are added to every front-end page, even without a table of contents.\n- **Little control in the editor.** Apart from the shortcode and its attributes, there is no per-post setting in the block editor.\n- **Uneven translations.** Dutch is nearly complete, but French, German, Spanish and Italian cover only about thirty labels, so the screen stays mostly in English for those users.\n- **Every heading by default.** Levels H1 to H6 are included until you narrow them down, which can make the list long.\n\n## The Table of Contents Plus settings we recommend\n\nAll settings are under ToC+ > Settings, available to administrators only.\n\n| Setting | Recommended value | Why |\n| --- | --- | --- |\n| **Auto-insert for**  ToC+ > Settings > Display tab > Auto-insert | Posts, and pages only if they are long | A table of contents only helps where content has several sections. |\n| **Position**  Same section | \"Before first heading (default)\", or \"After first paragraph\" to keep the introduction on top | Readers first see what the page is about, then the outline. |\n| **Minimum headings**  Display tab > Display Conditions | 3 (default), or 4 on a blog with medium-length posts | Avoids a two-line table of contents on short content. |\n| **Heading levels**  Display tab > Headings | H2 and H3 | H4 to H6 make the list longer without helping navigation. |\n| **Exclude headings**  Same section | Recurring headings, separated by a pipe, for example `FAQ*\\|Sources` | The list only shows the sections specific to each piece of content. |\n| **Smooth scrolling and Top offset (px)**  Behavior tab > Scrolling | On, with an offset equal to the height of your sticky header (30 by default) | Otherwise a sticky header hides the heading you land on; test on desktop and on a phone. |\n| **Lowercase anchors and Hyphenate anchors**  Advanced tab > Anchors | On (default), and left unchanged on a live site | Changing them rewrites every anchor and breaks links already shared to your sections. |\n| **Disable plugin CSS**  Appearance tab > CSS | Off, unless your theme styles the table of contents itself | Without the plugin stylesheet, the table of contents loses its box and color themes. |\n| **Updates**  Plugins > Installed Plugins | Auto-updates enabled | All past vulnerabilities were fixed through updates (see below). |\n\n- Open a long post and check that the table of contents appears where you chose, with only the levels you want.\n- Click a table of contents link with the sticky header visible: the heading you land on must stay readable below the header.\n- Check that the home page stays free of a table of contents if you do not want one there (\"Show on the homepage\" is off by default).\n- If your cookie banner lists trackers, add `tocplus_hidetoc`: this functional cookie remembers for 30 days that a visitor collapsed the table of contents on a page.\n\n## Patched vulnerabilities in Table of Contents Plus\n\nPatchstack lists five patched vulnerabilities and no open one in the current version. Two are stored XSS flaws: CVE-2022-4479 affected versions before 2212, where a contributor could slip code into shortcode attributes; CVE-2024-5578, described for versions up to 2408, let an editor inject code through the settings, even without the `unfiltered_html` capability.\n\nTwo more are [CSRF](https://www.wp-feint.com/glossary/csrf/) flaws, which could make a logged-in administrator perform an action by tricking them into clicking a link: CVE-2023-44473 up to version 2302, fixed in 2309, and CVE-2024-49250 up to version 2408, fixed in 2411. The fifth, a stored XSS limited to administrators, was fixed in 2309. Version 202609.1 from September 2026 adds another round of security hardening.\n\nWhat helps: auto-updates, and contributor and editor roles given only to people who need them. WP Feint Pro renames the `table-of-contents-plus` folder in file URLs and in the tag IDs of its stylesheets and scripts, but `#toc_container`, the `tocplus` JavaScript variable and the `toc_*` classes stay visible, and the free version does not hide this plugin. This makes the plugin harder for bots to spot, but it fixes no vulnerability.\n\n## Table of Contents Plus FAQ\n\n**How do I remove the table of contents from a single post?**\n\nAdd the `[no_toc]` shortcode anywhere in the content. To do the opposite and place the table of contents at a precise spot, put `[toc]` there.\n\n**Why doesn't the table of contents show up on a page?**\n\nCheck that its post type is ticked in \"Auto-insert for\", that it has at least the number of headings set in \"Minimum headings\", and that \"Restrict to path\" does not exclude it. With automatic insertion, archives, search results and the posts page never show one.\n\n**Does the table of contents help SEO?**\n\nIt makes reading easier and provides anchors that Google sometimes shows as jump-to links in its results, with no guarantee. The `data-nosnippet` attribute keeps the table of contents from being used as the snippet.\n\n**Can I show the table of contents in the sidebar?**\n\nYes, with the plugin's widget, which follows the content being viewed. With the \"Widget only\" option in the Advanced tab, it is no longer inserted into the content of the chosen post types and only appears where you place the widget.\n\n## Key facts\n\n- Category: Utilities\n- Vendor: Awesome Motive (All in One SEO)\n- Price: Free, with no paid edition\n- Active installations (wordpress.org): 200 000+\n- Version: 202609.1\n- Official page: https://wordpress.org/plugins/table-of-contents-plus/\n\n## What WP Feint hides\n\n- Handled by WP Feint Pro only\n- With Pro: folder name, tag IDs\n- Still visible: tag IDs, JavaScript variables, CSS classes",
    "catalog": "toc-plus",
    "essentials": [
        "Best for blogs and documentation with long content that want an automatic table of contents everywhere.",
        "Main caveat: its script and stylesheet load on every page, even pages without a table of contents.",
        "Free, with no paid edition: every feature is included."
    ],
    "format": "application/json"
}