Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add favicon? #22

Closed
c0nn0r opened this issue May 22, 2013 · 3 comments
Closed

Add favicon? #22

c0nn0r opened this issue May 22, 2013 · 3 comments

Comments

@c0nn0r
Copy link

c0nn0r commented May 22, 2013

Loving this buildpack!

One issue - any idea how we can add a favicon?

thx.

@fmsiddiqi
Copy link

I got one working by putting one in the /config/public folder where the wp-config.php file is.

@c0nn0r
Copy link
Author

c0nn0r commented May 23, 2013

Thx for the tip.

I put the favicon.ico into the /config/public folder and pushed - it's not working for me yet.

I noticed that in the file header.php in my theme pack - for me, located in /config/public/wp-content/themes/hardy/header.php - there is a reference to

<?php if (of_get_option('ttrust_favicon') ) : ?>
    <link rel="shortcut icon" href="<?php echo of_get_option('ttrust_favicon'); ?>" />
<?php endif; ?>

Is there anything I need to do in here to get the favicon working?

@c0nn0r
Copy link
Author

c0nn0r commented May 23, 2013

It's working now. I added this line to my header.php

<link href="/favicon.ico?v=3" rel="shortcut icon" type="image/png" />

@c0nn0r c0nn0r closed this as completed May 23, 2013
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

No branches or pull requests

2 participants