這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

評價

There are no reviews for this 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.