wordpress snippets last updated   : October 6, 2014
we now have 641 snippets

Change custom post type icon for new and edit post pages

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will change the default icon on the post edit and new post pages. Don’t forget to change the URL on line 9 to the location of your 24px by 24px icon.

read more