Title: Simple TOC
Author: Bainternet
Published: <strong>2011 年 5 月 6 日</strong>
Last modified: 2016 年 12 月 11 日

---

搜索插件

![](https://ps.w.org/bainternet-simple-toc/assets/banner-772x250.jpg?rev=624044)

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

![](https://s.w.org/plugins/geopattern-icon/bainternet-simple-toc_efefef.svg)

# Simple TOC

 作者：[Bainternet](https://profiles.wordpress.org/bainternet/)

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

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

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

## 描述

This plugin makes it easy to create a wiki like TOC (table of contents) in your 
posts or pages using shortcode, no linking or creating anchor is needed.

#### Features:

 * Auto generate heding links in TOC based on given tag eg: h2,h3 (new)
 * New TinyMCE (WordPress editor) button. (new)
 * Added a new heading for TOC. (new)
 * Create as many TOC as you want.
 * TOC is per page/post basis.
 * No coding or coding knowlage is required.

Any feedback or suggestions are welcome.

Also check out my [other plugins](http://en.bainternet.info/category/plugins)

## 屏幕截图

 * [[
 * TinyMCE button.
 * [[
 * Simple interface for shortcode insertion.
 * [[
 * Table of contents generated using Simple toc.

## 安装

 1. Extract the zip file and just drop the contents in the wp-content/plugins/ directory
    of your WordPress installation.
 2. Then activate the Plugin from Plugins page.
 3. Done!

## 常见问题

  How to use?

*New way

Simpler use the TinyMCE editor button.

*Old way

Simple, place `<---TOC--->` anywhere in you post or page where you want to the TOC
to show.
 Then for each eading you want added to the TOC add `<---TOC Heading:Heading_name---
>` and change `Heading_name` with the actual mane you want the TOC heading link 
to be.

Now that is the old way, the new way would be to use the new tinymce button I’ve
added to the plugin and simply select what you want to insert for example just click
the new tinymce button select “Auto TOC heading” specify an html tag you use for
headings like h2 or h3 and click insert.

  How to style the TOC

I left the styling up to you but if you want the defualt style of wikipedia then
add to your styles.css file:
 .toc{ background-color: #F9F9F9; border: 1px solid#
AAAAAA; padding: 5px; }

  I have Found a Bug, Now what?

Simply use the [Support Forum](https://wordpress.org/tags/bainternet-simple-toc?forum_id=10)
and thanks a head for doing that.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Bainternet ](https://profiles.wordpress.org/bainternet/)
 *   [ adsbycb ](https://profiles.wordpress.org/adsbycb/)

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

### 对开发感兴趣吗?

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

## 更新日志

0.9.0 Updated Tinymce button to use the native tinymce window manager.

0.8.1 fixed WordPress 4.0.1 replacing 3 dashes `---` with a wide dash `—`

0.8.0 A much cleaner login for adding anchor tags which is now numeric and dosn’t
fail with wierd chars.

0.7.4 Fixed `Undefined variable: post in line 172` props to Stephen Harris.

0.7.3 Fixed Typo and added plugin row links.

0.7.2 internal release

0.7.1 Quick var_dupm clean.

0.7 Fixed utf-8 encoded bug on auto generated toc.
 removed external Javascript 
file.

0.6 Fixed typo which caused Fatal error: Call to undefined function anitize_title().

0.5 Added filter hooks all over.

0.4 Added warring notice suppretion.

0.3 new auto heading generation, fixed html errors

0.2 New tinymce button for easy shortcode insertion.
 added a header for TOC.

0.1 inital release.

## 额外信息

 *  版本 **0.9.0**
 *  最后更新：**9 年前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 3.4.0 或更高版本 **
 *  已测试的最高版本为 **4.7.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/bainternet-simple-toc/)
 * 标签
 * [table of contents](https://cn.wordpress.org/plugins/tags/table-of-contents/)
   [toc](https://cn.wordpress.org/plugins/tags/toc/)[wiki like toc](https://cn.wordpress.org/plugins/tags/wiki-like-toc/)
 *  [高级视图](https://cn.wordpress.org/plugins/bainternet-simple-toc/advanced/)

## 评级

 3.3 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Bainternet ](https://profiles.wordpress.org/bainternet/)
 *   [ adsbycb ](https://profiles.wordpress.org/adsbycb/)

## 支持

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

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://en.bainternet.info/donations)