Automaticly builds a Table of Contents once specific number (eg. 3) of headings (h1-h5) is reached and inserts it before or after post/page content.
Author: | Arūnas Liuiza (profile at wordpress.org) |
WordPress version required: | 3.0.0 |
WordPress version tested: | 4.4.14 |
Plugin version: | 0.8.1 |
Added to WordPress repository: | 07-06-2013 |
Last updated: | 09-02-2018
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 80 |
Rated by: | 3 |
Plugin URI: | http://wordpress.org/plugins/tinytoc |
Total downloads: | 3 900 |
Active installs: | 50+ |
Click to start download
|
Screenshots
A TOC widget (left) and a TOC above the page content (center) in action in TwentyFourteen theme.
Settings screen.
FAQ
Installation Instructions
- Install via
WP Admin > Plugins > Add New
or download a .zip file and upload via FTP to /wp-content/plugins/
directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- (optional) Modify options via
WP Admin > Settings > tinyTOC
, if needed. Plugin automatically embeds TOC top of post content, but you can use a widget, a shortcode ([toc]
), a couple of template tags (the_toc()/get_toc()
) for other integration options.
I don’t see tinyTOC Widget in the available widget list.
You need to activate the widget via plugin Settings page (WP Admin > Settings > tinyTOC
)
ChangeLog
0.8.0
- a
tinytoc_widget_content
filter (by Maciej Gryniuk / odie2 )
- better non-latin character support (by Maciej Gryniuk / odie2 )
- prevent duplicate slugs (by Maciej Gryniuk / odie2 )
- better
PHP < 5.3.6
support (suggested by Maciej Gryniuk / odie2 )
- a link to plugin settings from Plugins list (suggested by Maciej Gryniuk / odie2 )
- updated widget code to remove PHP4 style constructors
0.7
- an option to generate slug-based links
0.6
- a big code rewrite (options page, main class, etc.)
- renamed main plugin file to fit WordPress tradition better. Plugin will be deactivated after upgrade and you’ll need to reactivate it.
0.5
0.4
0.3
- shortcode and template tags added
- parser rewriten (regex -> DOMDocument)
0.2
- Widget added (thanks to Darcy W. Christ)
- Small bug fixes
0.1