Skip to content

Conversation

@gogodanny
Copy link
Contributor

  1. 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.
  2. Header logo and text link is not dynamic (will not work wordpress install in sub folder using custom domain name), therefore i use wp standard variable to replace it.

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>
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>
@itreptil
Copy link

itreptil commented Mar 8, 2012

@simplebits we really need this change. please merge this two commits

simplebits added a commit that referenced this pull request Mar 8, 2012
Dynamic Path for LogoHeader + copy icon image
@simplebits simplebits merged commit bd6211c into simplebits:master Mar 8, 2012
@simplebits
Copy link
Owner

Done!

@itreptil
Copy link

itreptil commented Mar 8, 2012

thanks !

@gudnm
Copy link

gudnm commented Jul 5, 2012

I made a pull request (#28) to wrap up this issue. The footer logo was left out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants