WordPress Plugins for Creators and Online Stores

How to Add a Table of Contents to Long Blog Posts

When your posts get long, readers need a map. A table of contents (TOC) improves readability, keeps people on the page longer, and can even earn you jump links in search results.

Why a table of contents matters

A TOC lets readers jump straight to what they need. That reduces bounce rates and signals well-structured content to search engines.

The easy way

Instead of building one manually, drop in our Table of Contents Block. It builds the list automatically from your headings and adds smooth-scroll anchor links — no configuration required.

Best practices

  • Use clear, descriptive headings
  • Keep your heading hierarchy logical (H2, then H3)
  • Place the TOC near the top of the post