Title: CC-TOC
Author: Clearcode
Published: <strong>2017 年 12 月 7 日</strong>
Last modified: 2020 年 4 月 3 日

---

搜索插件

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

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# CC-TOC

 作者：[Clearcode](https://profiles.wordpress.org/clearcodehq/)

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

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

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

## 描述

The WordPress CC-TOC plugin automatically creates a table of contents (TOC) for 
posts/pages (and/or custom post types) based on headings in content. This plugin
can also output a listing of child pages (INDEX).

The TOC by default appears before, while the INDEX appears after the content post/
page.

#### Tips & Tricks

 1. You can disable support for TOC and/or INDEX displaying in specific post/page edit
    page manually.
 2. You can also use shortcode (by default `toc` and/or `index` – you can change it
    in the settings):
     [toc] and/or `[index]`

## 屏幕截图

 * [[
 * **WordPress Writing Settings** – Configure the plugin.
 * [[
 * **WordPress Post Edit** – Enable/Disable TOC/INDEX for specific post.

## 安装

#### From your WordPress Dashboard

 1. Go to ‘Plugins > Add New’
 2. Search for ‘CC-TOC’
 3. Activate the plugin from the Plugin section in your WordPress Dashboard.

#### From WordPress.org

 1. Download ‘CC-TOC’.
 2. Upload the ‘cc-toc’ directory to your `/wp-content/plugins/` directory using your
    favorite method (ftp, sftp, scp, etc…)
 3. Activate the plugin from the Plugin section in your WordPress Dashboard.

#### Once Activated

Visit ‘Settings > Writing’ to configure the plugin.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Clearcode ](https://profiles.wordpress.org/clearcodehq/)
 *   [ PiotrPress ](https://profiles.wordpress.org/piotrpress/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.1

_Release date: 03.04.2020_

 * Added support for excluding H1 headers.

#### 1.1.0

_Release date: 22.11.2019_

 * Added support for custom `id` attribute.

#### 1.0.0

_Release date: 01.12.2017_

 * First stable version of the plugin.

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**6 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.9.1 或更高版本 **
 *  已测试的最高版本为 **5.4.0**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/cc-toc/)
 * 标签
 * [index](https://cn.wordpress.org/plugins/tags/index/)[indexes](https://cn.wordpress.org/plugins/tags/indexes/)
   [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/cc-toc/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Clearcode ](https://profiles.wordpress.org/clearcodehq/)
 *   [ PiotrPress ](https://profiles.wordpress.org/piotrpress/)

## 支持

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

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