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…
focus outline none
div#om-{{id}} *:focus { outline: none; }
frontend/js/snippets/scroll-behavior/sticky
This JavaScript snippet enables smooth scrolling to in-page anchors (like #section1) while automatically adjusting for a…
Diagnostic_Universal - KIC Universal Diagnostic Tool - PASSIVE VERSION
/** * KIC Universal Diagnostic Tool - PASSIVE VERSION * * A comprehensive diagnostic tool for…
JS-snippet: knoppen toevoegen lesrooster en AJAX triggeren
registratieknop toevoegen aan tabelpress
WP Version abschalten
function wpbeginner_remove_version() { return ''; } add_filter('the_generator', 'wpbeginner_remove_version');