om-translate-copied.js
document.addEventListener(‘om.Main.init’, function (evt) { var Strings = evt.detail._utils.strings; // Replace ¡Copiada! below with the text you wish to use. Strings[‘Copied!’] = ‘¡Copiada!’; });Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
document.addEventListener(‘om.Main.init’, function (evt) { var Strings = evt.detail._utils.strings; // Replace ¡Copiada! below with the text you wish to use. Strings[‘Copied!’] = ‘¡Copiada!’; });Continue reading
// Remove the default add to cart button remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’, 10 ); // Add custom add to cart form for both simple and variable products add_action( ‘woocommerce_after_shop_loop_item’, ‘custom_add_to_cart_form_on_shop_page’, 10 ); function custom_add_to_cart_form_on_shop_page() { global $product; if ( $product->is_type( ‘simple’…Continue reading
function wpcb_hide_admin_notices() { ?>Continue reading
Double Click Below to Get Started Loading…Continue reading
/* HTML link cover styles */ html div#om-{{id}} #iframeCover { display: block; height: 100%; width: 100%; position: absolute; } /* Sample styling for text instructions */ html div#om-{{id}} #formInstructions { text-align: center; font-weight: bold; }Continue reading
Double Click Below to Get StartedContinue reading