Menu Icons by ThemeIsle - Version 0.1.2

Version Description

  • Improve extra stylesheet
Download this release

Release Info

Developer kucrut
Plugin Icon 128x128 Menu Icons by ThemeIsle
Version 0.1.2
Comparing to
See all releases

Code changes from version 0.1.1 to 0.1.2

Files changed (3) hide show
  1. css/extra.css +2 -3
  2. menu-icons.php +3 -3
  3. readme.txt +17 -7
css/extra.css CHANGED
@@ -2,7 +2,8 @@
2
  .nav-menu .dashicons,
3
  .menu .genericon,
4
  .nav-menu .genericon {
5
- display: inline;
 
6
  width: auto;
7
  height: auto;
8
  font-size: 1.2em;
@@ -11,9 +12,7 @@
11
  }
12
  .menu .dashicons,
13
  .nav-menu .dashicons {
14
- vertical-align: sub;
15
  }
16
  .menu .genericon,
17
  .nav-menu .genericon {
18
- vertical-align: middle;
19
  }
2
  .nav-menu .dashicons,
3
  .menu .genericon,
4
  .nav-menu .genericon {
5
+ vertical-align: middle;
6
+ margin-top: -.265em;
7
  width: auto;
8
  height: auto;
9
  font-size: 1.2em;
12
  }
13
  .menu .dashicons,
14
  .nav-menu .dashicons {
 
15
  }
16
  .menu .genericon,
17
  .nav-menu .genericon {
 
18
  }
menu-icons.php CHANGED
@@ -4,14 +4,14 @@
4
  * Menu Icons
5
  *
6
  * @package Menu_Icons
7
- * @version 0.1.1
8
  * @author Dzikri Aziz <kvcrvt@gmail.com>
9
  *
10
  *
11
  * Plugin name: Menu Icons
12
  * Plugin URI: http://kucrut.org/
13
  * Description: Easily add icons to your navigation menu items
14
- * Version: 0.1.1
15
  * Author: Dzikri Aziz
16
  * Author URI: http://kucrut.org/
17
  * License: GPLv2
@@ -26,7 +26,7 @@
26
  */
27
  final class Menu_Icons {
28
 
29
- const VERSION = '0.1.0';
30
 
31
  /**
32
  * Holds plugin data
4
  * Menu Icons
5
  *
6
  * @package Menu_Icons
7
+ * @version 0.1.2
8
  * @author Dzikri Aziz <kvcrvt@gmail.com>
9
  *
10
  *
11
  * Plugin name: Menu Icons
12
  * Plugin URI: http://kucrut.org/
13
  * Description: Easily add icons to your navigation menu items
14
+ * Version: 0.1.2
15
  * Author: Dzikri Aziz
16
  * Author URI: http://kucrut.org/
17
  * License: GPLv2
26
  */
27
  final class Menu_Icons {
28
 
29
+ const VERSION = '0.1.2';
30
 
31
  /**
32
  * Holds plugin data
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate Link: http://kucrut.org/#coffee
4
  Tags: menu, nav-menu, icons, navigation
5
  Requires at least: 3.8
6
  Tested up to: 3.8.1
7
- Stable tag: 0.1.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -31,13 +31,20 @@ This plugin gives you the ability to add icons to your menu items, similar to th
31
 
32
  = Planned features =
33
  1. Provide modal popup that displays the icons for selection
34
- 2. Theme customizer support
35
 
36
  See **Other Notes** to know about the *hidden* features.
37
 
38
  Development of this plugin is done on [GitHub](https://github.com/kucrut/wp-menu-icons). **Pull requests welcome**. Please see [issues reported](https://github.com/kucrut/wp-menu-icons/issues) there before going to the plugin forum.
39
 
40
 
 
 
 
 
 
 
 
 
41
  == Installation ==
42
 
43
  1. Upload `menu-icons` to the `/wp-content/plugins/` directory
@@ -46,6 +53,9 @@ Development of this plugin is done on [GitHub](https://github.com/kucrut/wp-menu
46
 
47
  == Frequently Asked Questions ==
48
 
 
 
 
49
  = The icon positions don't look right =
50
  If you're comfortable with editing your theme stylesheet, then you can override the styles from there.
51
  Otherwise, I recommend you to use the [Simple Custom CSS plugin](http://wordpress.org/plugins/simple-custom-css/)
@@ -67,17 +77,17 @@ To add a new icon type, take a look at the `type-*.php` files inside the `includ
67
  = Can you please add X icon font? =
68
  Let me know via [GitHub issues](https://github.com/kucrut/wp-menu-icons/issues) and I'll see what I can do.
69
 
70
-
71
- == Other Notes ==
72
- = Extra Stylesheet =
73
- By default, this plugin loads an extra stylesheet to make the icons display nicely on the menus.
74
- If you don't desire this and would like your theme/plugin to handle it instead, simply do the following:
75
  `
76
  add_filter( 'menu_icons_load_extra_style', '__return_false' );
77
  `
78
 
79
 
80
  == Changelog ==
 
 
 
81
  = 0.1.1 =
82
  * Improve icon selection UX
83
 
4
  Tags: menu, nav-menu, icons, navigation
5
  Requires at least: 3.8
6
  Tested up to: 3.8.1
7
+ Stable tag: 0.1.2
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
31
 
32
  = Planned features =
33
  1. Provide modal popup that displays the icons for selection
 
34
 
35
  See **Other Notes** to know about the *hidden* features.
36
 
37
  Development of this plugin is done on [GitHub](https://github.com/kucrut/wp-menu-icons). **Pull requests welcome**. Please see [issues reported](https://github.com/kucrut/wp-menu-icons/issues) there before going to the plugin forum.
38
 
39
 
40
+ == Screenshots ==
41
+ 1. Icon selection
42
+ 2. Twenty Fourteen with Dashicons
43
+ 3. Twenty Fourteen with Genericons
44
+ 4. Twenty Thirteen with Dashicons
45
+ 5. Twenty Thirteen with Genericons
46
+
47
+
48
  == Installation ==
49
 
50
  1. Upload `menu-icons` to the `/wp-content/plugins/` directory
53
 
54
  == Frequently Asked Questions ==
55
 
56
+ = The icons are not showing! =
57
+ Make sure that your active theme is using the default walker for displaying the nav menu. If it's using its own custom walker, make sure that the menu item titles are filterable (please consult your theme author about this).
58
+
59
  = The icon positions don't look right =
60
  If you're comfortable with editing your theme stylesheet, then you can override the styles from there.
61
  Otherwise, I recommend you to use the [Simple Custom CSS plugin](http://wordpress.org/plugins/simple-custom-css/)
77
  = Can you please add X icon font? =
78
  Let me know via [GitHub issues](https://github.com/kucrut/wp-menu-icons/issues) and I'll see what I can do.
79
 
80
+ = Can I disable the extra stylesheet loaded by this plugin? =
81
+ YES! Simply add the following to your plugin/theme:
 
 
 
82
  `
83
  add_filter( 'menu_icons_load_extra_style', '__return_false' );
84
  `
85
 
86
 
87
  == Changelog ==
88
+ = 0.1.2 =
89
+ * Improve extra stylesheet
90
+
91
  = 0.1.1 =
92
  * Improve icon selection UX
93