WordPress.org

Support

Support » Plugins and Hacks » WP Super Cache » Destroy posts that use shortcodes

Destroy posts that use 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

    And I test many other sites with the same problem.

    http://wordpress.org/plugins/wp-super-cache/

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