Last active
November 5, 2019 11:35
-
-
Save blivic/0e0a0a16ebc310f80cc99028279baa81 to your computer and use it in GitHub Desktop.
Add text bellow product thumbnails (Single product page)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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