My Account

WooCommerce Show Custom Text Below Login Form Fields

WooCommerce login form on the my account page showing custom content below the form fields

Pre-Requisites

There are no pre-requisites in order for you to be able to implement this solution.

How To Implement This Solution?

Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.

About This Solution

This quick code snippet allows you to show custom content below the Login form fields on the My Account page.

/**
 * Snippet Name:	WooCommerce Custom Content Below Login Form Fields
 * Snippet Author:	ecommercehints.com
 */

add_action( 'woocommerce_login_form', 'ecommercehints_custom_login_form_text_below_form_fields', 10);
function ecommercehints_custom_login_form_text_below_form_fields() {
	echo '<p>Your custom text here!</p>';
};

Snippet Benefits

  • Inform customers of important information below the form fields on the My Account page before logging in.

100 WooCommerce Conversion Rate Optimisation Tips

This field is for validation purposes and should be left unchanged.

Let’s collaborate!

Need to outsource WordPress development?

Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.

First Timer Here?

Sign up to receive 10% off on your first month with us.

26027
WELCOME OFFER