function thb_icons() { $favicon = thb_get_option('favicon'); $touch_icon_57 = thb_get_option('touch_icon_57'); $touch_icon_72 = thb_get_option('touch_icon_72'); $touch_icon_114 = thb_get_option('touch_icon_114'); $touch_icon_144 = thb_get_option('touch_icon_144'); if (!empty($favicon)) { thb_link('Shortcut Icon', $favicon, 'image/x-icon'); } if (!empty($touch_icon_57)) { thb_link('apple-touch-icon', $touch_icon_57, null, array('sizes' => '57x57')); } if (!empty($touch_icon_72)) { thb_link('apple-touch-icon', $touch_icon_72, null, array('sizes' => '72x72')); } if (!empty($touch_icon_114)) { thb_link('apple-touch-icon', $touch_icon_114, null, array('sizes' => '114x114')); } if (!empty($touch_icon_144)) { thb_link('apple-touch-icon', $touch_icon_144, null, array('sizes' => '144x144')); } }
function thb_stylesheet($url, $media = 'all') { thb_link('stylesheet', $url, 'text/css', array('media' => $media)); }