Social Media Widget by Acurax - Version 3.2.10

Version Description

  • Fix - Code Optimization
  • Fix - Instagram Icon Not Showing
Download this release

Release Info

Developer Acurax
Plugin Icon 128x128 Social Media Widget by Acurax
Version 3.2.10
Comparing to
See all releases

Code changes from version 3.2.9 to 3.2.10

Files changed (3) hide show
  1. acurax-social-icon.php +2 -2
  2. function.php +9 -6
  3. readme.txt +9 -1
acurax-social-icon.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Social Media Widget by Acurax
4
  Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
5
  Description: A Simple Wordpress Plugin Which Allow You To Add Widget Which Links Social Media Icons to Your Social Media Profiles Twitter,Facebook,Pinterest,Youtube,Rss Feed,Linkedin. You can define icon style size for each widget.
6
  Author: Acurax
7
- Version: 3.2.9
8
  Author URI: http://www.acurax.com/
9
  License: GPLv2 or later
10
  */
@@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24
  */
25
  define('ACX_SOCIALMEDIA_WIDGET_TOTAL_THEMES', 30);
26
  define('ACX_SMW_TOTAL_STATIC_SERVICES', 7);
27
- define('ACX_SMW_VERSION', "3.2.9");
28
  define("ACX_SMW_BASE_LOCATION",plugin_dir_url( __FILE__ ));
29
  define("ACX_SMW_WP_SLUG","acurax-social-media-widget");
30
  include_once(plugin_dir_path( __FILE__ ).'function.php');
4
  Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
5
  Description: A Simple Wordpress Plugin Which Allow You To Add Widget Which Links Social Media Icons to Your Social Media Profiles Twitter,Facebook,Pinterest,Youtube,Rss Feed,Linkedin. You can define icon style size for each widget.
6
  Author: Acurax
7
+ Version: 3.2.10
8
  Author URI: http://www.acurax.com/
9
  License: GPLv2 or later
10
  */
24
  */
25
  define('ACX_SOCIALMEDIA_WIDGET_TOTAL_THEMES', 30);
26
  define('ACX_SMW_TOTAL_STATIC_SERVICES', 7);
27
+ define('ACX_SMW_VERSION', "3.2.10");
28
  define("ACX_SMW_BASE_LOCATION",plugin_dir_url( __FILE__ ));
29
  define("ACX_SMW_WP_SLUG","acurax-social-media-widget");
30
  include_once(plugin_dir_path( __FILE__ ).'function.php');
function.php CHANGED
@@ -266,6 +266,7 @@ function acurax_si_widget_simple($acx_widget_array)
266
  {
267
  // Getting Globals *****************************
268
  global $acx_widget_si_theme, $acx_widget_si_credit , $acx_widget_si_twitter, $acx_widget_si_facebook, $acx_widget_si_youtube,$acx_widget_si_linkedin, $acx_widget_si_pinterest, $acx_widget_si_feed, $acx_widget_si_icon_size,$acx_widget_si_instagram;
 
269
  // *****************************************************
270
 
271
  if(is_array($acx_widget_array) && array_key_exists('theme',$acx_widget_array))
@@ -309,7 +310,8 @@ function acurax_si_widget_simple($acx_widget_array)
309
  $feed_link = "<a href='". $acx_widget_si_feed ."' target='_blank' title='". __('Check Our Feed','acurax-social-media-widget'). "'>" . "<img src=" . plugins_url('images/themes/'
310
  . $acx_widget_si_touse_theme .'/feed.png', __FILE__) . " style='border:0px;' alt='". __('Check Our Feed','acurax-social-media-widget'). "' /></a>";
311
  }
312
- if ($acx_widget_si_instagram == "") { $instagram_link = ""; } else
 
313
  {
314
  $instagram_link = "<a href='". $acx_widget_si_instagram ."' target='_blank' title='". __('Visit Us On Instagram','acurax-social-media-widget'). "'>" . "<img src=" . plugins_url('images/themes/'
315
  . $acx_widget_si_touse_theme .'/instagram.png', __FILE__) . " style='border:0px;' alt='". __('Visit Us On Instagram','acurax-social-media-widget'). "' /></a>";
@@ -320,16 +322,17 @@ function acurax_si_widget_simple($acx_widget_array)
320
  $social_widget_icon_array_order = unserialize($social_widget_icon_array_order);
321
  }
322
  $acx_w_html = '' ;
 
323
  foreach ($social_widget_icon_array_order as $key => $value)
