Title: Protos TOC Generator
Author: Protos Software
Published: <strong>2025 年 8 月 21 日</strong>
Last modified: 2026 年 4 月 16 日

---

搜索插件

![](https://ps.w.org/protos-toc-generator/assets/banner-772x250.png?rev=3507901)

![](https://ps.w.org/protos-toc-generator/assets/icon-256x256.png?rev=3347888)

# Protos TOC Generator

 作者：[Protos Software](https://profiles.wordpress.org/gireeshtekale/)

[下载](https://downloads.wordpress.org/plugin/protos-toc-generator.2.9.zip)

 * [详情](https://cn.wordpress.org/plugins/protos-toc-generator/#description)
 * [评价](https://cn.wordpress.org/plugins/protos-toc-generator/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/protos-toc-generator/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/protos-toc-generator/#developers)

 [支持](https://wordpress.org/support/plugin/protos-toc-generator/)

## 描述

**Protos TOC Generator** automatically creates a Table of Contents for your posts
and pages by scanning for heading tags (`<h1>` to `<h6>`). It adds anchor links 
for smooth navigation within long articles.

Features:
 – Automatically injects a TOC before the first heading – Smooth scrolling
to heading sections – Supports heading levels h1 to h6 – SEO-friendly anchor links–
Easy styling and customization – Lightweight and no settings page

### License

This plugin is licensed under the GPLv2 or later.

## 屏幕截图

 * [[
 * Table of contents automatically inserted before the first heading.
 * [[
 * Smooth scrolling behavior on anchor clicks.1. Admin view for configurations

## 安装

 1. Upload the plugin folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Visit any post with headings — the TOC appears before the first heading.

## 常见问题

### Can I disable TOC for specific posts?

Not in this version. Let us know if you need this feature!

### Can I customize where the TOC appears?

By default, it appears before the first heading. A shortcode version is coming soon.

### Will this work with any theme?

Yes, it works with all standard themes and heading structures.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Protos TOC Generator」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Protos Software ](https://profiles.wordpress.org/gireeshtekale/)

[帮助将「Protos TOC Generator」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/protos-toc-generator)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/protos-toc-generator/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/protos-toc-generator/)，或通过[RSS](https://plugins.trac.wordpress.org/log/protos-toc-generator/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/protos-toc-generator/)。

## 更新日志

#### 1.1

 * Added smooth scrolling JavaScript
 * Replaced `strip_tags()` with `wp_strip_all_tags()`
 * Cleaned code for better WordPress compliance

#### 1.0

 * Initial release – auto TOC based on heading tags

## 额外信息

 *  版本 **2.9**
 *  最后更新：**2 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/protos-toc-generator/)
 * 标签
 * [headings](https://cn.wordpress.org/plugins/tags/headings/)[navigation](https://cn.wordpress.org/plugins/tags/navigation/)
   [seo](https://cn.wordpress.org/plugins/tags/seo/)[table of contents](https://cn.wordpress.org/plugins/tags/table-of-contents/)
   [toc](https://cn.wordpress.org/plugins/tags/toc/)
 *  [高级视图](https://cn.wordpress.org/plugins/protos-toc-generator/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/protos-toc-generator/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/protos-toc-generator/reviews/)

## 贡献者

 *   [ Protos Software ](https://profiles.wordpress.org/gireeshtekale/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/protos-toc-generator/)