where do you exactly want it? link 2 your site would be helpful.
I have not tried it yet, but I have to ask myself… What would Dave Taylor do? 🙂
In a little while I’ll create an icon in PNG format and explicitly put in the
<link rel="apple-touch-icon" href="/your/url/icon.png" />
And see what blows up.
Well that was a short trip. I created a 45×45 PNG icon and called it iphone-icon.png (I took it from my gravatar image). I saved that file to my theme’s directory.
In my theme’s header.php, before the </head> I added this one line:
<link rel="apple-touch-icon" href="<?php bloginfo('template_url'); ?>/iphone-icon.png" />
Then on my iphone I just bookmarked it to my home screen. Works like a charm.
Hey, fantastic jdembowski. Thanks very much for the instructions; worked a treat.
I can’t get it to work, I’ve applied the correct path, but still no cigarr… 🙁
Any tips on what to NOT do?
Tried that but it did not seem to work.
I put it in my Header.php file as you suggested.
Any help would be appreciated.
What’s the link to your blog? That would help sort it out.
I made a stupid mistake, which may be of value to someone else–
I have a plugin installed to provide a special iphone/touch/mobile them for such browsers. I was inserting the code into header.php via the dashboard to my main theme. Of course, that never comes up when accessing the site via iphone, hence no icon.
I found the iphone’s header.php by digging around in my plugins directory (there are several iphone plugins out there, so you’ll have to look).
- The topic ‘iPhone custom site Icon question’ is closed to new replies.