• Hi All

    Has anyone managed to get a custom apple-touch-icon.png working on their wordpress blog? I’ve tried and uploaded the png to various places without success. Wondered if anyone could advise.

    Cheers

Viewing 8 replies - 1 through 8 (of 8 total)
  • where do you exactly want it? link 2 your site would be helpful.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Reevo,

    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.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    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.

    Thread Starter reevo

    (@reevo)

    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?

    http://www.trendgiveafuck.com

    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.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    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).

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘iPhone custom site Icon question’ is closed to new replies.