HOW TO SEARCH FOR THE BEST CORPORATE GIFTING COMPANY IN TOWN?
Introduction
Corporate gifting is an important pa...
add_filter( 'the_title', 'wtwh_shorten_woo_product_title', 9999, 2 ); function wtwh_shorten_woo_product_title( $title, $id ) { if ( is_shop() && get_post_type( $id ) === 'product' ) { return wp_trim_words( $title, 1 ); } else { return $title; } }