f(x) TOC Simple Table Of Contents Plugin. Just add [toc] shortcode in content to display. This plugin will parse and grab all heading (h1 -h6) in your content and display it as structured table of contents (just like WikiPedia.org table of contents).
Features:
- Super simple and easy to use.
- Auto create Table of contents by listing all your headings in your content.
- The GPL v2.0 or later license. ๐ Use it to make something cool.
- Support available at Genbu Media.
Shortcode Options:
You can use several options in [toc] shortcode:
- title: to change the title of table of contents, as default is
Table of contents. - title_tag: element wrapper for the title, the default is
h2. - list: you can use
ulfor unordered list (default), orolfor ordered list. - depth: list depth (numeric). the default is
6.
Advance usage example using all the options:
[toc title=โThis page content:โ title_tag=โstrongโ list=โolโ depth=โ1โณ]
Notes for developer:
Github
Development of this plugin is hosted at GitHub. Pull request and bug reports are welcome.
Hooks
List of hooks available in this plugin:
filter: fx_toc_default_args (array)
The default option for the shortcode.
filter: fx_toc_output (string)
HTML output of the shortcode.
Active installations400+
Weekly downloads
15-21.05%
Version1.1.0
Last updated8/1/2016
WordPress version4.0
Tested up to4.7.29
Tags
headingshortcodetable of contentstoctoc shortcode