om.Campaign.reset
document.addEventListener('om.Campaign.reset', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );
om external links monsterlink
(function(window, document) { // Your campaign's UNIQUE ID var campaignSlug = 'YOUR-UNIQUE-ID'; // Helper to get…
allow contributors
add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'edit_posts'; } );
focus outline none
div#om-{{id}} *:focus { outline: none; }
om-wp-plugin-load-in-head.php
// returning false will change the default location from footer to the head add_filter( 'optin_monster_api_loading_location', '__return_false'…
Convert headings to sentence case
If you like your headings in sentence case this works. No changes WP Database: if snippet…
Countdown
Countdown
Untitled Snippet
https://www.profitableratecpm.com/j21q52779?key=7d81cedb29343293fc2d4f49efbe7f51
PHP - Custom login
// === CUSTOM LOGIN PAGE === add_action('login_enqueue_scripts', function () { echo ' '; }); // ===…
Light Green Theme
This is a very simple snippet that makes the greenish theme for buttons.
GravityView_DIR_AD_FPOPULATION - Auto-Populate GravityView Field Details on CPT Sync
* Location: Run Everywhere * Priority: 30 * Description: Hooks into GravityView sync to populate detailed…
Diagnostic_Universal - KIC Universal Diagnostic Tool - PASSIVE VERSION
/** * KIC Universal Diagnostic Tool - PASSIVE VERSION * * A comprehensive diagnostic tool for…