Skip to content

Instantly share code, notes, and snippets.

@halgatewood
Last active December 29, 2015 08:49
Show Gist options
  • Save halgatewood/7646033 to your computer and use it in GitHub Desktop.
Save halgatewood/7646033 to your computer and use it in GitHub Desktop.
WordPress 3.8: New Admin Menu Dashicons
function flexslider_hg_admin_icon()
{
echo '
<style>
#adminmenu #menu-posts-slides div.wp-menu-image:before { content: "\f181"; }
</style>
';
}
add_action( 'admin_head', 'flexslider_hg_admin_icon' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment