Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'woocommerce_short_description', '_woocommerce_short_description',999 );
- function _woocommerce_short_description($excerpt){
- $excerpt .= '<script type="text/javascript">';
- $excerpt .= 'jQuery(document).ready(function ($) {';
- $excerpt .= ' $("a[href=\"il-form\"]").click(function () {';
- $excerpt .= ' $(".iphorm-fancybox-link-8").click();';
- $excerpt .= ' return false;';
- $excerpt .= ' });';
- $excerpt .= '});';
- $excerpt .= '</script>';
- $excerpt .= do_shortcode( '[button link="il-form" color="default" size="" type="" shape="" target="_self" title="" gradient_colors="|" gradient_hover_colors="|" accent_color="" accent_hover_color="" bevel_color="" border_width="1px" icon="" icon_position="" icon_divider="no" modal="" animation_type="" animation_direction="left" animation_speed="" alignment="right" class="" id=""]Richiedi Informazioni[/button]' );
- $excerpt .= do_shortcode( '[iphorm_popup id="8" name="Informazioni da prodotto"][/iphorm_popup]' );
- $excerpt .= '<div style="height=5px; width:100%;float:none; clear:both"></div>';
- return $excerpt;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement