UIKit Preloader JS

;(function ($) { $(document).on(‘ready’, function(){ if($(‘#global-preloader’)) return $(‘#global-preloader’).fadeOut(500); }); })(jQuery);Continue reading

Newsletter Modal CSS

.uk-section-primary.uk-section, #userwayAccessibilityIcon, .tm-header, .tm-bottom { display: none; } .uk-section-default.uk-section, .uk-container { padding: 0; }Continue reading

WP Simple Pay: Require Terms of Service Link Click

jQuery( function() { var fieldId = ‘simpay-form-771-field-5’; var $checkbox = jQuery(‘#’ + fieldId); $checkbox.prop( ‘disabled’, true ); jQuery(‘label[for=”‘ + fieldId + ‘”] a’).on( ‘click’, function() { $checkbox.prop( ‘disabled’, false ); } ); });Continue reading