slider wont load unless you scrolldown on mobile, slick.js carousel

This behavior of the page is caused by the WP Rocker plugin you are using. With the active “Delay JavaScript Execution” option (“File Optimization” tab), all scripts on your website are loaded only after the user performs some action (e.g. will move the cursor). This applies to both the mobile and desktop versions. Excluding just … Read more

Elementor form – checkboxes validation

For anyone interested, I was able to resolve it like so: function form_checkboxes_validation(){ ?> <script type=”text/javascript”> (function($){ $(“#send-request”).click(function(){ if(! $(‘input[name=”form_fields[suite][]”]’).is(‘:checked’)) { alert(“Please select at least one suite!”); return false; } }); })(jQuery); </script> <?php } add_action(‘wp_footer’, ‘form_checkboxes_validation’);

Override default options in plugin metaboxes

as example of js code that will run on every new post page function admin_footer_se_119285(){ ?> jQuery(window).ready(function(){ if (jQuery(‘#metabox-id-div’).length == 1){ // put your code } }) <?php } ?> Take a look to usefull reference to admin_footer-(plugin_page) action hook

Fire an event after Featured Image selection

I figure it out. This may be a bad solution but atleast it works $(‘.inside’).bind(‘DOMNodeInserted DOMNodeDeleted’, function(event) { //WRITE WHAT YOU NEED TO DO} Inside a file abhiScript.js (could be any filename 🙂 ) and wp_enqueue_script( ‘SimpleScript’, get_template_directory_uri() . ‘/assets/js/abiScript.js’,array(‘jquery’)); in function.php

techhipbettruvabetnorabahisbahis forumueduseduedueduseduseduseduseduedusedus