Skip to content
Browse files

Dynamic path for header logo

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...
1 parent dff83f7 commit 4d417d39a143cff9491dcd6fc3affd56813d176a @gogodanny committed Feb 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 header.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>

0 comments on commit 4d417d3

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