Use YouTube Thumbnail as Featured Image
// Hook into the save_post action to set the YouTube thumbnail as the featured image function…
Read More/Less Toggle with Fade Effect
Original code: Imran Siddiq, (Web Squadron on YouTube) Modified to add fade effect. Description: This code…
Customize Store Credit Accordion on Checkout Page
This snippet allows you to customize Store Credit Accordion on the Checkout Page
MemberPress: Update Account Course Tab Link With User-Role-Based Custom URLs
This code snippet replaces the default URL of the "Courses" tab link in the navigation menu…
MemberPress: Disable MemberPress Protection On Specific Page
This snippet allows disabling the MemberPress protection (unprotect) on a specific page. The code snippets overrides…
MemberPress: Auto Approve Sub-Accounts with New User Approve Plugin
This code snippet can be used if the New User Approve plugin is set on the…
Quiz About Getting Old
10 question multiple choice quiz about getting old
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…