Linux 软件免费装
Banner图

AnchorKit - Table of Contents

开发者 smelterstudio
freemius
更新时间 2026年1月14日 10:25
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

accessibility gutenberg anchor links table of contents toc

下载

1.0.0

详情介绍:

AnchorKit makes it simple to add a professional table of contents anywhere on your site with unparalleled customization and developer-friendly features: 🚀 Core Features:

安装:

  1. Upload the anchorkit folder to the /wp-content/plugins/ directory or install via Plugins > Add New.
  2. Activate the plugin through the "Plugins" menu in WordPress.
  3. Go to Settings > AnchorKit to configure global settings, then use shortcodes, blocks, or widgets anywhere on your site.

屏幕截图:

  • Supercharge your SEO with structured data and smart linking. Generate Schema.org markup, customize anchor formats, and control exactly what search engines see.
  • Seamless Elementor integration for per-page customization. Override global settings, match your design system, and preview changes in real-time.
  • First-class Gutenberg block for the modern WordPress editor. Insert customizable TOC instances anywhere with an intuitive block-based interface.
  • **Accessibility-First Controls**: WCAG compliant configuration with ARIA labels, keyboard navigation, screen reader support, and enterprise-grade accessibility features.

升级注意事项:

1.0.0 Initial public release! If you're upgrading from a development version, please review your settings after updating. All settings are preserved during upgrades.

常见问题:

Does AnchorKit collect any data?

No. The free plugin does not send telemetry or tracking data. If you opt into Pro via Freemius, you will be prompted for explicit consent before any licensing checks occur.

How do I add a TOC in the block editor?

Insert the "AnchorKit – Table of Contents" block, choose which heading levels to include, and adjust styling. Global defaults from Settings > AnchorKit are applied automatically.

Is Elementor required?

No. Elementor support is optional (Pro). You can use auto-insert, the Gutenberg block, shortcode, or widget without Elementor.

Can I use AnchorKit with page builders?

Yes! AnchorKit works seamlessly with Gutenberg (block editor), Classic Editor, and the Pro version includes dedicated Elementor widget support. It also works with other page builders through the shortcode [anchorkit_toc].

Does this work with custom post types?

Absolutely! In Settings > AnchorKit > Quick Start, you can select which post types (posts, pages, custom post types) should display the table of contents.

How do I exclude specific headings from the TOC?

Go to Settings > AnchorKit > Structure & SEO. You can exclude headings by:

  • Keywords (e.g., "Introduction, Conclusion")
  • CSS selectors (e.g., ".no-toc, #skip-heading")
  • Regular expressions for advanced filtering

Can I customize the appearance?

Yes! AnchorKit offers three preset styles (Minimal, Classic, Modern) and full custom styling mode. You can control colors, fonts, spacing, shadows, and much more. The TOC automatically adapts to light/dark mode.

Will this slow down my site?

No. AnchorKit is performance-optimized with minimal CSS/JS footprint. Assets are loaded only when needed.

Is the plugin accessible?

Absolutely! AnchorKit is built with accessibility as a core principle:

  • WCAG 2.1 AA compliant with comprehensive accessibility features
  • Full keyboard navigation support throughout all interactive elements
  • Screen reader compatible with proper ARIA labels and semantic markup
  • Focus management for collapsible elements and dynamic content
  • High contrast support with theme-aware color schemes
  • Semantic HTML structure with proper heading hierarchy
  • Configurable anchor formats for SEO and accessibility needs

How do I manually place the TOC?

You have multiple options for maximum flexibility:

  1. Shortcode: Use [anchorkit_toc] with 20+ attributes for granular control
  2. Gutenberg Block: "AnchorKit – Table of Contents" block with visual controls
  3. Elementor Widget: Drag-and-drop widget with live preview (Pro)
  4. WordPress Widget: Place in sidebars, footers, or any widget area
  5. Auto-insert: Automatic placement based on post type and position settings

How do I customize the TOC with shortcodes?

AnchorKit offers the most comprehensive shortcode system available: Basic: [anchorkit_toc] With Custom Title: [anchorkit_toc header_label="Contents"] Advanced: [anchorkit_toc display_counter="yes" theme="dark" heading_levels="2,3"] See the Shortcode section above for all 20+ supported attributes!

Is AnchorKit developer-friendly?

Absolutely! AnchorKit includes:

  • 15+ action hooks and filters for complete customization
  • Extensive shortcode attributes for programmatic control
  • GitHub repository with pull request support
  • Comprehensive developer documentation
  • Schema.org markup and ACF integration
  • WordPress coding standards compliance

Does it work with multilingual sites?

Yes! AnchorKit is translation-ready and works with WPML, Polylang, and other translation plugins.

What's the difference between free and Pro?

Free includes: Auto-insert TOC, Gutenberg block, shortcode, widget, 3 presets, custom styling, smooth scroll, and more. Pro adds: Elementor widget, sticky TOC positions, scroll spy, reading time/word count, Schema.org markup, ACF integration, and priority support.

How do I upgrade to Pro?

Visit Settings > AnchorKit > AnchorKit Pro in your WordPress dashboard to view plans and upgrade securely via Stripe or PayPal.

更新日志:

1.0.0