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 coming soon to WordPress.org. Once it is listed, go to Plugins→Add New in WordPress, 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 has five tabs: Where, Look, Behavior, Tools and Help. The Live preview beside them shows a sample table that updates as you change options.

  3. Step 3: Choose where the table appears

    On the Where 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 and Heading levels at H2, H3 and H4 for now.
    4. Click Save changes.
  4. Step 4: Pick a look

    On the Look 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

    Open a 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?

    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