Last active
October 8, 2015 18:58
-
-
Save joeworkman/3374758 to your computer and use it in GitHub Desktop.
Wrapping site logo with a link in RapidWeaver
This file contains hidden or 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
<!-- You will need to possibly change logo id "#logo" so that it fits with your theme | |
-- You will need to change your URL "http://joeworkman.net" | |
-- You can place this in Header tab or into the footer field (recommended) --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script> | |
<script>jQuery.noConflict(true)(function(){jQuery('#logo img').wrap(jQuery('<a>').attr('href','http://joeworkman.net'));});</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Joe,
In light of the jQuery 1.9 issues, do you still recommend this script as written since I think it downloads the latest version as opposed to 1.8 which is more stable? It seems to still be working but I'm wondering if there isn't a better way so each RW stack page isn't downloading two separate versions of jQuery? I'm think page load times mainly, but I'm only guessing on that "worry." Not sure if it really has any bearing on the issue.
Christi