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

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” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“CC-TOC”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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.