Skip to content

Commit

Permalink
Dynamic path for header logo
Browse files Browse the repository at this point in the history
The current link will not work if you have pears installed in a sub-folder in custom domain.

The fix is using standard wp veritable to define the path.

Signed-off-by: Danny Chang <me@imdanny.com>
  • Loading branch information
gogodanny committed Feb 13, 2012
1 parent dff83f7 commit 4d417d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion header.php
Expand Up @@ -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>
Expand Down

0 comments on commit 4d417d3

Please sign in to comment.