• wplearner

    (@wordpresslearner)


    Hey so basically I get this annoying little flash right before jquery “kicks in.” I have it loaded from the standard wordpress install, and in functions.php I have:

    <?php
     function my_init() {
    	if (!is_admin()) {
    
    		wp_enqueue_script('jquery');
    	 wp_enqueue_script("trial",get_bloginfo('stylesheet_directory')."/trial.js", array('jquery'));
    
    }
    }
    add_action('init', 'my_init'); ?>

    Anyone know how to fix this?

  • The topic ‘annoying flash when page loads with jquery’ is closed to new replies.