Exclude by Class programatically?
-
I know there is no option to exclude heading by “class”. Is there any code snippet I can use in functions php to achieve that?
Exclude by text is not useful in my case, it would be great to have a feature to exclude by “class”.
e.g.
<h2>Heading in TOC</h2>
<h2 class=”notoc”>Should not be in TOC</h2>Thank you.
SJ
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Exclude by Class programatically?’ is closed to new replies.