Created
November 26, 2012 06:38
-
-
Save tobedoit/4146874 to your computer and use it in GitHub Desktop.
Wordpress: admin page favicon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Admin Page Fivicon ****************************************************************************** | |
** http://wp.tutsplus.com/tutorials/creative-coding/using-conditional-tags-to-supercharge-your-blog/ | |
** 관리자 페이지 파비콘 적용 ************************************************************************* */ | |
function admin_favicon() { | |
if(is_admin()) { | |
echo '<link rel="shortcut icon" href="'.get_bloginfo('url').'/favicon.png" />'; | |
} | |
} | |
add_action('admin_head','admin_favicon'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment