Skip to content

Instantly share code, notes, and snippets.

@mrkdevelopment
Last active August 10, 2018 01:55
Show Gist options
  • Select an option

  • Save mrkdevelopment/3ce195a068b1b29056e4e8ab890543b7 to your computer and use it in GitHub Desktop.

Select an option

Save mrkdevelopment/3ce195a068b1b29056e4e8ab890543b7 to your computer and use it in GitHub Desktop.
Add logo to checkout page in WooCommerce
/**
* add stripe logo to WooCommerce checkout page
*/
function add_siteseal() {
echo '<img src="https://www.mrkwebsites.com/wp-content/uploads/2017/07/powered_by_stripe_big.png" alt="Power by Stripe" />';
}
add_action( 'woocommerce_after_checkout_form', 'add_siteseal');
@mrkdevelopment
Copy link
Copy Markdown
Author

This snippet is used in your WordPress functions file to be able to insert a site seal or logo on the checkout form page.

@mrkdevelopment
Copy link
Copy Markdown
Author

A link to a video with the relevant code explained and how to use it.

https://www.youtube.com/watch?v=4ix5HCwIV6Q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment