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

  1. nikoza
    Posted 1 year ago #


    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:



    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,


  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
    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
    Posted 1 year ago #

    It does not actually happends on this location only.

    It also adds
    tags in the area of checkout:
    <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">

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

  5. Could you show me a live URL?

  6. Marking this as resolved due to inactivity.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Digital Downloads
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.