MemberPress: Change the Text and URL of the Mailchimp Privacy Link in MemberPress
This code snippet modifies the text and URL of the Mailchimp privacy link displayed by MemberPress.…
AMP Auto Ads Script
Este script carga la librería de anuncios automáticos de Google AdSense en las páginas AMP.
rearrange shipping options
Login to cpanel. Choose “File Manager” Navigate to public_html>wp-includes>functions.php and select “Edit” Paste in the contents…
Hide uncategorized from widget shop
Hide uncategorized category from widget in WooCommerce
Allow SVG Files Upload
Allow SVG Files Upload
om.SoundEffects.init
document.addEventListener('om.SoundEffects.init', function(event) { console.log(event.detail.SoundEffects); console.log(event.detail.Campaign); } );
om.DisplayRules.afterRun
document.addEventListener('om.DisplayRules.afterRun', function(event) { var DisplayRules = event.detail.DisplayRules; var Campaign = event.detail.Campaign; if ( 'YOUR-CAMPAIGN-ID' === Campaign.id…
om.Action.close example 1
// Function SaveToDisk forces file download instead of viewing in browser function SaveToDisk(fileURL, fileName) { //…
Untitled Snippet
tesdt
trigger monsterlink on hover
jQuery(document).ready(function($){ // Change 'rt78pcbzrddo1y7w0yq3' to match your specific campaign slug var campaignSlug = 'rt78pcbzrddo1y7w0yq3'; $('body').on('mouseover', '[href="https://app.monstercampaigns.com/c/'…
om-custom-redirect-all-close.js
jQuery(document).ready(function($){ function omRedirect() { var url = "https://optinmonster.com"; $(location).attr('href',url); } $(document).on('OptinMonsterOnClose', function(event, data, object){ omRedirect(); });…
css-buttons.css
html div#om-{{id}} input[type=submit], html div#om-{{id}} button { background: #ff6600 !important; }
Remove Specific Campaign Based on the Referral URL- v1
document.addEventListener('om.Campaign.startShow', function(event) { if(document.referrer.search.indexOf('google.com') > 0) { // replace with the specific referral domain var optinCampaign…