How to Display a different favicon for wp-admin

Adding this snippet to the functions.php of your wordpress theme will let you display a different icon for the wp-admin. Don’t forget to upload your favicon.ico to the wp-content directory. Just a little snippet from great people over at

function favicon4admin() {
echo '';
add_action( 'admin_head', 'favicon4admin' );

Leave a Reply