Title: Destroy posts that use shortcodes
Last modified: August 21, 2016

---

# Destroy posts that use shortcodes

 *  [ram108](https://wordpress.org/support/users/ram108/)
 * (@ram108)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/destroy-posts-with-shortcodes/)
 * When use shortcode in posts, the post can consists of <div>’s, <!– comments –
   >, <script>’s. All these elements will be destroyed with WP Super Cache.
 * Examples:
    before `<!-- comment -->` after `<p><!-- comment --></p>` ========
   ============================ before
 *     ```
       <!-- comment --><script>...</script>
       <script>...</script>
       ```
   
 * after
 *     ```
       <p><!-- comment --><script>...</script><br />
       <script>...</script></p>
       ```
   
 * ====================================
    before
 *     ```
       <div class="someclass">
       <a href="...">
       <div>sometext</div>
       </a>
       </div>
       (...continue with repeated blocks...)
       ```
   
 * after
 *     ```
       <div class="someclass">
       <a href="..."></p>
       <div>sometext</div>
       <p></a>
       </div>
       (...continue with repeated blocks...)
       ```
   
 * You can see here: [http://www.funlinkx.com/latest-news/traditional-multani-footwear-khusa-for-girls-boys-2013](http://www.funlinkx.com/latest-news/traditional-multani-footwear-khusa-for-girls-boys-2013)
 * And I test many other sites with the same problem.
 * [http://wordpress.org/plugins/wp-super-cache/](http://wordpress.org/plugins/wp-super-cache/)

The topic ‘Destroy posts that use shortcodes’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ram108](https://wordpress.org/support/users/ram108/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/destroy-posts-with-shortcodes/)
 * Status: not resolved