om.Listeners.init
document.addEventListener('om.Listeners.init', function(event) { console.log(event.detail.Listeners); console.log(event.detail.Campaign); } );
om.Form.init
document.addEventListener('om.Form.init', function(event) { console.log(event.detail.Form); console.log(event.detail.Campaign); } );
om.Optin.error example
document.addEventListener('om.Optin.error', function(event) { const url = "http://optinmonster.com"; window.location.href = url; } );
CLEAN & MINIFY ASSETS
please work
Slide Reposition Left Center v2
html div#om-{{id}} { left: 0 !important; height: 540px !important; top: calc(540px / 2) !important; bottom: calc(540px…
Post Shortcodes
estimated read time, breadcrumbs, related posts
defer-om-embed-wordpress.php
function your_prefix_om_defer_script( $campaign_embed ) { $campaign_embed = str_replace( 's.async=true;', 's.defer=true;', $campaign_embed ); return $campaign_embed; }; add_filter(…
Product Detail from External Source
function my_produkt_detail($ean, $field_path = '', $default = '') { static $cache = array(); try { if…
Normalize
Settings to normalize across browsers
Untitled Snippet
https://www.profitableratecpm.com/dwuhgmq4?key=3fcac929ceb83226975960a6ce35aa73
Redirect Lost Password to a Custom Page
By default, some plugins redirect the “Lost Password” link to the WordPress admin panel. This snippet…
Notify if Stripe is put in Test Mode
Notification for Test mode on Update
Prevent Tasty Links inside Tasty Recipes
Prefer to keep your recipe cards clear of automatic links from your Tasty Links keywords? No…