A customer on the Easy Digital Downloads‘ forums wanted to show the terms of agreement on the checkout page without the customer having to click to expand it. This is useful when you don’t have much text (as in the case of the customer) or perhaps you simply want to include a link to the terms of agreement on another page.

The Code

Copy and paste the following function (mind the opening PHP tag) into your child theme’s functions.php file or custom plugin:


Comments are closed.