

The settings page with live preview: pick a preset, set colors, and see the result instantly in light or dark mode.
AnchorKit adds a table of contents to your posts and pages automatically, or exactly where you want it with the table of contents block, the [anchorkit_toc] shortcode, or a sidebar widget. It reads your headings, builds anchor links to each section, and scrolls readers there smoothly.
You design it in a settings page with a live preview, so you see every change before you save. It follows your visitor’s light or dark mode, and it is built accessibility-first: semantic navigation markup, a customizable ARIA label, keyboard support, and respect for reduced-motion preferences.
Placement
[anchorkit_toc] shortcode, or the classic widgetContent
.no-tocDesign
Accessibility and mobile
nav markup with an ARIA label you can changeFor developers
anchorkit_toc_headings, anchorkit_should_display_toc, and anchorkit_toc_htmlPro adds the features long-form sites and agencies ask for most:
Plans start at $59/year for one site. The Agency plan covers unlimited sites. Every plan has a 14-day money-back guarantee. Upgrade from Settings > AnchorKit > AnchorKit Pro. Checkout and licensing are handled by Freemius.
Add the table of contents anywhere with:
[anchorkit_toc]
Attributes override your global settings for that one TOC:
[anchorkit_toc header_label="In this article" heading_levels="2,3" initial_view="hide"]
Display
header_label="Contents": TOC titledisplay_header_label="no": hide the titletoggle_view="no": remove the collapse toggleinitial_view="hide": start collapsedtheme="dark": system, light, or darkhierarchical="yes": nest sub-headingssmooth_scroll="no": turn off smooth scrollingdevice_target="mobile": show only on mobile or desktopContent
heading_levels="2,3": include only these heading levelsmin_headings="3": only show the TOC if the post has at least this many headingspost_types="post,page": limit to these post typespost_in="1,2": only these post IDspost_not_in="1,2": never these post IDsPro attributes
preset="modern": Classic or Modern presetdisplay_counter="yes": numbered listclass="my-toc": custom CSS classsticky="yes": sticky TOCview_more="5": show the first 5 items, then a “View more” buttonshow_reading_time="yes" and show_word_count="yes": section metadata