skip to Main Content

Move WooCommerce Product Entry Title before Image

By default in WooCommerce the product entry title displays after the image. You can use this snippet to move it above the image instead.

// Move product entry title before image
add_action( 'init', function() {
	remove_action( 'woocommerce_shop_loop_item_title', 'woocommerce_template_loop_product_title', 10 );
	add_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_title', -1 );
All PHP snippets should be added via child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)
Back To Top