How to change wp admin icon image

The icon of wordpress admin section is changable. we can easily change the image of wordpress by our required  image. We have hook function of wordpress login_head.


Put the image admin-logo.png on the  new-admin-logo.png into <project_folder_name>/wp-admin/images/admin-logo.png


Then Add the below admin login_head hook on to the template function function.php file.

Location : [<project_folder_name>/wp-content/themes/<theme_name>/function.php].

function prakash_login_logo(){
echo'<style  type=”text/css”>

h1 a{background-image:url(“wp-admin/images/admin-logo.png”) !important;}

add_action(‘login_head’,  ‘prakash_login_logo’);





Share this Story:
  • facebook
  • twitter
  • gplus

Leave a comment

Facebook Comment