Last active
July 13, 2021 17:24
-
-
Save MarceloGlez/dcaff6a1d204855bc14d8aa4c1e885e2 to your computer and use it in GitHub Desktop.
Aviso bajo imagen en página de producto (Agregar líneas de código en function.php del child theme)
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
| /*Aviso bajo imagen en pdto único*/ | |
| add_action( 'woocommerce_after_single_product_summary' , 'bbloomer_add_below_prod_gallery', 5 ); | |
| function bbloomer_add_below_prod_gallery() { | |
| echo '<div class="woocommerce-product-gallery" style="background: #51559f; padding: 1em 2em; color: #ffffff;">'; | |
| echo '<span>Todas las descargas equivalen a 1 crédito, <b><a href="https://pruebas.marceloglez.com">elije tu plan</a>.</span></b>'; | |
| echo '</div>'; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment