WP SVG Icons - Version 3.1.6

Version Description

  • April 9th, 2015 =
  • Free version is now limited to 10 custom icons. Pro version allows for unlimited number of icons. ( Any sites using more than 10 icons prior to this update will continue to work )
Download this release

Release Info

Developer eherman24
Plugin Icon 128x128 WP SVG Icons
Version 3.1.6
Comparing to
See all releases

Code changes from version 3.1.5 to 3.1.6

admin/js/upgrade-page-script.js CHANGED
@@ -10,6 +10,8 @@ jQuery(document).ready(function() {
10
 
11
  jQuery( '.nav-tab' ).removeClass( 'nav-tab-active' );
12
  jQuery( this ).addClass( 'nav-tab-active' );
 
 
13
  });
14
 
15
  });
10
 
11
  jQuery( '.nav-tab' ).removeClass( 'nav-tab-active' );
12
  jQuery( this ).addClass( 'nav-tab-active' );
13
+
14
+ return false;
15
  });
16
 
17
  });
admin/partials/wp-svg-icons-custom-icons-page.php CHANGED
@@ -202,6 +202,10 @@ if( file_exists( '../../../../../wp-load.php' ) ) {
202
  return;
203
  // re-run the interval
204
  } else {
 
 
 
 
205
  var fontNameString = jQuery(".mhmm").text();
206
  var newfontNameString = fontNameString.replace("Font Name:","");
207
  var customPackFontName = newfontNameString.split("(")[0];
@@ -323,12 +327,18 @@ if( file_exists( '../../../../../wp-load.php' ) ) {
323
  </p>
324
  </form>
325
 
 
 
 
 
326
  <div class="current-font-pack">
327
  <!-- scandir, or some other php function to loop through the upload directory to check if any files exist -->
328
  <!-- if files exist, list the files meta data. if user uploads new files, warn them the will overwrite active fonts, delete old font files, move new font files, ajax load font-file html files -->
329
  <img style="display:none;" class="wp-svg-custom-pack-preloader" src="<?php echo site_url().'/wp-admin/images/wpspin_light.gif'?>" alt="preloader">
330
  </div>
331
 
 
 
332
  <!-- plugin footer -->
333
  <?php
334
  if ( file_exists( $dest_path.'/wp-svg-custom-pack.zip' ) ) {
202
  return;
203
  // re-run the interval
204
  } else {
205
+ var num_icons = jQuery( '.current-font-pack' ).find( '.glyph' ).length;
206
+ var i = 1;
207
+ jQuery( '.glyph' ).each( function() { if( i > 10 ) { jQuery( this ).remove();}i++; });
208
+ jQuery( '.ten-icon-limit-reached' ).show();
209
  var fontNameString = jQuery(".mhmm").text();
210
  var newfontNameString = fontNameString.replace("Font Name:","");
211
  var customPackFontName = newfontNameString.split("(")[0];
327
  </p>
328
  </form>
329
 
330
+ <section class="ten-icon-limit-reached" style="display:block;margin:2em 0;text-align:center;font-size:15px;color:rgb(238, 110, 81);padding:10px;">
331
+ <span class="dashicons dashicons-welcome-comments"></span> <?php _e( "It looks like you're trying to install and use more than 10 icons. Unfortunately the free version limits the number of custom icons to 10. If you'd like to access more than 10 custom icons, please consider upgrading to the", 'wp-svg-icons' ); ?> <a href="http://www.evan-herman.com/wp-svg-icons-pro/" target="_blank" title="<?php _e( 'Upgrade to pro' , 'wp-svg-icons' ); ?>"><?php _e( 'Pro Version' , 'wp-svg-icons' ); ?></a>
332
+ </section>
333
+
334
  <div class="current-font-pack">
335
  <!-- scandir, or some other php function to loop through the upload directory to check if any files exist -->
336
  <!-- if files exist, list the files meta data. if user uploads new files, warn them the will overwrite active fonts, delete old font files, move new font files, ajax load font-file html files -->
337
  <img style="display:none;" class="wp-svg-custom-pack-preloader" src="<?php echo site_url().'/wp-admin/images/wpspin_light.gif'?>" alt="preloader">
338
  </div>
339
 
340
+
341
+
342
  <!-- plugin footer -->
343
  <?php
344
  if ( file_exists( $dest_path.'/wp-svg-custom-pack.zip' ) ) {
admin/partials/wp-svg-icons-upgrade-page.php CHANGED
@@ -66,20 +66,28 @@
66
  <a href="http://www.evan-herman.com/feed/"><img src="<?php echo plugin_dir_url( __FILE__ ); ?>/../../images/rss_icon.png"></a><br />
67
  <a href="http://www.evan-herman.com" target="_blank" title="Evan Herman Professional WordPress Development"><img src="<?php echo plugin_dir_url( __FILE__ ); ?>/../../images/evan_herman_logo.png" alt="Evan Herman Logo" style="margin-right:0 auto;"></a>
68
  </div>
69
- <p><?php _e( 'Enjoying the free version? Consider upgrading to the pro version for added features, and premium support.' , 'wp-svg-icons' ); ?></p>
70
  </section>
71
 
72
  </section>
73
 
74
- <h2 class="nav-tab-wrapper">
75
- <a href="#" class="nav-tab nav-tab-active" data-attr="icon_customizer"><?php _e( 'Icon Customizer' , 'wp-svg-icons' ); ?></a>
 
76
  <a href="#" class="nav-tab" data-attr="icon_containers"><?php _e( 'Icon Containers' , 'wp-svg-icons' ); ?></a>
77
  <a href="#" class="nav-tab" data-attr="css3_animations"><?php _e( 'CSS3 Animation' , 'wp-svg-icons' ); ?></a>
78
  <a href="#" class="nav-tab" data-attr="menu_icons"><?php _e( 'Menu Icons' , 'wp-svg-icons' ); ?></a>
79
  <a href="#" class="nav-tab" data-attr="premium_support"><?php _e( 'Premium Support' , 'wp-svg-icons' ); ?></a>
80
  </h2>
81
 
82
- <div id="icon_customizer" class="tab_content">
 
 
 
 
 
 
 
83
 
84
  <h2 style="display:block;text-align:center;"><?php _e( 'Icon Customizer' , 'wp-svg-icons' ); ?></h2>
85
  <p class="description" style="max-width:80%;display:block;margin: 0 auto;margin-top:5px;margin-bottom:15px;"><?php _e( 'The pro version comes with an easy to use icon customizer. Easily add additional parameters to your icons, adjust the icon size and color, add additional class names or convert the icon into a link all without writing a single line of code.' , 'wp-svg-icons' ); ?></p>
66
  <a href="http://www.evan-herman.com/feed/"><img src="<?php echo plugin_dir_url( __FILE__ ); ?>/../../images/rss_icon.png"></a><br />
67
  <a href="http://www.evan-herman.com" target="_blank" title="Evan Herman Professional WordPress Development"><img src="<?php echo plugin_dir_url( __FILE__ ); ?>/../../images/evan_herman_logo.png" alt="Evan Herman Logo" style="margin-right:0 auto;"></a>
68
  </div>
69
+ <p><?php _e( 'Enjoying the free version? Consider upgrading to the pro version for added features and a premium level of support.' , 'wp-svg-icons' ); ?></p>
70
  </section>
71
 
72
  </section>
73
 
74
+ <h2 class="nav-tab-wrapper" style="text-align:center;margin:2em 0;"">
75
+ <a href="#" class="nav-tab nav-tab-active" data-attr="unlimited_custom_icons"><?php _e( 'Unlimited Custom Icons' , 'wp-svg-icons' ); ?></a>
76
+ <a href="#" class="nav-tab" data-attr="icon_customizer"><?php _e( 'Icon Customizer' , 'wp-svg-icons' ); ?></a>
77
  <a href="#" class="nav-tab" data-attr="icon_containers"><?php _e( 'Icon Containers' , 'wp-svg-icons' ); ?></a>
78
  <a href="#" class="nav-tab" data-attr="css3_animations"><?php _e( 'CSS3 Animation' , 'wp-svg-icons' ); ?></a>
79
  <a href="#" class="nav-tab" data-attr="menu_icons"><?php _e( 'Menu Icons' , 'wp-svg-icons' ); ?></a>
80
  <a href="#" class="nav-tab" data-attr="premium_support"><?php _e( 'Premium Support' , 'wp-svg-icons' ); ?></a>
81
  </h2>
82
 
83
+ <div id="unlimited_custom_icons" class="tab_content">
84
+
85
+ <h2 style="display:block;text-align:center;"><?php _e( 'No More Custom Icon Limits!' , 'wp-svg-icons' ); ?></h2>
86
+ <p class="description" style="max-width:80%;display:block;margin: 0 auto;margin-top:5px;margin-bottom:15px;text-align:center;"><?php _e( 'In the free version your limited to 10 custom icons. If you need access to more than 10 custom icons, please consider purchasing the pro version to allow for an un-restricted number of icons to be used.' , 'wp-svg-icons' ); ?></p>
87
+
88
+ </div>
89
+
90
+ <div id="icon_customizer" style="display:none;" class="tab_content">
91
 
92
  <h2 style="display:block;text-align:center;"><?php _e( 'Icon Customizer' , 'wp-svg-icons' ); ?></h2>
93
  <p class="description" style="max-width:80%;display:block;margin: 0 auto;margin-top:5px;margin-bottom:15px;"><?php _e( 'The pro version comes with an easy to use icon customizer. Easily add additional parameters to your icons, adjust the icon size and color, add additional class names or convert the icon into a link all without writing a single line of code.' , 'wp-svg-icons' ); ?></p>
includes/class-wp-svg-icons.php CHANGED
@@ -51,7 +51,7 @@ class WP_SVG_Icons {
51
  public function __construct() {
52
 
53
  $this->plugin_name = 'wp-svg-icons';
54
- $this->version = '3.1.5';
55
 
56
  $this->load_dependencies();
57
  $this->set_locale();
51
  public function __construct() {
52
 
53
  $this->plugin_name = 'wp-svg-icons';
54
+ $this->version = '3.1.6';
55
 
56
  $this->load_dependencies();
57
  $this->set_locale();
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.evan-herman.com/contact/?contact-reason=I%20want%20to%2
4
  Tags: wordpress, bootstrap, font icon, font awesome more, fontstrap, icons, ui, ux, design, free, boot, strap, menus, menu, custom, nav, navigation, navicons, icons, evan, herman, icon, set, svg, wp, icomoon, ico, moon, wp, zoom, wp-zoom, wpzoom, broccolidry, metoicons, iconic, plugin, responsive, bootstrap, font, awesome, font awesome, twitter, glyphicons, glyph, web, font, webfont, custom, icons, import, upload, zip, font, icon, svg font icon, fonticon, iconfont, fontello, css3, svg animation, free, genericons, genericon, icon stack, stack, icons stack, menu icons, menu, customizable, customize, customizer, bootstrap, dropdown, navigation, scale, vector, icons
5
  Requires at least: 3.5
6
  Tested up to: 4.1.1
7
- Stable tag: 3.1.5
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -36,6 +36,7 @@ http://www.youtube.com/watch?v=hXUJjQb82WY
36
  ><strong>Pro Features</strong>
37
 
38
  >- Icon customizer to adjust icon size, color, link and more on the fly without writing any code!
 
39
  >- Add icons to menu items directly from within the menu edit screen
40
  >- Animate your icons using smooth CSS3 Animations
41
  >- Easily generate an icon container to use on your landing pages (with sweet hover effects)
@@ -142,6 +143,9 @@ If you buy the pro version you will also receive support and updates for one yea
142
 
143
  == Changelog ==
144
 
 
 
 
145
  = 3.1.5 - March 26th, 2015 =
146
  * Fixed minor CSS issue. Some themes were overriding the font family attribute on our icons, so we've added an !important tag to our styles.
147
 
@@ -225,6 +229,9 @@ If you buy the pro version you will also receive support and updates for one yea
225
 
226
  == Upgrade Notice ==
227
 
 
 
 
228
  = 3.1.5 - March 26th, 2015 =
229
  * Fixed minor CSS issue. Some themes were overriding the font family attribute on our icons, so we've added an !important tag to our styles.
230
 
@@ -359,6 +366,8 @@ Adding custom classes to your icon allows you to more easily target singular ico
359
 
360
  **Icomoon Icon Font Importer**
361
 
 
 
362
  http://www.youtube.com/watch?v=8bRny8gW2_k
363
 
364
  We've listened to your feature requests, and after many hours behind the keyboard developing, we're pleased to announce our newest addition to WP SVG Icons.
4
  Tags: wordpress, bootstrap, font icon, font awesome more, fontstrap, icons, ui, ux, design, free, boot, strap, menus, menu, custom, nav, navigation, navicons, icons, evan, herman, icon, set, svg, wp, icomoon, ico, moon, wp, zoom, wp-zoom, wpzoom, broccolidry, metoicons, iconic, plugin, responsive, bootstrap, font, awesome, font awesome, twitter, glyphicons, glyph, web, font, webfont, custom, icons, import, upload, zip, font, icon, svg font icon, fonticon, iconfont, fontello, css3, svg animation, free, genericons, genericon, icon stack, stack, icons stack, menu icons, menu, customizable, customize, customizer, bootstrap, dropdown, navigation, scale, vector, icons
5
  Requires at least: 3.5
6
  Tested up to: 4.1.1
7
+ Stable tag: 3.1.6
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
36
  ><strong>Pro Features</strong>
37
 
38
  >- Icon customizer to adjust icon size, color, link and more on the fly without writing any code!
39
+ >- Unlimited number of custom icons allowed!
40
  >- Add icons to menu items directly from within the menu edit screen
41
  >- Animate your icons using smooth CSS3 Animations
42
  >- Easily generate an icon container to use on your landing pages (with sweet hover effects)
143
 
144
  == Changelog ==
145
 
146
+ = 3.1.6 - April 9th, 2015 =
147
+ * Free version is now limited to 10 custom icons. Pro version allows for unlimited number of icons. ( Any sites using more than 10 icons prior to this update will continue to work )
148
+
149
  = 3.1.5 - March 26th, 2015 =
150
  * Fixed minor CSS issue. Some themes were overriding the font family attribute on our icons, so we've added an !important tag to our styles.
151
 
229
 
230
  == Upgrade Notice ==
231
 
232
+ = 3.1.6 - April 9th, 2015 =
233
+ * Free version is now limited to 10 custom icons. Pro version allows for unlimited number of icons. ( Any sites using more than 10 icons prior to this update will continue to work )
234
+
235
  = 3.1.5 - March 26th, 2015 =
236
  * Fixed minor CSS issue. Some themes were overriding the font family attribute on our icons, so we've added an !important tag to our styles.
237
 
366
 
367
  **Icomoon Icon Font Importer**
368
 
369
+ *Note:* The number of custom icons allowed in the free version is limited to 10 icons. If you require more than 10 custom icons on your site, please <a href="http://www.evan-herman.com/wp-svg-icons-pro/" title="Upgrade Now!">upgrade to the pro version</a> to allow for an un-restricted number of icons to be used on your site.
370
+
371
  http://www.youtube.com/watch?v=8bRny8gW2_k
372
 
373
  We've listened to your feature requests, and after many hours behind the keyboard developing, we're pleased to announce our newest addition to WP SVG Icons.
wp-svg-icons.php CHANGED
@@ -8,7 +8,7 @@
8
  * Plugin Name: WP SVG Icons
9
  * Plugin URI: http://www.evan-herman.com/wordpress-plugin/wp-svg-icons/
10
  * Description: Quickly and effortlessly gain access to 492 beautifully designed SVG font icons, available on the frontend and backend of your site.
11
- * Version: 3.1.5
12
  * Author: EH Dev Shop
13
  * Author URI: http://evan-herman.com
14
  * License: GPL-3.0+
8
  * Plugin Name: WP SVG Icons
9
  * Plugin URI: http://www.evan-herman.com/wordpress-plugin/wp-svg-icons/
10
  * Description: Quickly and effortlessly gain access to 492 beautifully designed SVG font icons, available on the frontend and backend of your site.
11
+ * Version: 3.1.6
12
  * Author: EH Dev Shop
13
  * Author URI: http://evan-herman.com
14
  * License: GPL-3.0+