• Resolved rephil

    (@rephil)


    Hi CM,
    Im using the latest version of wordpress. The plugin almost works as intended. Im able to control what tags are included in the TOC however adding ID’s or classes does nothing. I have done as the tutorial on your website displays however with no luck. Is it because this is not available in the free version? – if so why are there fields available for it? Im specifically talking about the section “Table of Contents – Element Selector”
    Regards,
    Rephil

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author CreativeMindsSolutions

    (@creativemindssolutions)

    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

    Plugin Author CreativeMindsSolutions

    (@creativemindssolutions)

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Classes and ID’s not working’ is closed to new replies.