This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<!-- Foundation CSS CDN --> | |
<link rel="stylesheet" href="//cdn.jsdelivr.net/foundation/5.0.2/css/foundation.min.css"> | |
<!-- Modernizr CDN --> | |
<script src="//cdn.jsdelivr.net/foundation/5.0.2/js/vendor/custom.modernizr.js"></script> | |
<!-- Modernizr local fallback --> | |
<script>window.Modernizr || document.write('<script src="/local/custom.modernizr.js"><\/script>')</script> | |
</head> | |
<body> | |
<!-- APP CONTENT --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
**** Load jQuery from Google CDN if available, local fallback if not **** | |
** Place in your theme's functions.php or relevant file. Edit local jQuery path if needed. | |
** Works as-is with WordPress Bones Theme v1.2 https://github.com/eddiemachado/bones (replace wp_enqueue_script( 'jquery' ); on line 142 | |
** reference: http://wp.tutsplus.com/tutorials/load-jquery-from-google-cdn-with-local-fallback-for-wordpress/ | |
*/ |
NewerOlder