Custom Heading above Qty (Woocommerce)
let qty = document.querySelector(“.e-atc-qty-button-holder”); let text = ` How many card you’re planning to purchase? Choose Quantity of Cards ` qty.insertAdjacentHTML(“afterend” , text);Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
let qty = document.querySelector(“.e-atc-qty-button-holder”); let text = ` How many card you’re planning to purchase? Choose Quantity of Cards ` qty.insertAdjacentHTML(“afterend” , text);Continue reading
/** * Custom shortcode to display WPForms form entries in table view. * * Basic usage: [wpforms_entries_table id=”FORMID”]. * * Possible shortcode attributes: * id (required) Form ID of which to show entries. * user User ID, or “current” to…Continue reading
$( document ).ready(function() { $(‘.group-two’).hide(); $(‘.change-price’).on(‘click’, function() { $(‘.group-one, .group-two’).toggle(); } ); });Continue reading
// Please edit the address and name below before activating this snippet. // Change the From address. add_filter( ‘[email protected]’; function ( $original_email_address ) { return; } ); // Change the From name. add_filter( ‘allowmetoshare’; function ( $original_email_from ) { return;…Continue reading
// Please edit the address and name below before activating this snippet. // Change the From address. add_filter( ‘[email protected]’; function ( $original_email_address ) { return; } ); // Change the From name. add_filter( ‘allowmetoshare’; function ( $original_email_from ) { return;…Continue reading
function wpcode_snippet_add_slug_body_class( $classes ) { global $post; if ( isset( $post ) ) { $classes[] = $post->post_type . ‘-‘ . $post->post_name; } return $classes; } add_filter( ‘body_class’, ‘wpcode_snippet_add_slug_body_class’ );Continue reading