function sx_add_js_to_footer() { ?> <script> jQuery('#sendfilter').click( function() { jQuery('#rey-applyFilters-btn-wrapper-filter-panel button.rey-applyFilters-btn.js-rey-applyFilters-btn').click(); } ); </script> <?php } add_action( 'wp_footer', 'sx_add_js_to_footer', 999);
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter