Title: enabling excerpt breaks TOC  plugin
Last modified: August 22, 2016

---

# enabling excerpt breaks TOC plugin

 *  [givememyleg](https://wordpress.org/support/users/givememyleg/)
 * (@givememyleg)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/enabling-excerpt-breaks-toc-plugin/)
 * Hello,
 * I’ve been using the free TOC+ plugin for years: [https://wordpress.org/plugins/table-of-contents-plus/](https://wordpress.org/plugins/table-of-contents-plus/)
 * Today I installed Recent Posts Widget Extended and am using the shortcode in 
   various posts and pages. It seems to work well, however, when I enable excerpts,
   the TOC+ box disappears. It works fine without them enabled.
 * In other words:
 * #1 [rpwe limit=”3″ thumb=”true” cat=”52″ thumb_height=”172″ thumb_width=”240″](
   This loads everything fine, TOC+ box appears.)
 * #2 [rpwe limit=”3″ thumb=”true” cat=”52″ thumb_height=”172″ thumb_width=”240″
   excerpt=”true” length=”50″ readmore=”true”] (TOC+ box does not load, latest feed
   works fine.)
 * Any idea what would be causing this to happen?
 * [https://wordpress.org/plugins/recent-posts-widget-extended/](https://wordpress.org/plugins/recent-posts-widget-extended/)

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

 *  [scottbeyer](https://wordpress.org/support/users/scottbeyer/)
 * (@scottbeyer)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/enabling-excerpt-breaks-toc-plugin/#post-5933300)
 * I ran into this same problem using a shortcode I wrote for a custom theme. The
   shortcode includes a line where I set a variable to get_the_excerpt(). With that
   inline in the code and my shortcode in use, the TOC is not generated on that 
   page. If I comment out that single line from my code, the TOC is generated as
   expected.
 *  Plugin Author [satrya](https://wordpress.org/support/users/satrya/)
 * (@satrya)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/enabling-excerpt-breaks-toc-plugin/#post-5933302)
 * I’m not familiar with that plugin, I’ll check it soon 🙂

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

The topic ‘enabling excerpt breaks TOC plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recent-posts-widget-extended_3384ca.
   svg)
 * [Recent Posts Widget Extended](https://wordpress.org/plugins/recent-posts-widget-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recent-posts-widget-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recent-posts-widget-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recent-posts-widget-extended/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [satrya](https://wordpress.org/support/users/satrya/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/enabling-excerpt-breaks-toc-plugin/#post-5933302)
 * Status: not resolved