Title: Exclude heading based on class
Last modified: January 23, 2026

---

# Exclude heading based on class

 *  Resolved [Pedro Mendonça](https://wordpress.org/support/users/pedromendonca/)
 * (@pedromendonca)
 * [4 months, 4 weeks ago](https://wordpress.org/support/topic/exclude-heading-based-on-class/)
 * Hi, thanks for this cool plugin!
 * I’m using it in Template Mode, in a blog template, so I cannot manually hide/
   exclude a specific blog heading from the TOC.
 * Is it possible to add support to add a class to a heading which will make KB 
   TOC to ignore it, like `.ht-toc-ignore`?
 * Thanks in advance.
 * Pedro

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Richard Long](https://wordpress.org/support/users/richardlong/)
 * (@richardlong)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/exclude-heading-based-on-class/#post-18847793)
 * Hi Pedro,
 * Thanks for your feedback and kind words.
 * That sounds like a neat feature improvement suggestion for the plugin.
 * I’ve raised that on our product tracker and hope to be able to add that in the
   next release.
 * Thanks and Kind Regards,
 * Richard
 *  Thread Starter [Pedro Mendonça](https://wordpress.org/support/users/pedromendonca/)
 * (@pedromendonca)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/exclude-heading-based-on-class/#post-18847800)
 * Hi Richard,
 * That is great news, thank you for your support!
 * Pedro

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexclude-heading-based-on-class%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/heroic-table-of-contents/assets/icon.svg?rev=2261757)
 * [Heroic Table of Contents](https://wordpress.org/plugins/heroic-table-of-contents/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/heroic-table-of-contents/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/heroic-table-of-contents/)
 * [Active Topics](https://wordpress.org/support/plugin/heroic-table-of-contents/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/heroic-table-of-contents/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/heroic-table-of-contents/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Pedro Mendonça](https://wordpress.org/support/users/pedromendonca/)
 * Last activity: [3 months, 1 week ago](https://wordpress.org/support/topic/exclude-heading-based-on-class/#post-18847800)
 * Status: resolved