Title: Table of Contents Generator &#8211; SmartTOC Lite
Author: SinergoData
Published: <strong>2025 年 7 月 29 日</strong>
Last modified: 2026 年 2 月 12 日

---

搜索插件

![](https://ps.w.org/smarttoc-lite/assets/banner-772-250.png?rev=3339656)

![](https://ps.w.org/smarttoc-lite/assets/icon-128x128.png?rev=3335881)

# Table of Contents Generator – SmartTOC Lite

 作者：[SinergoData](https://profiles.wordpress.org/sinergodata/)

[下载](https://downloads.wordpress.org/plugin/smarttoc-lite.1.1.3.zip)

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

 [支持](https://wordpress.org/support/plugin/smarttoc-lite/)

## 描述

Unlike heavy TOC plugins, **SmartTOC Lite** is lightweight, fast, and built with
accessibility in mind. It automatically generates a clean, SEO-friendly table of
contents based on your content’s headings (H2, H3, etc.), making it easier for visitors
to navigate your posts and pages.

SmartTOC Lite works with posts, pages, and custom post types, and is fully compatible
with both the block editor (Gutenberg) and the classic editor. By improving content
structure and readability, it also helps boost on-page SEO.

**Why choose SmartTOC Lite?**
 – ⚡ **Lightweight & fast** — built for performance,
won’t slow down your site. – 🔍 **SEO-friendly** — semantic HTML with clean anchor
links. – ♿ **Accessibility-first** — designed to work for all users. – 🎨 **Flexible
design options** — customize fonts, colors, borders, and spacing. – 🧪 **Instant
live preview** — see your changes before publishing.

**Key features:**
 – ✅ **Automatic TOC insertion** into posts, pages, or custom
post types – 🔠 **Custom heading levels** — choose which headings (H1–H6) to include–
⚙️ **Shortcode support** — `[smart_toc]` for full manual control – 🧭 **Expand/Collapse
toggle** with multiple display options – 🧩 **Theme-independent output** — clean,
responsive HTML that fits any design – 🖌️ **Visual customization** — adjust fonts,
colors, spacing, and more from settings

**Shortcode example:**

[smart_toc heading_levels=”h2,h3″ title=”On this page”]

### Credits

Developed by [SinergoData](https://sinergodata.com/)

## 屏幕截图

 * [[
 * Example of a TOC on the front-end.
 * [[
 * Live preview with admin styling options.
 * [[
 * Shortcode settings and manual control.

## 安装

 1. Upload the plugin folder to `/wp-content/plugins/` or install it from the WordPress
    Plugins screen.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to **SmartTOC Lite** to configure your preferences.
 4. Optionally, use `[smart_toc]` shortcode anywhere you want a manual TOC.

## 常见问题

### Can I use it manually only?

Yes. Just disable auto-insert and use the `[smart_toc]` shortcode wherever you need.

### Is it compatible with all themes?

Yes. The plugin outputs clean, theme-independent HTML and CSS, and includes enough
styling options to match most designs.

### Can I hide the TOC on a specific post?

Yes. You can disable it per post using the checkbox in the post editor.

### Does it work with the block editor (Gutenberg)?

Yes. SmartTOC Lite works seamlessly with both Gutenberg and the classic editor.

### Will it slow down my website?

No. The plugin is lightweight, uses clean HTML/CSS, and adds minimal overhead.

### Can I customize the styles?

Yes. You can change fonts, colors, borders, spacing and more directly from the settings.

### Is it SEO-friendly?

Yes. The TOC is generated with semantic HTML and anchor links that help search engines
better understand your content.

## 评价

![](https://secure.gravatar.com/avatar/e04c8ca4b2f232aaa01be4caf725e24f0e1c77ba624ce894ff7cebc7d142dd51?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-40715/)󠁿

 [biancapavaloae](https://profiles.wordpress.org/biancapavaloae/) 2025 年 8 月 1
日

Simple and efficient plugin! The Live Preview feature inside the admin panel is 
absolutely brilliant – you can instantly see how the TOC will look without saving
or refreshing the page. It made my work much faster and more enjoyable. Thanks!

![](https://secure.gravatar.com/avatar/2657112196aa1416d1692403ce3a1b287dc94f8c9ce01f62bf3868594b5a624f?
s=60&d=retro&r=g)

### 󠀁[Highly recommend this plugin — a must-have tool!](https://wordpress.org/support/topic/nice-4946/)󠁿

 [balcaneduard](https://profiles.wordpress.org/balcaneduard/) 2025 年 7 月 31 日

It offers everything you’d want in a TOC plugin: user-friendly interface, fast performance,
and SEO optimization.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/smarttoc-lite/reviews/)

## 贡献者及开发者

「Table of Contents Generator – SmartTOC Lite」是开源软件。 以下人员对此插件做出
了贡献。

贡献者

 *   [ SinergoData ](https://profiles.wordpress.org/sinergodata/)

[帮助将「Table of Contents Generator – SmartTOC Lite」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/smarttoc-lite)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.3

 * Fix: Removed extra spaces and improved text sanitization in TOC items.

#### 1.1.2

 * Fix: TOC no longer appears in excerpts.

#### 1.1.1

 * Update: improved TOC list in live preview

#### 1.1.0

 * Added per-side padding controls (top/right/bottom/left)
 * Updated live preview & dynamic CSS to use per-side padding
 * Back-compat: automatic migration for old numeric padding option

#### 1.0.3

 * Updated plugin name for SEO

#### 1.0.2

 * Updated CSS styles for better theme compatibility

#### 1.0.1

 * Added “Settings” link in plugin list

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.1.3**
 *  最后更新：**4 月前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 5.6 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/smarttoc-lite/)
 * 标签
 * [accessibility](https://cn.wordpress.org/plugins/tags/accessibility/)[block-editor](https://cn.wordpress.org/plugins/tags/block-editor/)
   [seo](https://cn.wordpress.org/plugins/tags/seo/)[table of contents](https://cn.wordpress.org/plugins/tags/table-of-contents/)
 *  [高级视图](https://cn.wordpress.org/plugins/smarttoc-lite/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/smarttoc-lite/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/smarttoc-lite/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/smarttoc-lite/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/smarttoc-lite/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/smarttoc-lite/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/smarttoc-lite/reviews/#new-post)

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

## 贡献者

 *   [ SinergoData ](https://profiles.wordpress.org/sinergodata/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/smarttoc-lite/)