Menu Social Icons - Version 1.3.1

Version Description

Download this release

Release Info

Developer pdclark
Plugin Icon Menu Social Icons
Version 1.3.1
Comparing to
See all releases

Code changes from version 1.3 to 1.3.1

css/menu-social-icons-admin.css CHANGED
@@ -23,6 +23,11 @@ i.fa-fw {
23
  font-weight: normal;
24
  font-style: italic;
25
  }
 
 
 
 
 
26
 
27
  /* Add Link active icon */
28
  #msi-shortcuts i.active {
23
  font-weight: normal;
24
  font-style: italic;
25
  }
26
+ #msi-shortcuts .faq {
27
+ padding-top:16px;
28
+ display:block;
29
+ clear:both;
30
+ }
31
 
32
  /* Add Link active icon */
33
  #msi-shortcuts i.active {
js/menu-social-icons-admin.js CHANGED
@@ -148,6 +148,13 @@
148
  $wrapper.append( $icon );
149
  }
150
 
 
 
 
 
 
 
 
151
  $('#customlinkdiv').append( $wrapper );
152
  };
153
 
@@ -161,7 +168,7 @@
161
  remove_icon_from_new_link();
162
  $(this).addClass('active');
163
 
164
- $('#custom-menu-item-url').val( 'http://' + url + '/' );
165
  $('#custom-menu-item-name').val( name ).removeClass('input-with-default-title');
166
  };
167
 
148
  $wrapper.append( $icon );
149
  }
150
 
151
+ $faq = $('<ul>').addClass('faq');
152
+
153
+ $faq.append( "<li><a href='http://youtube.com/watch?v=hA2rjDwmvms' target='_blank'>How to edit icon appearance</a></li>" );
154
+ $faq.append( "<li><a href='http://fortawesome.github.io/Font-Awesome/community/#requesting-new-icons' target='_blank'>How to request new icons</a></li>" );
155
+
156
+ $wrapper.append( $faq );
157
+
158
  $('#customlinkdiv').append( $wrapper );
159
  };
160
 
168
  remove_icon_from_new_link();
169
  $(this).addClass('active');
170
 
171
+ $('#custom-menu-item-url').val( 'http://' + url );
172
  $('#custom-menu-item-name').val( name ).removeClass('input-with-default-title');
173
  };
174
 
plugin.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Menu Social Icons
4
  Description: Change menu links to social sites to icons automatically. Uses <a href="http://fortawesome.github.io/Font-Awesome/" target="_blank">FontAwesome</a> and supports: Bitbucket, Dribbble, Dropbox, Flickr, Foursquare, Gittip, Instagram, RenRen, Stack Overflow, Trello, Tumblr, VK, Weibo, Xing, and YouTube.
5
- Version: 1.3
6
  Author: Brainstorm Media
7
  Author URI: http://brainstormmedia.com
8
  */
@@ -30,7 +30,7 @@ Author URI: http://brainstormmedia.com
30
  */
31
 
32
  define( 'MSI_PLUGIN_FILE', __FILE__ );
33
- define( 'MSI_VERSION', '1.3' );
34
 
35
  add_action( 'init', 'storm_menu_social_icons_init' );
36
 
2
  /*
3
  Plugin Name: Menu Social Icons
4
  Description: Change menu links to social sites to icons automatically. Uses <a href="http://fortawesome.github.io/Font-Awesome/" target="_blank">FontAwesome</a> and supports: Bitbucket, Dribbble, Dropbox, Flickr, Foursquare, Gittip, Instagram, RenRen, Stack Overflow, Trello, Tumblr, VK, Weibo, Xing, and YouTube.
5
+ Version: 1.3.1
6
  Author: Brainstorm Media
7
  Author URI: http://brainstormmedia.com
8
  */
30
  */
31
 
32
  define( 'MSI_PLUGIN_FILE', __FILE__ );
33
+ define( 'MSI_VERSION', '1.3.1' );
34
 
35
  add_action( 'init', 'storm_menu_social_icons_init' );
36
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Author URI: http://brainstormmedia.com
5
  Tags: social, icons, menus, FontAwesome, social media, easy
6
  Requires at least: 3.4
7
  Tested up to: 3.6
