Linux 软件免费装
Banner图

Table of Contents - AnchorKit

开发者 smelterstudio
freemius
更新时间 2026年9月13日 10:30
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

elementor gutenberg anchor links table of contents toc

下载

1.0.1 1.0.0

详情介绍:

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. Free features Placement Content Design Accessibility and mobile For developers AnchorKit Pro Pro 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.

安装:

  1. In your dashboard, go to Plugins > Add New, search for "AnchorKit", then install and activate it.
  2. Go to Settings > AnchorKit. In Quick Start, choose the post types that should get a table of contents.
  3. Leave Automatic Insertion on, or turn it off and add the AnchorKit block or the [anchorkit_toc] shortcode where you want the TOC.

屏幕截图:

  • Structure & SEO settings: choose heading levels, exclude headings, and set anchor IDs. Schema.org markup and custom anchor formats are Pro features.
  • The Elementor widget (Pro) with per-page style overrides and live preview in the editor.
  • The "AnchorKit: TOC" block in the Gutenberg editor.
  • Accessibility settings: a custom ARIA label, keyboard navigation, and screen reader support.

升级注意事项:

1.0.1 Fixes the support forum link on the Help tab and adds WordPress 7.1 compatibility.

常见问题:

How do I add a table of contents in the block editor?

Insert the "AnchorKit: TOC" block and choose which heading levels to include. Your global settings from Settings > AnchorKit apply automatically.

How do I add a table of contents to every post automatically?

Go to Settings > AnchorKit > Quick Start, select your post types, and turn on Automatic Insertion. Then choose where it appears and the minimum number of headings a post needs.

Does it work with Elementor, Divi, or other page builders?

Yes. In any builder, use automatic insertion or put the [anchorkit_toc] shortcode in a shortcode or text element. AnchorKit Pro adds a native Elementor widget with its own style controls and live preview.

How do I exclude a heading from the table of contents?

Add a CSS class to the heading (for example no-toc), then enter .no-toc in Settings > AnchorKit > Structure & SEO > Exclude Headings. Excluding by keyword or pattern is available in Pro.

Can I customize how it looks?

Yes. The free version includes the Minimal preset, light/dark/system themes, and a custom styling mode for colors, fonts, spacing, borders, width, and alignment, all with a live preview. Pro adds the Classic and Modern presets, bullets and numbering, shadows, animations, and advanced typography.

Is AnchorKit accessible?

Accessibility is a core design goal. The TOC uses a semantic nav element with a configurable ARIA label, works with the keyboard and screen readers, keeps focus in the right place when it is collapsed or expanded, and respects the "reduce motion" setting. These features are in the free version.

Will it slow down my site?

No. AnchorKit only loads its small CSS and JavaScript files on the post types where you enabled it, and it makes no requests to third-party servers on visitor pages.

Does it work with custom post types?

Yes. Select any public post type in Settings > AnchorKit > Quick Start.

Does it work on multilingual sites?

Yes. AnchorKit is translation-ready and reads whatever headings are on the page, so it works with WPML, Polylang, and similar plugins.

Does AnchorKit collect any data?

Not unless you agree to it. When you activate AnchorKit, a Freemius screen asks whether you want to opt in to update and security notifications. You can skip it. If you opt in, Freemius receives the data listed on that screen, and you can opt out any time from the AnchorKit Account page. AnchorKit never adds tracking to your visitor pages.

What's the difference between Free and Pro?

Free covers everything you need for a table of contents: automatic insertion, the block, shortcode, and widget, custom styling with a live preview, light/dark mode, and accessibility features. Pro adds a sticky TOC, scroll spy, the Elementor widget, reading time, extra presets and numbering, Schema.org markup, ACF and AMP support, and priority support. See the full comparison under Settings > AnchorKit > AnchorKit Pro.

Where can I get help or request a feature?

Post in the AnchorKit support forum. We read every thread. Pro customers also get priority email support.

更新日志:

1.0.1 1.0.0