Promasterweb – Sommaire automatique
Promasterweb – Sommaire automatique
Description
Promasterweb – Automatic Table of Contents instantly adds a lightweight, accessible, and SEO-optimized table of contents at the top of your WordPress blog posts.
No settings. No shortcodes. No page builders required. Just activate the plugin and it works.
The plugin scans your post content, detects all H2 headings, generates clean anchor links, and displays a numbered table of contents — automatically. It only appears when a post contains at least 2 H2 headings, so it never shows up where it doesn’t belong.
Why use a table of contents?
A table of contents improves the reading experience on long-form content by letting visitors jump directly to the section they’re interested in. It also helps search engines understand the structure of your content, which can positively impact your SEO rankings and generate sitelinks in Google search results.
Key Features
- Automatic TOC generation — no shortcodes, no manual work
- Scans H2 headings only (best SEO practice)
- Generates clean, short, readable anchor links
- Removes stop words and accents from anchors for better URLs
- Anchor length limited to 4 meaningful words
- Guaranteed unique anchors — no ID conflicts
- Only displays when the post has at least 2 H2 headings
- CSS loaded only on single post pages — zero performance impact on the rest of the site
- Fully accessible with ARIA label on the nav element
- Compatible with Gutenberg, Classic Editor, and any standard HTML editor
- No options page — nothing to configure
How it works
- You write your post with H2 headings as section titles
- The plugin scans the content, extracts each H2
- A clean anchor ID is generated and injected into each heading
- A numbered table of contents is inserted at the top of the post
- Visitors can click any item to jump directly to that section
Perfect for
- Blog posts and long-form articles
- Tutorials and how-to guides
- News and editorial content
- Any content-heavy WordPress site
Installation
- Upload the plugin folder to
/wp-content/plugins/ - Activate the plugin from the Plugins menu in WordPress
- Open any post that contains at least 2 H2 headings
- The table of contents will appear automatically at the top of the post
No configuration needed. It works out of the box.
Screenshots
Faq
Yes. It works with Gutenberg, the Classic Editor, and any editor that outputs standard HTML content.
It depends on how the page builder outputs content. If the builder uses the standard the_content filter and renders H2 tags in the post body, the plugin will work. Some builders bypass this filter, in which case the TOC may not appear.
No. The plugin is intentionally limited to standard WordPress posts (blog posts). This keeps it lightweight and focused.
H2 is considered the correct heading level for main sections in a blog post (H1 being the post title). Using H2 for your section titles is a widely recommended SEO practice, and limiting the TOC to H2 keeps the structure clean and relevant.
Not yet. The TOC automatically appears on any post with at least 2 H2 headings. A per-post disable option may be added in a future version.
No. The plugin is extremely lightweight. It processes content only on single post pages, and the CSS file is enqueued only where needed. There is no database query, no JavaScript, and no external resource loaded.
It may if another TOC plugin is also active and modifying the same content. We recommend using only one table of contents plugin at a time.
Yes. The plugin support others languages.
Yes. The table of contents is wrapped in a <nav> element with an aria-label="Table of Contents" attribute for screen reader compatibility.
Reviews
Changelog
2.3.0
- Added WPML compatibility with multilingual stop words (French, English, Spanish, German)
2.2.0
- The table of contents title is automatically translated based on the site language settings.
2.1.0
- SEO and performance improvements for long posts
1.1.0
- Optimized SEO anchor generation
- Anchor length limited to 4 meaningful words
- Duplicate ID handling added
- Improved H2 parsing reliability
1.0.0
- Initial release

