Title: headers parameter not working
Last modified: December 28, 2017

---

# headers parameter not working

 *  Resolved [t4tsu](https://wordpress.org/support/users/t4tsu/)
 * (@t4tsu)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/headers-parameter-not-working/)
 * Hey James, this is an awesome lightweight plugin 🙂
 * Unfortunately, the “headers” parameter doesn’t work. I tried to to include just“
   h3,h4,h5,h6” but h1 and h2 still show up in the toc.
 * Thanks,
    Jan

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

 *  [Björn](https://wordpress.org/support/users/nijen/)
 * (@nijen)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/headers-parameter-not-working/#post-10094804)
 * Agreed, this is a nice plugin, but header parameter does not work at all, it 
   will pull in every header in the specified container into the table of content.
 * For others with this problem, a temporary fix could be to add the following CSS
   to remove h1:
    .shortcode-toc ul li a{ visibility: hidden;} .shortcode-toc ul
   li ul li a {visibility: visible;}
    -  This reply was modified 8 years, 6 months ago by [Björn](https://wordpress.org/support/users/nijen/).
 *  [brooklyngems](https://wordpress.org/support/users/brooklyngems/)
 * (@brooklyngems)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/headers-parameter-not-working/#post-10472114)
 * this is a great plugin! I like how I can include TOC just on the page I want 
   to use it.
 * However, I have the same issue, header parameter don’t seem to work.
 *  [dunebug81](https://wordpress.org/support/users/dunebug81/)
 * (@dunebug81)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/headers-parameter-not-working/#post-10544762)
 * Same problem here…the plugin is useless without this option.
 *  Plugin Author [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/headers-parameter-not-working/#post-10545026)
 * Hey, update coming today!

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

 The topic ‘headers parameter not working’ is closed to new replies.

 * ![](https://ps.w.org/shortcode-toc/assets/icon-256x256.png?rev=1778245)
 * [Shortcode Table of Contents](https://wordpress.org/plugins/shortcode-toc/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcode-toc/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcode-toc/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcode-toc/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcode-toc/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcode-toc/reviews/)

 * 4 replies
 * 5 participants
 * Last reply from: [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/headers-parameter-not-working/#post-10545026)
 * Status: resolved