Permalink
Browse files

Replaced hardcoded home link

Replaced the hardcoded "/" in the logo with the more dynamic `echo
site_url();`
  • Loading branch information...
1 parent bcab485 commit 189af06d25816447b25ccdc996912f78b47143d0 @andrewheiss committed Feb 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 header.php
View
@@ -24,7 +24,7 @@
<body <?php body_class(); ?>>
<header role="banner" class="group">
- <a href="/" id="logo">
+ <a href="<?php echo site_url(); ?>" id="logo">
@Mamaduka
Mamaduka Feb 7, 2012

You should use home_url() to echo out this, cause site_url() retrieves current path of WordPress files directory and sometimes this can be different from home.

@andrewheiss
andrewheiss Feb 7, 2012 owner

Good catch. I've fixed it now. Thanks!

Pears <em>are common patterns of markup &amp; style</em>
</a>
</header>

0 comments on commit 189af06

Please sign in to comment.