Skip to content

Instantly share code, notes, and snippets.

@JamesVanWaza
Created August 9, 2016 01:14
Show Gist options
  • Save JamesVanWaza/d77ca8a612979d79e2dbc079b1a97d2f to your computer and use it in GitHub Desktop.
Save JamesVanWaza/d77ca8a612979d79e2dbc079b1a97d2f to your computer and use it in GitHub Desktop.
Add a Favicon to Wordpress
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico" />
/** When a directory is included */
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/images/favicon.ico" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment