Title: TOC+ Ignoring Heading_Levels Shortcode
Last modified: June 24, 2020

---

# TOC+ Ignoring Heading_Levels Shortcode

 *  [davott](https://wordpress.org/support/users/davott/)
 * (@davott)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/toc-ignoring-heading_levels-shortcode/)
 * Hi All,
 * I’m using the code [toc heading_levels=”2,3″] to try and only show the H2 and
   H3 headings within my table of contents. Unfortunately the heading_levels attribute
   is simply being ignored and all headings are being shown in the table.
 * Has anyone had any success applying the heading_levels parameter recently?
 * Regards,
    David.
 * Ignore this, managed to fix it! Issue with my shortcode
    -  This topic was modified 5 years, 11 months ago by [davott](https://wordpress.org/support/users/davott/).
    -  This topic was modified 5 years, 11 months ago by [davott](https://wordpress.org/support/users/davott/).

The topic ‘TOC+ Ignoring Heading_Levels Shortcode’ is closed to new replies.

 * ![](https://ps.w.org/table-of-contents-plus/assets/icon-256x256.png?rev=1151771)
 * [Table of Contents Plus](https://wordpress.org/plugins/table-of-contents-plus/)
 * [Support Threads](https://wordpress.org/support/plugin/table-of-contents-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/table-of-contents-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/table-of-contents-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/table-of-contents-plus/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [davott](https://wordpress.org/support/users/davott/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/toc-ignoring-heading_levels-shortcode/)
 * Status: not a support question