iPod touch: WebClip Bookmark Icon を設置

bookmark-icon.png

iPod touch 1.1.3になってからブックマークをホームに置けるようになりました。Webサイトを表示した状態でプラスボタンを押すと「ホーム画面に追加」ってのが選択できるようになっていると思います。ブックマークを登録した際にfaviconのようにアイコンが表示されるとうれしいですよね。アップルのサイトなどはそのような仕様になっているのでうちでも取り入れました。設置は簡単。

57×57 pixelsの画像を用意して“<link rel="apple-touch-icon" href="/customIcon.png"/>”をヘッダータグへ書き込むだけ。当ブログの場合だとiWPhoneプラグインを使用しているのでアイコンを wp-content/themes/iwphone-by-contentrobot/bookmark-icon.png へ置いて wp-content/themes/iwphone-by-contentrobot/header.php を編集して終わり。急遽アイコンを作成したので凝ったものになってませんが時間を見つけて手直ししておきます。

This entry was posted in Web, WordPress. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">