ClassicPress Directory

Table of Contents Information

The plugin automatically inserts a table of contents (ToC) on every post just before the post content. The ToC will include every h2, h3, and h4 heading. The plugin uses the details and summary HTML tags to ensure that the ToC is both fully accessible and collapsible without requiring any JavaScript. The plugin also provides an optional [kts_toc] shortcode as well as a metabox on the post edit screen that, when checked, prevents the ToC from displaying on that post.