Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Summary


Excerpt

The Table of Contents shortcode inserts a linked list of headings from your page.

The list is automatically generated, and the titles link to the headings on your page. This can help aid navigation of a longer page with many headings.

...

Default: div.entry-content (This is all of the content between the breadcrumbs and the footer.)

inline

Set to 'true' to display the Table of Contents as an un-styled, inline bulleted list. The width will be ignored and the TOC will flow with the content.

Default: false - the TOC will display in a callout.

id

Use this parameter to set the id of the element that contains the table of contents. You must specify unique ids if you want to have more than one Table of Contents on each page.

Default: toc

Usage / Examples

[toc ]

This is all that is needed to add the basic table of contents to your page.

...