Using the following to load Google’s CDN version of jQuery, then, for the few times when (and few countries where) Google is unavailable, fall back to the copy installed with WordPress. This works fine inserted in a doc’s
header.php, for instance):
One slight prob is if I put the
footer.php, the fall back fails. Otherwise, all seems to work well. So, I’m just wondering if anyone has a better solution, or sees some flaw in mine. Thanks.
- The topic ‘jQuery from Google CDN; fall back to WP local’ is closed to new replies.