I am using the following code for displaying a custom attribute on the Woocommerce shop page. But for some reason, the year is displayed above the product image instead of after the product title (In between the product title and the price).
add_action('woocommerce_after_shop_loop_item_title', 'YearOfMake', 10);
function YearOfMake()
{
global $product;
$abv = $product->get_attribute('year-made');
if (empty($abv))
return;
echo __($abv, 'woocommerce');
}