Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Image Path and jQuery code #2

Open
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Split
View
@@ -6,14 +6,14 @@
<p class="cc">This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.</p>
- <p><a href="http://simplebits.com" id="sb"><img src="/wp-content/themes/pears/images/sb-black.png" /></a></p>
+ <p><a href="http://simplebits.com" id="sb"><img src="<?php echo get_template_directory_uri(); ?>/images/sb-black.png" /></a></p>
</div> <!-- /footer -->
<!-- jQuery -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
<script>
-$(document).ready(function() {
+jQuery(document).ready(function($) {
// update rendered pattern when user edits the textareas
$('#markup textarea').live('keyup', function(e) {
$('#pattern-wrap').html($(this).val());