Local pickup custom percentage discount in WooCommerce checkout
Offering discounts for local pickup is a great way to attract customers who are looking for…
google search
google search console verification
Enable Pinch to Zoom on Mobile Devices
function remove_my_action() { remove_action('wp_head', 'et_add_viewport_meta'); } function dt_et_add_viewport_meta(){ echo ''; } add_action( 'init', 'remove_my_action'); add_action( 'wp_head',…
Replace WP Logo and the default 'logo' link
Use your custom logo along a replace the default 'logo' link on the login page, don't…
Máscara CPF 2
// Carrega a biblioteca Inputmask var script = document.createElement('script'); script.src = "https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.8/jquery.inputmask.min.js"; script.onload = function ()…
Activer automatiquement WooCommerce et les paiements
add_action('init', function () { $extensions = [ 'woocommerce/woocommerce.php', 'woo-payments/woocommerce-payments.php', 'woocommerce-paypal-payments/woocommerce-paypal-payments.php', 'woocommerce-tax/woocommerce-tax.php', 'google-listings-and-ads/google-listings-and-ads.php', // si installé 'kliken-marketing/kliken-marketing.php',…
om.Html.scripts
document.addEventListener('om.Html.scripts', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );
om.Action.redirect
document.addEventListener('om.Action.redirect', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
Slide Reposition Bottom Center
html div#om-{{id}} { width: 350px !important; left: calc(350px / 2) !important; right: calc(350px / 2) !important;…
Add Unified Product SKU with ID for Facebook Feed || WPML || PFE
function adt_wpml_unified_product_sku_id( $product_data, $feed, $product ) { // Check if the feed is for Facebook dynamic…
om-custom-redirect-all-close.js
jQuery(document).ready(function($){ function omRedirect() { var url = "https://optinmonster.com"; $(location).attr('href',url); } $(document).on('OptinMonsterOnClose', function(event, data, object){ omRedirect(); });…
css-namespace-footer.css
html div#om-{{id}} .{{ns}}-footer { /* Your custom styles */ }
Fix Divi Post Content Width
Paste this directly into the post content module of the theme builder template.