[wp-trac] [WordPress Trac] #16434: Give site admin ability to upload favicon in Settings, General

WordPress Trac noreply at wordpress.org
Thu May 21 11:21:54 UTC 2015


#16434: Give site admin ability to upload favicon in Settings, General
-------------------------------------+---------------------------------
 Reporter:  jane                     |       Owner:  johnbillion
     Type:  task (blessed)           |      Status:  accepted
 Priority:  normal                   |   Milestone:  4.3
Component:  Customize                |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  ux-feedback needs-patch  |     Focuses:  ui, administration
-------------------------------------+---------------------------------

Comment (by ramiy):

 This will be controlled from the code, not from the settings panel.

 {{{
 register_head_element( 'link', array( 'rel'=>'shortcut icon',
 'href'=>$favicon_link ) );
 register_head_element( 'link', array( 'rel'=>'apple-touch-icon',
 'sizes'=>'57x57', 'href'=>'/apple-touch-icon-57x57.png' ) );
 register_head_element( 'link', array( 'rel'=>'apple-touch-icon',
 'sizes'=>'60x60', 'href'=>'/apple-touch-icon-60x60.png' ) );
 register_head_element( 'link', array( 'rel'=>'apple-touch-icon',
 'sizes'=>'72x72', 'href'=>'/apple-touch-icon-72x72.png' ) );
 register_head_element( 'link', array( 'rel'=>'manifest',
 'href'=>'/manifest.json' ) );
 register_head_element( 'meta', array( 'name'=>'application-name',
 'content'=>'My Awesome Site' ) );
 register_head_element( 'meta', array( 'name'=>'apple-mobile-web-app-
 title', 'content'=>'My Awesome Site' ) );
 register_head_element( 'meta', array( 'name'=>'msapplication-TileColor',
 'content'=>'#2b5797' ) );
 register_head_element( 'meta', array( 'name'=>'msapplication-TileImage',
 'content'=>'/mstile-144x144.png' ) );
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/16434#comment:156>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list