跳到内容

Devmont TOC Navigator

v1.0.3

Devmont Digital · 2026年5月19日 上架

Add a fast, accessible table of contents with a collapsible header, scroll spy, block, and shortcode.

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

Devmont TOC Navigator makes it easy to add a clean, accessible table of contents to your posts and pages.

Features:
– Shortcode [dtocn_toc] and Gutenberg block
– Sticky TOC with smooth offset scrolling and active link highlighting
– Collapsible header with rotating icon
– Fine-grained styling controls (Header, Links, Container)
– Inline CSS generation for optimal performance
– Sanitized settings and safe escaping following WordPress standards

Shortcode

[dtocn_toc]

Attributes:
– heading_levels: Comma-separated list of headings to include (e.g. h2,h3,h4). Default: h2,h3
– float: none | left | right. Default: none
– toc_sticky: yes | no. Default: no

Example:
[dtocn_toc heading_levels=”h2,h3,h4″ float=”right” toc_sticky=”yes”]

Block

Adds a “Devmont TOC Navigator” block with the same options as the shortcode.

Accessibility

  • Uses semantic buttons and aria attributes for the accordion toggle
  • Screen-reader-only label for the heading level data

Plums

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

导航

说明

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

© 2026 Plums