Should ez-toc work when placed in Block Template?
-
I’ve been trying to get ez-toc to work when it’s placed in a shortcode block in a column in a Page template.
What works: If I place the shortcode block INSIDE page content, it works, even if I create columns within the content area. When I inspect the page I can see that <spans> with ID’s have been created below each heading.
What doesn’t work: If I edit the page template, add two columns, place a shortcode block containing [ez-toc] in the left column and the content block in the right, this happens:
The TOC is rendered correctly, with hrefs as expected, but there are no corresponding spans under the headings.
I’m running:
WP 7.1.2
Easy Table of Contents 2.0.88
Twenty Twenty-Five 1.5Please let me know what the issue might be, or if this use-case is even supported. Thanks!
You must be logged in to reply to this topic.


