Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Show brand image around the product short description.
add_action( 'woocommerce_single_product_summary', 'wc_ninja_add_brand_to_product_page', 19 );
function wc_ninja_add_brand_to_product_page() {
echo do_shortcode('[product_brand width="64px" height="64px" class="alignright"]');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.