Add your first table of contents with AriTOC

Install AriTOC, choose where the table appears and check it on a post that has three or more headings.

  • Tutorial
  • AriTOC
  • 2 min read
  • Updated

AriTOC works on WordPress 6.3 or newer with PHP 7.4 or newer. In five steps you get a table of contents on your posts and pages.

  1. Step 1: Install and activate

    AriTOC is free on WordPress.org. In WordPress, go to Plugins→Add New, search for AriTOC, click Install Now and then Activate.

    If another table of contents plugin is active, AriTOC shows a warning on the Plugins screen, because your pages may show two tables. See Switch from another table of contents plugin.

  2. Step 2: Open the settings

    Go to Settings→AriTOC, or click Settings under AriTOC on the Plugins screen. The screen opens on Overview, which sums up in plain words how AriTOC works on your site. The other tabs are Placement, Headings, Appearance, Navigation and Tools. The Preview beside them updates as you change options; under Preview with you can pick one of your own pages instead of the sample headings.

  3. Step 3: Choose where the table appears

    On the Placement tab:

    1. Under Insert automatically on, tick the post types that get a table. Posts and Pages are ticked when you first activate AriTOC.
    2. Under Position, choose where the table goes. The default is Before the first heading.
    3. Leave Minimum headings at 3 for now. The Heading levels, H2, H3 and H4 by default, are on the Headings tab.
    4. Click Save changes.
  4. Step 4: Pick a look

    On the Appearance tab, choose a Theme and a Numbering style and watch the live preview. Automatic (follows the visitor’s device) follows the light or dark setting of the visitor's device. Click Save changes.

  5. Step 5: Check a post

    On the Overview tab, under Check a page, choose a post and click Check: you see whether it gets a table, and which headings are listed or skipped and why. Then open the published post that has at least three headings at levels H2 to H4. The table appears before the first heading. Click an entry: the page scrolls to that heading, and while you read, the table highlights the section you are in.

    No table?

    Check a page on the Overview tab names the reason. Usually the post has fewer headings than the minimum at the selected levels, its post type is not ticked under Insert automatically on, or the post is set to Hide on this page in the editor. A page builder that prints content without the standard the_content filter also gets no automatic table: use the block or shortcode there.

Next steps

Still stuck?

Our helpdesk answers on working days, Norwegian time. Include your WordPress version, PHP version, AriTOC version and the page address.

Submit a ticketor email info@arihub.com