f(x) TOC

f(x) TOC Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 5,998 downloads
f(x) TOC Icon

Try plugin: f(x) TOC

We'll create fresh WordPress site with f(x) TOC installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About f(x) TOC

Simple Table Of Contents Plugin. Just add [toc] shortcode in content to display.

5


0


0


0


0

updated: 8 years ago
since: 8 years ago

Description

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:

  1. Super simple and easy to use.
  2. Auto create Table of contents by listing all your headings in your content.
  3. The GPL v2.0 or later license. 🙂 Use it to make something cool.
  4. Support available at Genbu Media.

Shortcode Options:

You can use several options in [toc] shortcode:

  1. title: to change the title of table of contents, as default is Table of contents.
  2. title_tag: element wrapper for the title, the default is h2.
  3. list: you can use ul for unordered list (default), or ol for ordered list.
  4. 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.