WordPress.org

Ready to get started?Download WordPress

Forums

Easy Digital Downloads
[resolved] Comments wrapped in tags (6 posts)

  1. nikoza
    Member
    Posted 1 year ago #

    Hello,

    Can somebody let me know why this function

    function edd_checkout_cart() {
    do_action( 'edd_before_checkout_cart' );
    echo '<!--dynamic-cached-content-->';
    edd_get_template_part( 'checkout_cart' );
    echo '<!--/dynamic-cached-content-->';
    do_action( 'edd_after_checkout_cart' );
    }

    when it is echoed out wrap the comment like that:

    <p>
    <!--dynamic-cached-content-->

    </p>

    The p tags is messing my design making the title and the checkout_cart content having too much space!

    Is there a way to force wordpress to display the content as just a comment?

    Thank you all in advance,
    Nick

    http://wordpress.org/extend/plugins/easy-digital-downloads/

  2. Nick,

    Are you running WP Super Cache? If so, that's why. You can fix it by enabling "Dynamic Content" in the Advanced WP Super Cache settings, or by completing deleting WP Super Cache.

  3. nikoza
    Member
    Posted 1 year ago #

    Hello Pippin,

    Thank you for trying to help.

    Unfortunately I don't have a caching plugin installed as I am still in development mode.

    I am looking all over the place and I cannot seem to find the solution.
    I am seriously stack on this.

  4. nikoza
    Member
    Posted 1 year ago #

    It does not actually happends on this location only.

    It also adds
    tags in the area of checkout:
    <p>
    <input type="hidden" name="edd-user-id" value="3">

    <input type="hidden" name="edd_action" value="purchase">
    <input type="hidden" name="edd-gateway" value="paypal">
    </p>

    And possible in many other areas that I have not yet noticed.

  5. Could you show me a live URL?

  6. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 11 months ago #

    Marking this as resolved due to inactivity.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.