WordPress Snippet

/WordPress Snippet

Adding Backend and Login Favicon

By |2016-10-24T20:13:04+00:0010.11.2015|Categories: Wordpress, WordPress Snippet|Tags: , , , |

// First, create a function that includes the path to your favicon function add_favicon() { $favicon_url = get_stylesheet_directory_uri() . '/images/icons/admin-favicon.ico'; echo ''; } // Now, just make sure that function runs when you're on the login page and admin pages add_action('login_head', 'add_favicon'); add_action('admin_head', 'add_favicon');

Comments Off on Adding Backend and Login Favicon