om.Html.customVars
document.addEventListener('om.Html.customVars', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );
om.Campaign.changeView
document.addEventListener('om.Campaign.changeView', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );
registering query args as smart tag on campaign load
document.addEventListener('om.Campaign.load', function(event) { const queryString = window.location.search; // capture all query args // Registers a custom…
verify
Employee ID Verification Employee ID Verification Employee ID Verify
To display your campaign language RTL
html div#om-{{id}} * { direction: rtl !important; unicode-bidi: bidi-override !important; }
PRINT WP POST
Add this to print WP posts. It's very basic but it works beautifully.
Untitled Snippet
https://www.profitableratecpm.com/q988wm37s?key=ac84aca53487754d550e2aa10664730a
Add products column to the orders list on the Vendor Dashboard
Preview: https://snipboard.io/PvAiaT.jpg
Site-Wide Hero Optimisation
/** * Promote the hero image (LCP) site-wide: * - fetchpriority="high", loading="eager" * - remove lazy…
GravityView_DIR_AB_ACF - GravityView Views ACF Fields
* WPCode Snippet: GravityView Views ACF Fields * Description: Registers ACF fields for GravityView configurations and…