Skip to content

Instantly share code, notes, and snippets.

@blivic
Last active November 5, 2019 11:35
Show Gist options
  • Save blivic/0e0a0a16ebc310f80cc99028279baa81 to your computer and use it in GitHub Desktop.
Save blivic/0e0a0a16ebc310f80cc99028279baa81 to your computer and use it in GitHub Desktop.
Add text bellow product thumbnails (Single product page)
function mx_text_bellow_product_thumbs() {
echo '<div class="woocommerce-text-under-thumbs" style="background: #fdfd5a; padding: 1em 2em; clear: left;float: left; max-width: 300px; font-size: 0.7em;">';
echo '<span>ADD TEXT, IMAGES AND ANY HTML</span>';
echo '</div>';
}
add_action( 'woocommerce_before_single_product_summary', 'mx_text_bellow_product_thumbs' , 21);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment