Website Building » WooCommerce » How Do I Add a Footer in WooCommerce?

How Do I Add a Footer in WooCommerce?

Last updated on January 17, 2023 @ 1:54 pm

Adding a footer in WooCommerce is easy and can be done in two ways. The first way is to add a footer widget to your WordPress theme. The second way is to add a footer code snippet to your child theme’s functions.php file.

To add a footer widget, simply login to your WordPress admin area and go to Appearance > Widgets. From here, you can add a new widget to the “Footer Widget Area” section. Once you’ve added your widget, it will automatically appear in the footer of your WooCommerce store.

To add a footer code snippet, you’ll need to edit your child theme’s functions. Simply add the following code snippet to the end of the file:

function my_footer_text() {
echo 'This is my custom footer text';
}
add_action( 'wp_footer', 'my_footer_text' );
PRO TIP: If you are not familiar with Woocommerce, we advise you to seek help from a Woocommerce expert before attempting to add a footer. Adding a footer in Woocommerce can be tricky and if not done correctly, could break your site.
Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.