Title: Incompatibility with Shortcode Ultimate&#039;s su_posts shortcode
Last modified: August 30, 2016

---

# Incompatibility with Shortcode Ultimate's su_posts shortcode

 *  [lulu_](https://wordpress.org/support/users/lulu_/)
 * (@lulu_)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/incompatibility-with-shortcode-ultimates-su_posts-shortcode/)
 * Hello,
 * On a page, I use several headers tags. I also use Shortcode Ultimate’s ([https://wordpress.org/plugins/shortcodes-ultimate/](https://wordpress.org/plugins/shortcodes-ultimate/))
   su_posts shortcode in order to have some posts in the same page.
 * Alas, even if I add a [toc] shortcode, the table of content won’t appear.
 * Here’s an example : [http://www.blandinedufleuve-lyon.cef.fr/actu/test-3/](http://www.blandinedufleuve-lyon.cef.fr/actu/test-3/)
 * I’m no dev, but from a dive into the code, it seems TOC+ disables itself if there
   is a posts loop in the page. Am I right ? Is there any way to fors the TOC to
   appear ?
 * Thanks.
 * [https://wordpress.org/plugins/table-of-contents-plus/](https://wordpress.org/plugins/table-of-contents-plus/)

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

 *  [horizonm](https://wordpress.org/support/users/horizonm/)
 * (@horizonm)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/incompatibility-with-shortcode-ultimates-su_posts-shortcode/#post-6230431)
 * Hello lulu_,
 * I am having the same problem with my site. You said it disables itself it there
   is a posts loop in the page. Can you tell me the line number that the code is
   happening on? I would like to look into a patch for this to send to the developer
   and it will save time if you already have the location.
 * Otherwise, I hope to hear from the developer.
 * Joe
 *  Thread Starter [lulu_](https://wordpress.org/support/users/lulu_/)
 * (@lulu_)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/incompatibility-with-shortcode-ultimates-su_posts-shortcode/#post-6230436)
 * Hi horizonm,
 * Actually, a hint is that TOC+ leaves “<!–TOC–>” in the page source code.
 * It looks like the plugin leaves “<!–TOC–>” as a placeholder in the being generated
   page source code, to eventually replace it later, in the funtion “the_content”
   in the file /wp-content/plugins/table-of-contents-plus/toc.php
 * That’s I guessed based on my very basic knowledge of PHP, but I may be wrong.
   🙂
 * I eagerly wait for your fixing this. 🙂
 *  Thread Starter [lulu_](https://wordpress.org/support/users/lulu_/)
 * (@lulu_)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/incompatibility-with-shortcode-ultimates-su_posts-shortcode/#post-6230440)
 * Just FYI, TOC+,’s latest version that went out this week (1507) doesn’t fix this
   problem.
 *  [simoptim](https://wordpress.org/support/users/simoptim/)
 * (@simoptim)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/incompatibility-with-shortcode-ultimates-su_posts-shortcode/#post-6230456)
 * Hey guys i have the same problem.
    As soon as i activate the “latest posts” in
   my articles, the toc is no longer visible.
 * [@plugin](https://wordpress.org/support/users/plugin/) Author, can you please
   fix that big problem
 * Thanks a lot!
    Greetings

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

The topic ‘Incompatibility with Shortcode Ultimate's su_posts 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/)

 * 4 replies
 * 3 participants
 * Last reply from: [simoptim](https://wordpress.org/support/users/simoptim/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/incompatibility-with-shortcode-ultimates-su_posts-shortcode/#post-6230456)
 * Status: not resolved