Always Fail To Add Custom Function
-
Hello,
Thanks for your plugin, but I always fail to make my custom code live properly. When I add custom code, it always appears plain code in my website head. Do you have guide to add custom code ?
I try to add :
add_action( 'wp_footer', 'woocommerce_show_coupon', 99 ); function woocommerce_show_coupon() { echo ' <script type="text/javascript"> jQuery(document).ready(function($) { $(\'.checkout_coupon\').show(); }); </script> '; }
it is showed not properly, just plain text.
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Always Fail To Add Custom Function’ is closed to new replies.