Title: SmoothTOC
Author: Hardik
Published: <strong>2025 年 6 月 22 日</strong>
Last modified: 2025 年 6 月 22 日

---

搜索插件

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

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

# SmoothTOC

 作者：[Hardik](https://profiles.wordpress.org/hardikchavada/)

[下载](https://downloads.wordpress.org/plugin/smooth-toc.1.0.zip)

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

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

## 描述

SmoothTOC automatically generates a Table of Contents for your posts and pages based
on your chosen headings (H2, H3, etc). You can insert the TOC automatically (top
or after first paragraph) or manually using the [smooth_toc] shortcode. The plugin
is highly customizable, translation-ready, and built to meet WordPress.org review
standards.

#### Features

 * **Automatic TOC generation**: Creates a table of contents based on your post’s
   headings
 * **Customizable appearance**: Change colors, font size, and width
 * **Flexible placement**: Insert TOC at the top or after the first paragraph
 * **Heading selection**: Choose which heading levels to include (H1-H6)
 * **Shortcode support**: Use [smooth_toc] anywhere in your content for manual placement
 * **Per-post control**: Enable/disable TOC for individual posts
 * **Mobile-friendly**: Responsive design that works on all devices
 * **Translation-ready**: Fully translatable using WordPress translation system

#### Usage

 1. Install and activate the plugin
 2. The TOC will automatically appear in your posts and pages
 3. Configure your settings under Settings > SmoothTOC
 4. (Optional) Use the [smooth_toc] shortcode in your posts/pages for manual TOC placement

## 屏幕截图

 * [[
 * screenshot-1.png

## 安装

 1. Upload the `smooth-toc` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Settings > SmoothTOC to configure the plugin

## 常见问题

### Can I customize the appearance of the TOC?

Yes! You can customize the background color, text color, font size, and width through
the plugin settings.

### How do I disable the TOC for a specific post?

Each post has a checkbox in the post editor to disable the TOC for that specific
post.

### Can I use the TOC in my theme’s template files?

Yes, you can use the shortcode `[smooth_toc]` in your template files or call the
function `smoothtoc_generate_toc($content)` directly.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Hardik ](https://profiles.wordpress.org/hardikchavada/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

 * Initial release

## 额外信息

 *  版本 **1.0**
 *  最后更新：**11 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/smooth-toc/)
 * 标签
 * [content](https://cn.wordpress.org/plugins/tags/content/)[headings](https://cn.wordpress.org/plugins/tags/headings/)
   [navigation](https://cn.wordpress.org/plugins/tags/navigation/)[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/smooth-toc/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Hardik ](https://profiles.wordpress.org/hardikchavada/)

## 支持

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

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