

The table inserted automatically before the first heading, with the section being read highlighted.
AriTOC reads the headings of your posts and pages and builds a table of contents your readers will actually use. Each heading gets a clean anchor, the section being read is highlighted, and nothing is loaded on pages that do not show a table.
[aritoc] with options for title, levels, exclusions, numbering, theme and more.aritoc() for theme developers.<!--nextpage-->) get one table with the headings of every page, linking across pages.no-toc.data-aritoc-label on the heading.The settings screen can check any page: it says whether a table appears, why or why not, and lists every heading with its anchor or the reason it was skipped (level not selected, a skip class, a matching skip rule, no text). No more guessing why a table is missing.
aria-current on the section being read, and focus moves to the heading after a click.Moving from Easy Table of Contents, Table of Contents Plus or LuckyWP Table of Contents? Settings > AriTOC > Tools copies their settings and keeps their shortcodes ([toc], [ez-toc], [lwptoc], [no_toc]) working with AriTOC, so you do not have to edit any post. Easy Table of Contents’ “disable on this post” choices are respected too.
the_content filter. Elsewhere, use the shortcode or block.The editor sidebar lets you always show or hide the table on one page, and change its title, heading levels and exclusions for that page.
AriTOC Pro is a separate add-on from arihub.com. It adds a floating table that follows the reader, a reading progress bar, reading time, “Show more” for long tables, folding sub-headings, extra design controls and priority support. The free plugin stays fully functional without it.
Filters: aritoc_reserved_ids, aritoc_settings, aritoc_settings_schema, aritoc_sanitize_settings, aritoc_auto_insert, aritoc_add_anchors, aritoc_enqueue, aritoc_heading, aritoc_anchor, aritoc_items, aritoc_classes, aritoc_attributes, aritoc_title_after, aritoc_html, aritoc_page_html, aritoc_post_mode.
Functions: aritoc( $args ), aritoc_get( $args, $post ), aritoc_get_headings( $post ).
JavaScript: window.AriTOC.init( element ), and the aritoc:active and aritoc:jump events.
CSS custom properties on .aritoc: --aritoc-bg, --aritoc-fg, --aritoc-mut, --aritoc-line, --aritoc-link, --aritoc-act, --aritoc-rad, --aritoc-gap.