Comments wrapped in tags
-
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
The topic ‘Comments wrapped in tags’ is closed to new replies.