Skip to content
Browse files

Merge pull request #20 from gogodanny/master

Dynamic Path for LogoHeader + copy icon image
  • Loading branch information...
2 parents ee19cd6 + 4d417d3 commit bd6211cdd2bf08682716e0a0b080ebee5b90da0b @simplebits committed
Showing with 3 additions and 3 deletions.
  1. +1 −1 header.php
  2. +2 −2 loop-single.php
View
2 header.php
@@ -24,7 +24,7 @@
<body <?php body_class(); ?>>
<header role="banner" class="group">
- <a href="/" id="logo">
+ <a href="<?php bloginfo('siteurl'); ?>/" id="logo">
Pears <em>are common patterns of markup &amp; style</em>
</a>
</header>
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 bloginfo('template_directory'); ?>/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 bloginfo('template_directory'); ?>/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>

0 comments on commit bd6211c

Please sign in to comment.
Something went wrong with that request. Please try again.