Long articles rank well in search, but they’re hard to navigate if a reader has to scroll through several thousand words to find one specific answer. A table of contents solves this with minimal effort — it gives every post a clickable list of sections at the top, lets readers jump straight to what they need, and gives search engines a clearer picture of how your content is organised.
In my experience, adding a table of contents to longer posts consistently improves time on page. Readers who can see the full structure upfront are more likely to stay and read sections relevant to them rather than bouncing when they can’t find what they came for.
Most platforms don’t include a fully-featured table of contents by default, though some newer block editors now offer a basic native option. A dedicated plugin or app usually gives you more control over how it looks and behaves. This guide walks through the full setup — on WordPress specifically, that means the Easy Table of Contents plugin.
The Quick Answer
Check whether your platform includes a built-in table of contents option first. If it doesn’t, or if the built-in option is too limited, install a dedicated TOC plugin or app. Configure it to auto-insert into any post with four or more headings, and adjust how it looks, which content types it applies to, and where it appears from its settings. On WordPress, install the Easy Table of Contents plugin from the WordPress plugin directory — once activated, it auto-inserts a table of contents into any post with four or more headings, and you can configure appearance, post types, and placement all from its settings page.
Why This Matters for SEO and Navigation
A table of contents isn’t just a convenience feature — it has SEO benefits worth understanding. The anchor links it creates allow search engines to identify and index the distinct sections of a page. This can result in sitelinks appearing under your search result, where Google shows direct links to specific headings inside your article. These make your result more prominent and tend to improve click-through rates.
On the reader side, a TOC reduces friction. Visitors who arrive from search already know what they’re looking for — a table of contents helps them find it quickly rather than scanning the whole article. Pairing a good TOC with a solid heading structure gives your content both readability and search visibility.
How to Add a Table of Contents
Step 1 — Enable or Install a TOC Tool
Start by checking whether your platform already has a native table of contents feature. If it does, it’s usually the fastest way to get a basic TOC running. If it doesn’t, or the native option is too limited (no threshold control, no styling options), a dedicated plugin or app is the better route.
On WordPress, go to Plugins → Add New Plugin in your admin. Search for Easy Table of Contents. The plugin by Magazine3 is the one you want — it has over 600,000 active installations. Click Install Now, then Activate.
Step 2 — Configure the Settings
Whatever tool you’re using, the same handful of decisions matter: which content types get a TOC, whether it inserts automatically or needs to be added manually, how many headings a post needs before a TOC is worth showing, and which heading levels are included.
On WordPress, go to Settings → Table of Contents. The most important options to set here:
- Enable support for: Tick Posts. If you also want TOCs on pages, tick that too. Most sites only need it on posts.
- Auto-insert: Set to Always if you want every qualifying post to get a TOC automatically, or Conditionally if you’d prefer to control it post by post.
- Show when: The default is 4 headings — a sensible threshold. Posts with fewer than 4 headings probably don’t need a TOC.
- Heading levels: By default, H2 and H3 are included. H4 and below are rarely worth including — they add clutter without benefit.
Step 3 — Set the Position
The Position setting controls where the TOC appears in the post. Before first heading is the most common choice — the TOC appears after your opening paragraphs and before your first H2. This is the standard placement that readers expect and that search engines interpret correctly.
Avoid placing the TOC before any content at all. Your opening paragraphs should establish context before the TOC appears — this improves readability and keeps the page from feeling mechanical.
Step 4 — Customise the Appearance
Most TOC tools include a few built-in visual styles you can switch between without touching code. Pick one that matches your existing design rather than one that stands out for its own sake.
On WordPress, Easy Table of Contents offers several styles under the Theme setting. The Simple and Flat themes work well on most sites without looking out of place. Avoid themes with heavy borders or background colours if they clash with your existing design.
You can also set a custom Title for the TOC (default is “Contents”) and choose whether to include a toggle link that lets readers collapse the TOC if they don’t need it. On long posts, a collapsible TOC is a good UX choice.
Step 5 — Control It Per Post
A tool that only offers site-wide settings will eventually get in your way — some posts need different treatment than your global defaults. Look for a per-post override, not just a global switch.
On WordPress, once Easy Table of Contents is active, each post editor gains a Table of Contents metabox in the sidebar. From here you can enable or disable the TOC for that specific post, override global settings, and exclude individual headings from appearing in the list. This is useful for short posts that don’t need a TOC even if they happen to have four headings.
If you’re writing content from scratch and want to make sure each post is structured for both readers and search engines, the principles behind writing an SEO-friendly blog post apply directly here — a well-structured post with clear H2 sections will produce a clean, useful table of contents automatically.
Practical Tips
The TOC is only as good as your heading structure. If your H2 headings are vague or inconsistently written, the TOC will reflect that. Before enabling auto-insert, review your existing posts for heading clarity — short, descriptive headings make a much better TOC than long, full-sentence ones.
For the homepage and landing pages, I usually disable the TOC. These pages have a different structure — they’re not information articles — and a TOC can disrupt the layout. Use the per-page override to turn it off individually.
If you’re building out your site’s navigation more broadly, pairing a TOC with breadcrumbs gives both readers and search engines clear structural signals across every page.
For a full foundation across your site’s SEO and structure, the step-by-step guide to making a website covers everything from setup to content in one place.
Common Mistakes to Avoid
- Adding a TOC to every post regardless of length. Short posts with two or three headings don’t benefit from a TOC — it looks out of place. Keep the threshold at four or more headings.
- Using too many heading levels. Including H4 and H5 in the TOC makes it unwieldy. Stick to H2 and H3.
- Manually adding duplicate TOC blocks. If your tool already auto-inserts a TOC based on your settings, don’t also add one by hand — this creates duplicates.
- Inconsistent heading styles. If some headings are questions and others are commands and others are noun phrases, the TOC will look disjointed. Pick one style and apply it across the post.
Native Feature vs Dedicated Tool
Many block-based editors now include a basic native table of contents option. It works, but it usually has limitations: you often have to add it manually to every post, and it doesn’t offer the same control over heading thresholds, appearance, or anchor link formatting that a dedicated plugin or app does.
On WordPress, this is the core Table of Contents block in the Block Editor versus the Easy Table of Contents plugin. For most sites, the plugin is the better choice — it’s automatic, configurable, and has a much longer track record. The native block is worth considering only if you want a TOC on a small number of specific posts and don’t want to install a plugin.
Conclusion
Check for a native option, install a dedicated tool if you need more control, set the threshold to four headings, position it before the first heading, and let it run automatically. Spend the time you save on writing clearer H2 headings — that’s what will actually make the TOC useful to readers and search engines alike.

Etienne Basson works with website systems, SEO-driven site architecture, and technical implementation. He writes practical guides on building, structuring, and optimizing websites for long-term growth.