Загрузка...
T
GITHUB FREE · GPL 1.0.1

Toc

Table of contents plugin

Обновлён 17.09.2026

Установка

  1. Скачайте ZIP-архив последней версии.
  2. В админке WordPress: Плагины → Добавить новый → Загрузить плагин.
  3. Активируйте плагин после загрузки.

README

Развернуть README из репозитория

Version WordPress PHP

Automatically inserts a table of contents into post content. Supports manual placement via marker or shortcode.

Requirements

Component Minimum
WordPress 4.6
PHP 8.0
Theme CSS Bootstrap 5 styles recommended

Features

  • Auto-insert TOC into post content on activation
  • Manual marker: <!--insert-toc-->
  • Shortcode: [toc]
  • Composer package type wordpress-plugin

Installation

From Git (submodule)

git submodule add git@github.com:tikhomirov/wp-toc-plugin.git wp-content/plugins/wp-toc-plugin

Manual

  1. Download the latest release.
  2. Upload to wp-content/plugins/wp-toc-plugin/.
  3. Activate Post Table of Content.
  4. Add required TOC CSS to your theme.

Usage

Automatic insertion after activation, or:

<!--insert-toc-->
[toc]

License

GPL-2.0-or-later

Author

Aleksey Tikhomirov — rwsite.ru


Русский

Плагин автоматически вставляет оглавление в контент записи. Требуются стили темы (Bootstrap 5). Ручная вставка: <!--insert-toc--> или [toc].