RSA Group GTM Head Tag
Add GTM Tag to Site Header on RSA Site Group
Untitled Snippet
// Disable Gutemberg add_filter( 'use_block_editor_for_post', '__return_false', 10 );
Unattached Media Cleanup
// Schedule the event if it is not already scheduled function schedule_unattached_media_cleanup() { if (!wp_next_scheduled('delete_unattached_media_event')) {…
woo orders page Whatsapp DM from mac app
// Modify the columns and ensure WhatsApp column appears last function add_whatsapp_column($columns) { // Remove WhatsApp…
DJ ANIMATIONS MUSICALES
Animation musicales des soirées privées et publiques
Remove Specific Campaign From Any URLs Containing a Specific URL Path
document.addEventListener('om.Campaign.startShow', function(event) { if(window.location.search.indexOf('shopping-cart') > -1) { // replace shopping-cart wtih your specific URL path var…
om.Campaign.normalize
document.addEventListener('om.Campaign.normalize', function(event) { console.log(event.detail.Campaign); } );
om.Campaign.afterShow
document.addEventListener('om.Campaign.afterShow', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );
om.Action.redirect
document.addEventListener('om.Action.redirect', function(event) { console.log("Redirect in progress..."); } );
Slide Reposition Top Right
html div#om-{{id}} { top: 0px !important; bottom: unset !important; transition: top 0.3s ease 0s !important; }
Add Custom Attributes and Group Them
// Step 1: Add your custom attribute(s) to a named group function add_custom_grouped_attributes( $attributes ) {…
om-custom-redirect-close.js
jQuery(document).ready(function($){ function omRedirect() { var url = "https://optinmonster.com"; $(location).attr('href',url); } $(document).on('OptinMonsterOnClose', function(event, data, object){ if(data.optin =…
css-example.css
html div#om-{{id}} [class$="-form"] { /* Your custom styles */ }