Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block twont

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
twont / functions.php
Last active May 23, 2019 — forked from om4james/functions.php
Display product description on WooCommerce shop/category pages
View functions.php
* Add the product's short description (excerpt) to the WooCommerce shop/category pages. The description displays after the product's name, but before the product's price.
* Ref:
* Put this snippet into a child theme's functions.php file
function woocommerce_after_shop_loop_item_title_short_description() {
global $product;
You can’t perform that action at this time.