Этот плагин не тестировался с последними 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.

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«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.