跳到内容

Raoa ToC Linker

v1.0.0

RaoaTech · 2026年10月2日 上架

Automatically Generate a Table of Contents for Posts and Pages. Supports auto-insert, shortcode, and a sidebar widget.

正在使用
10 以下
评分
暂无
累计下载
341
最近更新
2026年10月2日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

Settings — General tab: post types, heading levels, and auto-insert.
Settings — General tab: post types, heading levels, and auto-insert.
Settings — Appearance tab: themes, colors, and counters.
Settings — Appearance tab: themes, colors, and counters.
Table of contents on a blog post.
Table of contents on a blog post.

Raoa ToC Linker makes long-form WordPress content easier to scan. It reads headings from rendered post content, assigns stable anchor IDs, and builds a navigable table of contents.

You can insert the table of contents automatically, place it with a shortcode, or show it in a sidebar widget. Authors can override behavior per post. Readers get smooth scrolling, optional URL hashes, a collapsible list, and widget highlighting for the section in view.

Features

  • Automatic heading detection from rendered HTML (the_content)
  • Compatible with the Classic Editor, the block editor, and Elementor output (no Elementor PHP dependency)
  • Auto-insert before the first heading, after the first paragraph, or after a chosen paragraph
  • Shortcode [raoa_toc_linker] with attributes for title, levels, theme, and more
  • Sidebar widget with optional sticky positioning and active-section highlight
  • Appearance presets (Default, Minimal, Bordered, Dark, Custom colors)
  • Hierarchical or flat lists, optional counters, collapsible toggle
  • Per-post enable, heading levels, and insert mode (Classic meta box and block editor)
  • Smooth scroll with offset, optional URL hashes, and respect for reduced motion
  • Developer actions, filters, and helper functions

Shortcode

[raoa_toc_linker]

Optional attributes include title, levels, hierarchical, counter, theme, collapsible, hidden, smooth_scroll, anchors, offset, class, and label.

Privacy

Raoa ToC Linker does not send data to remote services. It does not track readers. Settings are stored in the WordPress options table; per-post overrides are stored as post meta.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums