Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed hardcoded path to theme

Replaced it with more dynamic gett_template_directory_uri()
  • Loading branch information...
commit bcab485fc39c77ff8bb622a41cb590c6b8cdeb4c 1 parent 8a1d344
@andrewheiss authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  footer.php
  2. +2 −2 loop-single.php
View
2  footer.php
@@ -6,7 +6,7 @@
<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 -->
View
4 loop-single.php
@@ -33,14 +33,14 @@
<div class="group">
<div id="markup" class="mod">
- <h3 class="label">HTML</h3> <a href="#" class="clip" title="select code for copying"><img src="/wp-content/themes/pears/images/icon-copy.png" alt="copy" /></a>
+ <h3 class="label">HTML</h3> <a href="#" class="clip" title="select code for copying"><img src="<?php echo get_template_directory_uri();?>/images/icon-copy.png" alt="copy" /></a>
<textarea class="mod-ta">
<?php $key="html"; echo get_post_meta($post->ID, $key, true); ?>
</textarea>
</div>
<div id="style" class="mod">
- <h3 class="label">CSS</h3> <a href="#" class="clip" title="select code for copying"><img src="/wp-content/themes/pears/images/icon-copy.png" alt="copy" /></a>
+ <h3 class="label">CSS</h3> <a href="#" class="clip" title="select code for copying"><img src="<?php echo get_template_directory_uri();?>/images/icon-copy.png" alt="copy" /></a>
<textarea id="css-code" class="mod-ta">
<?php $key="css"; echo get_post_meta($post->ID, $key, true); ?>
</textarea>
Please sign in to comment.
Something went wrong with that request. Please try again.