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

iframe cover css

/* 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

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( ‘optin_monster_campaign_embed_output’, ‘your_prefix_om_defer_script’ ); add_filter( ‘optin_monster_embed_script_tag’, ‘your_prefix_om_defer_script’ );Continue reading