[Resolved] [Plugin: Table of Contents Plus] Using a shortcode with TOC
I use a custom shortcode in a page. This shortcode displays an h2 tag, followed by paragraphs of text.
If TOC+ is enabled for pages, it sets the h2’s span ID to all the text in the custom shortcode that follows the first h2 tag. Additionally, the #toc_list element’s anchors display all the text that follows the h2 tag in the custom shortcode as well.
As you can imagine, it looks like quite a mess.
Is there a way to fix this?
- The topic ‘[Resolved] [Plugin: Table of Contents Plus] Using a shortcode with TOC’ is closed to new replies.