Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/cftp/iconic/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Replace WordPress menu items with a custom icon from the dashicon font.
Description
Replace WordPress menu items with a custom icon from the dashicon font.
Installation
To install this plugin:
- Upload the
iconicfolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- That's it!
Frequently Asked Questions
Hooks & Filters
The plugin has one filter that allows you adjust the classes and icons available to a user:
`add_filter('iconic_icons', 'custom_icon_font');
function custom_icon_font() {
// IMPORTANT: prefix your icon class with 'menu-icon-'
// You will need to have added your icon definitions to your own CSS
// Leave the no-icon option as a default
$icons = array(
'no-icon' => __('None', 'iconic'),
'menu-icon-icon-facebook' => __('Facebook', 'iconic'),
'menu-icon-icon-twitter' => __('Twitter', 'iconic'),
'menu-icon-icon-google' => __('Google+', 'iconic'),
'menu-icon-icon-linkedin' => __('Linked In', 'iconic'),
'menu-icon-icon-rss' => __('RSS', 'iconic'),
'menu-icon-icon-mail' => __('Email', 'iconic')
);
return $icons;
} `
Screenshots
- Menu icon option
- Social media menu with using dashicons
Changelog
1.0
- Initial release