Hi rephil,
This feature should work in free version. So if you add “test” as id for h1 elements. Only elements <h1 id=”test”> should be displayed in the Table of Contents. It’s not working for you? If that’s the case in which way it doesn’t work:
– it still shows all h1 regardless of the id?
– it doesn’t show the h1 tags at all even when they match the selector?
Best,
CM Plugins
Thread Starter
rephil
(@rephil)
Hi CM,
in the “Table of Contents – Element Selector” I have in level 0 section placed a tag h2 and in the id field written myid and on the page of the TOC h2’s are marked as follows <h2 id=”myid”>MY H2 TITLE</h2>. The result of this is that all h2’s show up in the TOC. I then tried with id only with no tag specified in the “Table of Contents – Element Selector” section. This resulted in no TOC being visible at all. I tried the exact same thing with the class field provided where I used this snippet of code instead <h2 class=”myid”>MY H2 TITLE</h2> but only to receive the exact same results. However upon writing this post I just retried it all once more and I was able to successfully use <h2 class=”myid”>. I have no clue why the ID field isn’t working though. But since I now I have working solution my request isn’t so urgent. 🙂
/Phil
Thread Starter
rephil
(@rephil)
Further investigation shows that most of the plugin is working however there are up towards 40sec delays before the changes take effect for some reason. I disabled my wordpress with no success however I think this website uses server caching can you confirm this issue or does it work fast on your end?
/Phil
Hi Phil,
First of all it’s good that you managed to get it to work at least with classes. I will check on the id settings thou. Maybe there’s a bug.
As for the speed – normally the plugin works instantly, so it’s a caching issue.
Best,
CM Plugins