Change site url
add_action('init', 'update_site_url_once'); function update_site_url_once() { if (get_option('home') !== 'https://amazingmarvin.com/blog/') { update_option('siteurl', 'https://amazingmarvin.com/blog/'); update_option('home', 'https://amazingmarvin.com/blog/'); } }
WooCommerce - Add min height to title
Used to help the shopping buttons align vertically when the title line wraps irregularly due to…
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.Campaigns.init
document.addEventListener('om.Campaigns.init', function(event) { // This event is passed the Campaigns object console.log(event.detail.Campaigns); } );
om.DisplayRules.init
document.addEventListener('om.DisplayRules.init', function(event) { console.log(event.detail.DisplayRules); // An array of the Ruleset objects console.log(event.detail.DisplayRules.rulesets); console.log(event.detail.Campaign); } );
Style ALL Placeholder Text on Your Website
::-webkit-input-placeholder { color: #333 !important; } /* Chrome/Opera/Safari */ ::-moz-placeholder { color: #333 !important; } /*…
Slide Reposition Left Center
html div#om-{{id}} { left: 0 !important; height: 540px !important; top: calc(540px / 2) !important; bottom: calc(540px…
floating-monsterlink-2.js
// Floating MonsterLink Style 2 jQuery(document).ready(function ($) { //* Animate Floating MonsterLink into view on page…
change view optin
om{{id}}.changeView('optin');
Safe Performance Middleware for NexSouk.com
Safe Performance Middleware for NexSouk.com
Edit /public_html/robots.txt:
Site maps
Login Restrict
Login Restrict
WPCode Admin Number of Snippets
Change the number of snippets displayed in the admin list using a filter.