ACF JSON Menu Import
if( function_exists('acf_add_options_page') ) { acf_add_options_page(); } // // 1. Register ACF Field for Menu JSON add_action('acf/init',…
Wordpress Debugging
define( 'WP_DEBUG', true ); define( 'SAVEQUERIES', true );
Year footer update
Update copyright year automatically in footer
RADIO HTML bielo
NOVITÀ! È aperto il polo di Radiologia
om.Campaign.init remove video
document.addEventListener('om.Campaign.init', function(event) { // Add your own logic here to check if a video is playing…
om.Campaign.load
document.addEventListener('om.Campaign.load', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );
om.Analytics.track example 2
document.addEventListener('om.Analytics.track', function(event) { if ( 'conversion' === event.detail.Analytics.type ) { dataLayer.push({ 'event': 'gaTriggerEvent', // Follow Custom…
Slide Reposition Bottom Left
html div#om-{{id}} { right: auto !important; margin-left: 20px !important; }
om external links monsterlink uniqe id
(function(window, document) { // Your campaign's UNIQUE ID var campaignSlug = 'pcoamlfqsv7jeervep0b'; // ... the rest…
allow authors
add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'publish_posts'; } );
Success view
#om-{{id}}-success button.{{ns}}-CloseButton { /* Your Custom Styles */ }
Feed Generation Cron Script
This file will be used to run via cron and update feed based on the ID