Support » Fixing WordPress » Enqueuing jquery.min.js

  • Resolved DesignLoud


    Alright, I know this should be simple but I am obviously looking over something. I am hoping someone can chime in with some help. I am trying to enqueue the Google JQuery lib and I just cant get it right to save me.

    Here is what I have, I have tried to deregister the jquery script and every other form/variation but just cant get it. I’m sure this has been answered thousands of times. Please be patient 😀 Thanks

    function wilmper_load_js_lib() {
    wp_register_script( 'jquery', '', array('jquery'));
    wp_enqueue_script( 'jquery' );
    add_action( 'wp_enqueue_scripts', 'wilmper_load_js_lib' );

    Please tell me where/what went wrong, thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Enqueuing jquery.min.js’ is closed to new replies.