Grant Wholesale Lead Approval for a Certain User Role
Allow other user roles e.g. "Editor" to "Approve" or "Reject" wholesale applications from the WP Dashboard…
CSS for Header
This snippet adds Google Analytics tracking code to the header of the site
Enqueue Child Theme's CSS & Additional CSS in WordPress Editor
/* Enqueue Child Theme style.css to editor */ add_filter('block_editor_settings_all', function($editor_settings) { // Get the URL of…
Insert User Status and EN-ID into localStorage (for Jason)
add_action('wp_head', 'output_auth0_user_id_meta'); function output_auth0_user_id_meta() { $script = ""; echo $script; }
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); } );
om.Action.window
document.addEventListener('om.Action.window', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
Slide Reposition Left Center
html div#om-{{id}} { left: 0 !important; height: 540px !important; top: calc(540px / 2) !important; bottom: calc(540px…
wp-config
define( 'OPTINMONSTER_API_USER', 'your_username_here' ); define( 'OPTINMONSTER_API_KEY', 'your_key_here' );
Optin View
#om-{{id}}-optin button.{{ns}}-CloseButton { /* Your Custom Styles */ }
Safe, Universal Performance Optimization Middleware for NexSouk.com
Safe, Universal Performance Optimization Middleware for NexSouk.com
Font Weight correction for Menu Subcategories
.mc_vertical_menu h3 { font-weight: 600 !important; }
Always enable Downloadable option
add_action( 'wp_footer', function() { ?>
CPT_KEYSMST_Weekly Summary Child to MST CASE
/** * Plugin Name: MST Weekly Summary CPT - Blueprint v4.2 Compliant * Description: Weekly summary…