8
- Stable tag: 1.3
9
  License: GPLv2
10
 
11
  Add social icons to your WordPress menu items automatically.
@@ -20,30 +20,18 @@ http://www.youtube.com/watch?v=AS3hLeyV4S0
20
 
21
  **Supported Sites**
22
 
23
- * bitbucket.org
24
- * dribbble.com
25
- * dropbox.com
26
- * facebook.com
27
- * flickr.com
28
- * foursquare.com
29
- * github.com
30
- * gittip.com
31
- * instagram.com
32
- * linkedin.com
33
- * mailto: (email links)
34
- * pinterest.com
35
- * plus.google.com
36
- * renren.com
37
- * stackoverflow.com
38
- * stackexchange.com (Requires `storm_social_icons_use_latest`)
39
- * trello.com
40
- * tumblr.com
41
- * twitter.com
42
- * vimeo.com (Requires `storm_social_icons_use_latest`)
43
- * vk.com
44
- * weibo.com
45
- * xing.com
46
- * youtube.com
47
 
48
  **Changing Icon Appearance**
49
 
@@ -78,7 +66,7 @@ To vary icon sizes, add this to your theme's **functions.php** file: (Default is
78
 
79
  **Option: Add More Icons**
80
 
81
- Add icons from [FontAwesome](http://fontawesome.github.io/Font-Awesome/) for other URLs. For example, an RSS feed:
82
 
83
  add_filter( 'storm_social_icons_networks', 'storm_social_icons_networks');
84
  function storm_social_icons_networks( $networks ) {
@@ -117,9 +105,9 @@ Add icons from [FontAwesome](http://fontawesome.github.io/Font-Awesome/) for oth
117
 
118
  = Can you add X icon? =
119
 
120
- Menu Social Icons is dependent on the [FontAwesome icon library](http://fontawesome.github.io/Font-Awesome). If an icon exists in FontAwesome, you can add a filter for it using the `storm_social_icons_networks` example shown in the plugin description.
121
 
122
- If an icon does not exist in FontAwesome, you can request see FontAwesome's instructions for [requesting new icons](http://fontawesome.github.io/Font-Awesome/community/#requesting-new-icons).
123
 
124
  = How can I change how the icons are aligned, positioned, colored, sized, etc. =
125
 
5
  Tags: social, icons, menus, FontAwesome, social media, easy
6
  Requires at least: 3.4
7
  Tested up to: 3.6
8
+ Stable tag: 1.3.1
9
  License: GPLv2
10
 
11
  Add social icons to your WordPress menu items automatically.
20
 
21
  **Supported Sites**
22
 
23
+ `
24
+ bitbucket.org       dribbble.com     dropbox.com
25
+ facebook.com        flickr.com       foursquare.com
26
+ github.com          gittip.com       instagram.com
27
+ linkedin.com        mailto:(email)   pinterest.com
28
+ plus.google.com     renren.com       stackoverflow.com
29
+ *stackexchange.com  trello.com       tumblr.com
30
+ twitter.com         *vimeo.com       vk.com
31
+ weibo.com           xing.com         youtube.com
32
+
33
+ *Requires storm_social_icons_use_latest be turned on. (See below.)
34
+ `
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
  **Changing Icon Appearance**
37
 
66
 
67
  **Option: Add More Icons**
68
 
69
+ Add icons from [FontAwesome](http://fortawesome.github.io/Font-Awesome/) for other URLs. For example, an RSS feed:
70
 
71
  add_filter( 'storm_social_icons_networks', 'storm_social_icons_networks');
72
  function storm_social_icons_networks( $networks ) {
105
 
106
  = Can you add X icon? =
107
 
108
+ Menu Social Icons is dependent on the [FontAwesome icon library](http://fortawesome.github.io/Font-Awesome). If an icon exists in FontAwesome, you can add a filter for it using the `storm_social_icons_networks` example shown in the plugin description.
109
 
110
+ If an icon does not exist in FontAwesome, you can request see FontAwesome's instructions for [requesting new icons](http://fortawesome.github.io/Font-Awesome/community/#requesting-new-icons).
111
 
112
  = How can I change how the icons are aligned, positioned, colored, sized, etc. =
113