Support » Plugin: Easy Table of Contents » Include/exclude headings based on class?

  • Resolved pikamander2

    (@pikamander2)


    I see that I can exclude headings based on their text, but is there any way to do it by class?

    For example, here are some things that I want to do:

    • Only include headings with a class of ‘featured’
    • Only include headings that are inside of an element that has a class of ‘featured’
    • Exclude headings that are inside an element that has a class of ‘disclaimer’

    Any of those options would be helpful; all three would be ideal.

    Is there any way to do that currently? If not, would it be possible to add it in the future?

Viewing 1 replies (of 1 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    @pikamander2

    RE: is there any way to do it by class?

    Sorry, no, there is not.

    RE: Is there any way to do that currently?

    Possibly. I want to rewrite ezTOC to be Gutenberg native (the new WP Editor). So, perhaps that rewrite I can include such features … maybe not by class, but include/exclude by block.

Viewing 1 replies (of 1 total)
  • The topic ‘Include/exclude headings based on class?’ is closed to new replies.