Skip to content

Instantly share code, notes, and snippets.

@WPprodigy
Created April 12, 2016 23:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WPprodigy/f39f0b81509807c805e1e3e3194a57a0 to your computer and use it in GitHub Desktop.
Save WPprodigy/f39f0b81509807c805e1e3e3194a57a0 to your computer and use it in GitHub Desktop.
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