Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Plugin Name: Show Short Description on the Shop Page
* Plugin URI:
* Description: Shows the product's short description on the shop page with WooCommerce.
* Version: 1.0
* Author: Nicola Mustone
* Author URI:
add_action( 'woocommerce_after_shop_loop_item', 'woo_show_excerpt_shop_page', 5 );
function woo_show_excerpt_shop_page() {
global $product;
echo $product->post->post_excerpt;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment