This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Cursor ready

#34867
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

It should be doable via a custom code. Try adding this code to the functions.php file in your theme/child theme directory – make sure to have a full server back-up first for safety. For more details you can check the safe coding guidelines.

add_action('wp_footer', 'aspl_add_focus_script');
function aspl_add_focus_script() {
    ?>
    <script>
        jQuery( function($) {
            setTimeout(function(){
                $('input.orig').get(0).focus();
            }, 1500);
        });
    </script>
    <?php
}