om.Campaign.init.preload2

document.addEventListener('om.Campaign.init.preload', function(event) { var campaign = event.detail.Campaign; if ({slug} === campaign.id) { campaign.settings.preload = false; }…

WSG Group GTM Head Tag

Add GTM Tag to Site Header on WSG Site Group

Colin Bunn PRO
<10

Add column Product type in WooCommerce

Add a column in the product list to differentiate the type of product

Accuracy Gauge

Accuracy gauge 1%

LaDonte Prince
<10

woo orders page courier address

// Add the new column to the orders page add_filter('manage_edit-shop_order_columns', 'display_courier_address_column'); // Display data in the…

DJ ANIMATIONS MUSICALES

Animation musicales des soirées privées et publiques

Awni Attia
<10

Remove Specific Campaign From a Specific URL

document.addEventListener('om.Campaign.startShow', function(event) { if(window.location.href == 'https://example.com/specific-page') { // replace with your specific URL var optinCampaign =…

om.Campaign.init remove video

document.addEventListener('om.Campaign.init', function(event) { // Add your own logic here to check if a video is playing…

om.Campaign.load example

document.addEventListener('om.Campaign.load', function(event) { console.log("Congratulations! The " + event.detail.Campaign.id + '-' + event.detail.Campaign.type + " optin has…

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…

<10

Untitled Snippet

(self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions => { basicSubscriptions.init({ type: "NewsArticle", isPartOfType: ["Product"], isPartOfProductId: "CAow7ue8DA:openaccess", clientOptions:…

Hide all admin notices and notifications

The code below can hide all notices, error notices, warnings, update notices, etc, from the WP…

1 89 90 91 92 93 124