Linux 软件免费装
Banner图

Simple Sticky TOC

开发者 bonddesign
更新时间 2025年8月10日 21:18
PHP版本: 7.2 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

anchor headings sticky table of contents toc

下载

1.0.1

详情介绍:

Simple Sticky TOC automatically generates a sticky table of contents for single posts or pages by parsing <h2>, <h3>, and <h4> tags. It is lightweight, mobile-friendly, and works without jQuery. Features:

安装:

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. The TOC will appear automatically above your post content.

屏幕截图:

  • Toggleable TOC on mobile
  • Admin panel for depth control
  • TOC layout in RTL mode

升级注意事项:

1.0.1 Improved compatibility by unifying prefixes, updated contributor info, and cleaned release package from hidden files. 1.0.0 First public release with mobile toggle, RTL support, and theme overrides.

常见问题:

Can I choose which heading levels are used?

Yes. Go to Settings → BNDDSGN_Simple Sticky TOC and select the depth (h2, h2–h3, or h2–h4).

Can I disable TOC on some posts?

Yes, there's a checkbox in the post editor sidebar to disable it per-post.

Can I change the layout or style?

Yes, copy toc-template.php, toc.css, or toc.js into your theme folder (simple-sticky-toc/) and customize freely.

Is this plugin compatible with RTL sites?

Yes, it automatically adjusts alignment and layout.

Does it work with block themes (FSE)?

Yes.

更新日志:

1.0.1 1.0.0