Add shortened description under the product title in WooCommerce archive pages
In Woocommerce archives pages, I should need to display couple of lines from the product description under each product title like it's shown in this image. How can I do that? Updated: This custom function will shorten the product description (to a defined amount of words) and will display it under the title of each product in archive pages as shop: add_action('woocommerce_after_shop_loop_item_title', 'description_in_shop_loop_item', 3 ); function description_in_shop_loop_item() { global $product; // HERE define the number of words $limit = 10; $description = $product->get_description(); //