Custom Favicon WP-Admin


/ Published in: PHP
Save to your folder(s)

Wordpress


Copy this code and paste it in your HTML
  1. function admin_favicon() {
  2. echo '<link rel="shortcut icon" type="image/x-icon" href="' . get_bloginfo('template_directory') . '/images/favicon.ico" />';
  3. }
  4. add_action( 'admin_head', 'admin_favicon' );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.