Extending Genericons in WordPress

You need something like Fontastic or Grunticon to create your custom fonts/icons. Then just add your fonts to your html with wp_enqueue_style() or add the head elements directly. There is a section on the Genericons GitHub that describes Building your own Genericons using FontCustom or Fontello.

How do I set up the defualt page icon for admin menu?

Assuming you’re running WP 3.8, you can choose from a collection of icons (listed here). In your case, replace your icon URL with dashicons-admin-page, like so: add_menu_page( ‘Info’, ‘Info’, ‘manage_options’, ‘LINK’, ”, ‘dashicons-admin-page’, 10 ); You can use these icons in various places around WP. There are various articles on this like this one.

how to change default icon of custom plugin?

Take a close look at add_menu_page hook, it provides argument to supply with icon url <?php add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position ); http://codex.wordpress.org/Function_Reference/add_menu_page add_menu_page( __(‘Poll’,’menu-test’), __(‘Poll’,’menu-test’), ‘manage_options’, ‘manage-polls’, ‘poll_page’, ‘plugins_folder Or Theme folder url/icon.png’ );

Disable emojicons introduced with WP 4.2

We will hook into init and remove actions as followed: function disable_wp_emojicons() { // all actions related to emojis remove_action( ‘admin_print_styles’, ‘print_emoji_styles’ ); remove_action( ‘wp_head’, ‘print_emoji_detection_script’, 7 ); remove_action( ‘admin_print_scripts’, ‘print_emoji_detection_script’ ); remove_action( ‘wp_print_styles’, ‘print_emoji_styles’ ); remove_filter( ‘wp_mail’, ‘wp_staticize_emoji_for_email’ ); remove_filter( ‘the_content_feed’, ‘wp_staticize_emoji’ ); remove_filter( ‘comment_text_rss’, ‘wp_staticize_emoji’ ); // filter to remove TinyMCE emojis add_filter( … Read more