Closed Fledardev closed 1 week ago
@Fledardev
use <div><!--ToC--></div>
@Fledardev
use
<div><!--ToC--></div>
Not working, respect only the position defined in the settings
@Fledardev use
<div><!--ToC--></div>
Not working, respect only the position defined in the settings
@Fledardev can record video or take screenshot?
@Fledardev use
<div><!--ToC--></div>
Not working, respect only the position defined in the settings
@Fledardev can record video or take screenshot?
@nivianh, this is the link : https://we.tl/t-IWHvL4jUgN
@Fledardev No! add to Content editor in post/page
It works, thank you. But not ideal because not possible to use <div><!--ToC--></div>
in widget area.
Hi @nivianh,
I've encountered an issue when trying to manually insert the Table of Contents (ToC) using the tag in the content of my page. Despite inserting the tag at the desired location, the ToC does not appear at that position, and there is no ToC displayed in the content.
$this->theTag = '<!--ToC-->';
$customToCPosition = strpos($content, $this->theTag);
Steps to Reproduce:
Expected Behavior: The Table of Contents should appear at the exact position of the tag in the page content.
Actual Behavior: The ToC does not render at all when using the tag.
Could you please investigate this issue and provide a fix? It seems the plugin is not recognizing the manual insertion tag. Idea : how to activate $customToCPosition ?
Thanks!