Dynamic Path for LogoHeader + copy icon image #20

Merged
merged 2 commits into from Mar 8, 2012
Commits on Feb 13, 2012
  1. Make "icon-copy.png", image path dynamically according to the theme.

    gogodanny committed Feb 13, 2012
    The copy icon is broken (if you didn't with theme name "pear" or when it's not installed in first level).
    Therefore, i made the image path dynamically according to the theme path.
    
    in loop-single.php
    
    / /Line 36
    
    <img src="<?php bloginfo('template_directory'); ?>/images/icon-copy.png" title="" alt="copy" />
    
    // Line 43
    
    <img src="<?php bloginfo('template_directory'); ?>/images/icon-copy.png" title="" alt="copy" />
    
    Signed-off-by: Danny Chang <me@imdanny.com>
  2. Dynamic path for header logo

    gogodanny committed Feb 13, 2012
    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>