Skip to content

Instantly share code, notes, and snippets.

@Jaace
Created February 15, 2016 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jaace/9874560b87586adc8bb2 to your computer and use it in GitHub Desktop.
Save Jaace/9874560b87586adc8bb2 to your computer and use it in GitHub Desktop.
printf('
<link rel="apple-touch-icon" sizes="57x57" href="%1$s">
<link rel="apple-touch-icon" sizes="60x60" href="%2$s">
<link rel="apple-touch-icon" sizes="72x72" href="%3$s">
<link rel="apple-touch-icon" sizes="76x76" href="%4$s">
<link rel="apple-touch-icon" sizes="114x114" href="%5$s">
<link rel="apple-touch-icon" sizes="120x120" href="%6$s">
<link rel="apple-touch-icon" sizes="144x144" href="%7$s">
<link rel="apple-touch-icon" sizes="152x152" href="%8$s">
<link rel="apple-touch-icon" sizes="180x180" href="%9$s">',
esc_url( get_stylesheet_directory_uri() . '/apple-touch-icon-57x57.png' ),
esc_url( get_stylesheet_directory_uri() . '/apple-touch-icon-60x60.png' ),
esc_url( get_stylesheet_directory_uri() . '/apple-touch-icon-72x72.png' ),
esc_url( get_stylesheet_directory_uri() . '/apple-touch-icon-76x76.png' ),
esc_url( get_stylesheet_directory_uri() . '/apple-touch-icon-114x114.png' ),
esc_url( get_stylesheet_directory_uri() . '/apple-touch-icon-120x120.png' ),
esc_url( get_stylesheet_directory_uri() . '/apple-touch-icon-144x144.png' ),
esc_url( get_stylesheet_directory_uri() . '/apple-touch-icon-60x60.png' ),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment