-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathreadme.txt
60 lines (42 loc) · 1.56 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
=== Iconic ===
Contributors: scottsweb, tjnowell, codeforthepeople
Tags: icon, menu, icon font, font, custom, dashicon, social, media, share, buttons, badges
Requires at least: 3.8
Tested up to: 3.9
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
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:
1. Upload the `iconic` folder to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. 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 ==
1. Menu icon option
2. Social media menu with using dashicons
== Changelog ==
= 1.0 =
* Initial release