Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Image Path and jQuery code #2

Open
wants to merge 1 commit into from

1 participant

Nico Andrade
Nico Andrade

The image path now use "<?php echo get_template_directory_uri(); ?>"
And jQuery code now is safe in case "no-conflict" is activated

Nico Andrade nicoandrade The image path now use "<?php echo get_template_directory_uri(); ?>"
And jQuery code now is safe in case "no-conflict" is activated
a4012b0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 6, 2012
  1. Nico Andrade

    The image path now use "<?php echo get_template_directory_uri(); ?>"

    nicoandrade authored
    And jQuery code now is safe in case "no-conflict" is activated
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 footer.php
4 footer.php
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());
Something went wrong with that request. Please try again.