WordPress.org

Ready to get started?Download WordPress

Forums

Use Google Libraries
[resolved] Seems to load AFTER other javascript. No good for jquery (3 posts)

  1. digitaltoast
    Member
    Posted 3 years ago #

    Looks like a great idea, and would work well, except... it's loading jquery AFTER the other javascript, which relies on jquery.

    Any way round this?

    http://wordpress.org/extend/plugins/use-google-libraries/

  2. Jason Penney
    Member
    Plugin Author

    Posted 3 years ago #

    Are you registering your script correctly through the API? Does it register it's dependency on jQuery?

  3. digitaltoast
    Member
    Posted 3 years ago #

    Oh God, I feel so embarrassed. I think I may have wasted your time.

    I was trying to run this in conjunction with both a minifying plugin, and also head.js plugin. Even thought I was sure I had cleared all the caches last night and turned all the interfering plugins like minify, off, it seems I was still getting served a cached page.

    In actual fact, it appears the problem may lie with the head.js plugin or something not adding a head.ready() before the wp-audio plugin tries to fire.

    Really sorry about that. I'll got and hang my head in shame. To clarify, your plugin works excellent. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic