Skip to content

Snippet: 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 a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top