The TOC should always appear when using the [toc] shortcode
-
The [toc] and [ez-toc] shortcodes will fail to output a table if the number of headings on the page is less than the number specified in the “Show when X or more headings are present” option.
While this option makes sense for auto-insertion, it doesn’t make sense for shortcode-based TOCs since you’re manually invoking them in the first place.
What’s worse is that they fail silently, so there’s no obvious indication about why they’re not appearing on the page.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘The TOC should always appear when using the [toc] shortcode’ is closed to new replies.