WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Destroy posts that use shortcodes (1 post)

  1. ram108
    Member
    Posted 9 months ago #

    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/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags