om-nextjs14.js
'use client'; import { usePathname } from 'next/navigation'; import { useEffect, useState } from 'react'; export…
om-change-view.js
// Show the Yes/No view om{{id}}.changeView('yesno'); // Show the Optin view om{{id}}.changeView('optin'); // Show the Success…
Replace Special Characters in Post Title
Replace special characters in Post Title with correct HTML entity
WooCommerce Programmatically Cancel Pending Orders After 1 Hour
Post More Detail It’s possible that you’re thinking, “But I can already do that using the…
Search Atlas
Otto SEO
Dynamic Year Copyright Shortcode
// Copy the Shortcode in the Insertion box below and paste it wherever you want the…
Wordpress Debugging
define( 'WP_DEBUG', true ); define( 'SAVEQUERIES', true );
Activer automatiquement TranslatePress Multilingue
add_action('init', function () { $extensions = [ 'translatepress-multilingual/translatepress.php', ]; foreach ($extensions as $extension) { if (!is_plugin_active($extension)…
om.Html.inlineScripts
document.addEventListener('om.Html.inlineScripts', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } )
om.Optin.error
document.addEventListener('om.Optin.error', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
om external links monsterlink uniqe id
(function(window, document) { // Your campaign's UNIQUE ID var campaignSlug = 'pcoamlfqsv7jeervep0b'; // ... the rest…