324
  {
325
  if ($value == 0) { $acx_w_html .= $twitter_link; }
326
  else if ($value == 1) { $acx_w_html .= $facebook_link; }
327
- else if ($value == 3) { $acx_w_html .= $pinterest_link; }
328
- else if ($value == 4) { $acx_w_html .= $youtube_link; }
329
- else if ($value == 5) { $acx_w_html .= $linkedin_link; }
330
 
331
- else if ($value == 6) { $acx_w_html .= $feed_link; }
332
- else if ($value == 7) { $acx_w_html .= $instagram_link; }
333
  }
334
  return $acx_w_html;
335
  } //acurax_si_widget_simple()
266
  {
267
  // Getting Globals *****************************
268
  global $acx_widget_si_theme, $acx_widget_si_credit , $acx_widget_si_twitter, $acx_widget_si_facebook, $acx_widget_si_youtube,$acx_widget_si_linkedin, $acx_widget_si_pinterest, $acx_widget_si_feed, $acx_widget_si_icon_size,$acx_widget_si_instagram;
269
+
270
  // *****************************************************
271
 
272
  if(is_array($acx_widget_array) && array_key_exists('theme',$acx_widget_array))
310
  $feed_link = "<a href='". $acx_widget_si_feed ."' target='_blank' title='". __('Check Our Feed','acurax-social-media-widget'). "'>" . "<img src=" . plugins_url('images/themes/'
311
  . $acx_widget_si_touse_theme .'/feed.png', __FILE__) . " style='border:0px;' alt='". __('Check Our Feed','acurax-social-media-widget'). "' /></a>";
312
  }
313
+ if ($acx_widget_si_instagram == "") { $instagram_link = ""; }
314
+ else
315
  {
316
  $instagram_link = "<a href='". $acx_widget_si_instagram ."' target='_blank' title='". __('Visit Us On Instagram','acurax-social-media-widget'). "'>" . "<img src=" . plugins_url('images/themes/'
317
  . $acx_widget_si_touse_theme .'/instagram.png', __FILE__) . " style='border:0px;' alt='". __('Visit Us On Instagram','acurax-social-media-widget'). "' /></a>";
322
  $social_widget_icon_array_order = unserialize($social_widget_icon_array_order);
323
  }
324
  $acx_w_html = '' ;
325
+
326
  foreach ($social_widget_icon_array_order as $key => $value)
327
  {
328
  if ($value == 0) { $acx_w_html .= $twitter_link; }
329
  else if ($value == 1) { $acx_w_html .= $facebook_link; }
330
+ else if ($value == 2) { $acx_w_html .= $pinterest_link; }
331
+ else if ($value == 3) { $acx_w_html .= $youtube_link; }
332
+ else if ($value == 4) { $acx_w_html .= $linkedin_link; }
333
 
334
+ else if ($value == 5) { $acx_w_html .= $feed_link; }
335
+ else if ($value == 6) { $acx_w_html .= $instagram_link; }
336
  }
337
  return $acx_w_html;
338
  } //acurax_si_widget_simple()
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.acurax.com/happy-clients.php
4
  Tags: Social Media Widget,social icon widget,social media icon,socialmedia,fb widget,business social media,pinterest,social media marketing tools,social profile link,twitter facebook,social media button,pinterest button,social media logos,social media buttons
5
  Requires at least: 2.8
6
  Requires PHP: 5.3
7
- Tested up to: 5.2.2
8
  Stable tag: trunk
9
  License: GPLv2 or later
10
 
@@ -112,6 +112,10 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
112
 
113
  == Upgrade Notice ==
114
 
 
 
 
 
115
  = 3.2.9 =
116
  * Fix - Code Optimization
117
  * Fix - Compatibility Fix
@@ -250,6 +254,10 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
250
 
251
  == Changelog ==
252
 
 
 
 
 
253
  = 3.2.9 =
254
  * Fix - Code Optimization
255
  * Fix - Compatibility Fix
4
  Tags: Social Media Widget,social icon widget,social media icon,socialmedia,fb widget,business social media,pinterest,social media marketing tools,social profile link,twitter facebook,social media button,pinterest button,social media logos,social media buttons
5
  Requires at least: 2.8
6
  Requires PHP: 5.3
7
+ Tested up to: 5.4.1
8
  Stable tag: trunk
9
  License: GPLv2 or later
10
 
112
 
113
  == Upgrade Notice ==
114
 
115
+ = 3.2.10 =
116
+ * Fix - Code Optimization
117
+ * Fix - Instagram Icon Not Showing
118
+
119
  = 3.2.9 =
120
  * Fix - Code Optimization
121
  * Fix - Compatibility Fix
254
 
255
  == Changelog ==
256
 
257
+ = 3.2.10 =
258
+ * Fix - Code Optimization
259
+ * Fix - Instagram Icon Not Showing
260
+
261
  = 3.2.9 =
262
  * Fix - Code Optimization
263
  * Fix - Compatibility Fix