Social Media Widget by Acurax - Version 3.2

Version Description

  • Fix - Perfomance Improvements
  • 6 New Icon Styles
  • Instagram Support Added
  • Code Improvements
  • Fixes for wordpress deprecated functions
Download this release

Release Info

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

Code changes from version 3.1 to 3.2

Files changed (113) hide show
  1. acurax-social-icon.php +11 -5
  2. css/style_admin.css +5 -5
  3. function.php +61 -48
  4. images/themes/1/instagram.png +0 -0
  5. images/themes/10/instagram.png +0 -0
  6. images/themes/11/instagram.png +0 -0
  7. images/themes/12/facebook.png +0 -0
  8. images/themes/12/feed.png +0 -0
  9. images/themes/12/instagram.png +0 -0
  10. images/themes/12/linkedin.png +0 -0
  11. images/themes/12/pinterest.png +0 -0
  12. images/themes/12/youtube.png +0 -0
  13. images/themes/13/instagram.png +0 -0
  14. images/themes/14/instagram.png +0 -0
  15. images/themes/14/youtube.png +0 -0
  16. images/themes/15/facebook.png +0 -0
  17. images/themes/15/feed.png +0 -0
  18. images/themes/15/googleplus.png +0 -0
  19. images/themes/15/instagram.png +0 -0
  20. images/themes/15/linkedin.png +0 -0
  21. images/themes/15/pinterest.png +0 -0
  22. images/themes/15/twitter.png +0 -0
  23. images/themes/15/youtube.png +0 -0
  24. images/themes/16/instagram.png +0 -0
  25. images/themes/16/linkedin.png +0 -0
  26. images/themes/17/feed.png +0 -0
  27. images/themes/17/instagram.png +0 -0
  28. images/themes/18/instagram.png +0 -0
  29. images/themes/19/instagram.png +0 -0
  30. images/themes/2/instagram.png +0 -0
  31. images/themes/20/instagram.png +0 -0
  32. images/themes/21/instagram.png +0 -0
  33. images/themes/22/instagram.png +0 -0
  34. images/themes/23/instagram.png +0 -0
  35. images/themes/24/instagram.png +0 -0
  36. images/themes/25/facebook.png +0 -0
  37. images/themes/25/feed.png +0 -0
  38. images/themes/25/googleplus.png +0 -0
  39. images/themes/25/index.html +6 -0
  40. images/themes/25/instagram.png +0 -0
  41. images/themes/25/linkedin.png +0 -0
  42. images/themes/25/pinterest.png +0 -0
  43. images/themes/25/twitter.png +0 -0
  44. images/themes/25/youtube.png +0 -0
  45. images/themes/26/facebook.png +0 -0
  46. images/themes/26/feed.png +0 -0
  47. images/themes/26/googleplus.png +0 -0
  48. images/themes/26/index.html +6 -0
  49. images/themes/26/instagram.png +0 -0
  50. images/themes/26/linkedin.png +0 -0
  51. images/themes/26/pinterest.png +0 -0
  52. images/themes/26/twitter.png +0 -0
  53. images/themes/26/youtube.png +0 -0
  54. images/themes/27/facebook.png +0 -0
  55. images/themes/27/feed.png +0 -0
  56. images/themes/27/googleplus.png +0 -0
  57. images/themes/27/index.html +6 -0
  58. images/themes/27/instagram.png +0 -0
  59. images/themes/27/linkedin.png +0 -0
  60. images/themes/27/pinterest.png +0 -0
  61. images/themes/27/twitter.png +0 -0
  62. images/themes/27/youtube.png +0 -0
  63. images/themes/28/facebook.png +0 -0
  64. images/themes/28/feed.png +0 -0
  65. images/themes/28/googleplus.png +0 -0
  66. images/themes/28/index.html +6 -0
  67. images/themes/28/instagram.png +0 -0
  68. images/themes/28/linkedin.png +0 -0
  69. images/themes/28/pinterest.png +0 -0
  70. images/themes/28/twitter.png +0 -0
  71. images/themes/28/youtube.png +0 -0
  72. images/themes/29/facebook.png +0 -0
  73. images/themes/29/feed.png +0 -0
  74. images/themes/29/googleplus.png +0 -0
  75. images/themes/29/index.html +6 -0
  76. images/themes/29/instagram.png +0 -0
  77. images/themes/29/linkedin.png +0 -0
  78. images/themes/29/pinterest.png +0 -0
  79. images/themes/29/twitter.png +0 -0
  80. images/themes/29/youtube.png +0 -0
  81. images/themes/3/instagram.png +0 -0
  82. images/themes/30/facebook.png +0 -0
  83. images/themes/30/feed.png +0 -0
  84. images/themes/30/googleplus.png +0 -0
  85. images/themes/30/index.html +6 -0
  86. images/themes/30/instagram.png +0 -0
  87. images/themes/30/linkedin.png +0 -0
  88. images/themes/30/pinterest.png +0 -0
  89. images/themes/30/twitter.png +0 -0
  90. images/themes/30/youtube.png +0 -0
  91. images/themes/4/instagram.png +0 -0
  92. images/themes/5/instagram.png +0 -0
  93. images/themes/5/linkedin.png +0 -0
  94. images/themes/5/youtube.png +0 -0
  95. images/themes/6/facebook.png +0 -0
  96. images/themes/6/feed.png +0 -0
  97. images/themes/6/instagram.png +0 -0
  98. images/themes/6/twitter.png +0 -0
  99. images/themes/6/youtube.png +0 -0
  100. images/themes/7/facebook.png +0 -0
  101. images/themes/7/feed.png +0 -0
  102. images/themes/7/googleplus.png +0 -0
  103. images/themes/7/instagram.png +0 -0
  104. images/themes/7/linkedin.png +0 -0
  105. images/themes/7/pinterest.png +0 -0
  106. images/themes/7/twitter.png +0 -0
  107. images/themes/7/youtube.png +0 -0
  108. images/themes/8/instagram.png +0 -0
  109. images/themes/8/youtube.png +0 -0
  110. images/themes/9/instagram.png +0 -0
  111. includes/hook_functions.php +28 -27
  112. includes/option_fields.php +83 -70
  113. readme.txt +27 -11
acurax-social-icon.php CHANGED
@@ -2,9 +2,9 @@
2
  /*
3
  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,google plus. You can define icon style size for each widget.
6
  Author: Acurax
7
- Version: 3.1
8
  Author URI: http://www.acurax.com/home.php
9
  License: GPLv2 or later
10
  */
@@ -22,9 +22,9 @@ You should have received a copy of the GNU General Public License
22
  along with this program; if not, write to the Free Software
23
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24
  */
25
- define('ACX_SOCIALMEDIA_WIDGET_TOTAL_THEMES', 24);
26
- define('ACX_SMW_TOTAL_STATIC_SERVICES', 7);
27
- define('ACX_SMW_VERSION', "3.1");
28
  define("ACX_SMW_BASE_LOCATION",plugin_dir_url( __FILE__ ));
29
  define("ACX_SMW_WP_SLUG","acurax-social-media-widget");
30
 
@@ -144,6 +144,12 @@ if($acx_widget_si_feed != '')
144
  {
145
  update_option('acx_si_feed', $acx_widget_si_feed);
146
 
 
 
 
 
 
 
147
  }
148
  $acx_widget_si_icon_size = get_option('acx_widget_si_icon_size');
149
  if($acx_widget_si_icon_size != '')
2
  /*
3
  Plugin Name: Social Media Widget by Acurax
4
  Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
5
+ Description: Simple Social Media 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,google plus. You can define icon style size for each widget.
6
  Author: Acurax
7
+ Version: 3.2
8
  Author URI: http://www.acurax.com/home.php
9
  License: GPLv2 or later
10
  */
22
  along with this program; if not, write to the Free Software
23
  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', 8);
27
+ define('ACX_SMW_VERSION', "3.2");
28
  define("ACX_SMW_BASE_LOCATION",plugin_dir_url( __FILE__ ));
29
  define("ACX_SMW_WP_SLUG","acurax-social-media-widget");
30
 
144
  {
145
  update_option('acx_si_feed', $acx_widget_si_feed);
146
 
147
+ }
148
+ $acx_widget_si_instagram = get_option('acx_widget_si_instagram');
149
+ if($acx_widget_si_instagram != '')
150
+ {
151
+ update_option('acx_si_instagram', $acx_widget_si_instagram);
152
+
153
  }
154
  $acx_widget_si_icon_size = get_option('acx_widget_si_icon_size');
155
  if($acx_widget_si_icon_size != '')
css/style_admin.css CHANGED
@@ -289,7 +289,7 @@ float:left;
289
  {
290
  border: 0 none;
291
  margin-top: 6px;
292
- width: 36px;
293
  margin-left:1px;
294
  }
295
  #acx_help_page
@@ -442,7 +442,7 @@ width: 283px;
442
  margin-bottom: 10px !important;
443
  text-indent: 13px;
444
  }
445
- #acx_td
446
  {
447
  font-size: 14px !important;
448
  line-height: 27px !important;
@@ -500,7 +500,7 @@ width: 283px;
500
  }
501
  #ss_features_table
502
  {
503
- background: url("../images/ss_table_footer.png") no-repeat scroll center bottom rgba(0, 0, 0, 0);
504
  float: left;
505
  margin: -62px 0 0;
506
  width: 940px;
@@ -660,14 +660,14 @@ display:none;
660
  }
661
 
662
  /* Comparison 2014 Ends Here */
663
- #acx_td p .button
664
  {
665
  border: 1px solid lightgray;
666
  margin: 0 3px 0 0 !important;
667
  min-height: 30px !important;
668
  padding: 3px 10px !important;
669
  }
670
- #acx_td p .button:hover
671
  {
672
  background: azure;
673
  }
289
  {
290
  border: 0 none;
291
  margin-top: 6px;
292
+ width: 32px;
293
  margin-left:1px;
294
  }
295
  #acx_help_page
442
  margin-bottom: 10px !important;
443
  text-indent: 13px;
444
  }
445
+ #acx_td_asmw
446
  {
447
  font-size: 14px !important;
448
  line-height: 27px !important;
500
  }
501
  #ss_features_table
502
  {
503
+ // background: url("../images/ss_table_footer.png") no-repeat scroll center bottom rgba(0, 0, 0, 0);
504
  float: left;
505
  margin: -62px 0 0;
506
  width: 940px;
660
  }
661
 
662
  /* Comparison 2014 Ends Here */
663
+ #acx_td_asmw p .button
664
  {
665
  border: 1px solid lightgray;
666
  margin: 0 3px 0 0 !important;
667
  min-height: 30px !important;
668
  padding: 3px 10px !important;
669
  }
670
+ #acx_td_asmw p .button:hover
671
  {
672
  background: azure;
673
  }
function.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  function acx_smw_styles()
3
  {
4
- wp_register_style('acx_smw_admin_style', plugins_url('css/style_admin.css', __FILE__));
5
  wp_enqueue_style('acx_smw_admin_style');
6
- wp_register_style('acx_smw_box_style', plugins_url('css/layout.css', __FILE__));
7
  wp_enqueue_style('acx_smw_box_style');
8
- wp_register_style('acx_smw_widget_style', plugins_url('css/style.css', __FILE__));
9
  wp_enqueue_style('acx_smw_widget_style');
10
 
11
  }
@@ -74,7 +74,7 @@ $acx_installation_url = "";
74
  <li><?php _e('Explain Errors And Recommend Solutions','acurax-social-media-widget'); ?></li>
75
  <li><?php _e('Custom Plugin Development According To Your Needs','acurax-social-media-widget'); ?></li>
76
  <li><?php _e('Plugin Integration Support','acurax-social-media-widget'); ?></li>
77
- <li><?php _e('Many','acurax-social-media-widget'); ?> <a href="http://wordpress.acurax.com/?utm_source=smw&utm_campaign=expert_support" target="_blank"><?php _e('More...','acurax-social-media-widget'); ?></a></li>
78
  </ul>
79
  </div> <!-- acx_smw_es_wp_acx_service_list -->
80
 
@@ -157,20 +157,42 @@ alert('<?php _e('A request is already in progress.','acurax-social-media-widget'
157
  function acx_quick_smw_request_submit_callback()
158
  {
159
 
160
- $acx_name = $_POST['acx_name'];
161
- $acx_email = $_POST['acx_email'];
162
- $acx_phone = $_POST['acx_phone'];
163
- $acx_weburl = $_POST['acx_weburl'];
164
- $acx_subject = $_POST['acx_subject'];
165
- $acx_question = $_POST['acx_question'];
166
- $acx_smw_es = $_POST['acx_smw_es'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  if (!wp_verify_nonce($acx_smw_es,'acx_smw_es'))
168
  {
169
- $acx_smw_es == "";
170
  }
171
  if(!current_user_can('manage_options'))
172
  {
173
- $acx_smw_es == "";
174
  }
175
  if($acx_smw_es == "" || $acx_name == "" || $acx_email == "" || $acx_phone == "" || $acx_weburl == "" || $acx_subject == "" || $acx_question == "")
176
  {
@@ -223,6 +245,7 @@ $acx_widget_si_linkedin = get_option('acx_widget_si_linkedin');
223
  $acx_widget_si_gplus = get_option('acx_widget_si_gplus');
224
  $acx_widget_si_pinterest = get_option('acx_widget_si_pinterest');
225
  $acx_widget_si_feed = get_option('acx_widget_si_feed');
 
226
  $acx_widget_si_icon_size = get_option('acx_widget_si_icon_size');
227
  $acx_si_smw_float_fix = get_option('acx_si_smw_float_fix');
228
  $acx_si_smw_theme_warning_ignore = get_option('acx_si_smw_theme_warning_ignore');
@@ -244,7 +267,7 @@ function acurax_si_widget_simple($acx_widget_array)
244
  {
245
  // Getting Globals *****************************
246
  global $acx_widget_si_theme, $acx_widget_si_credit , $acx_widget_si_twitter, $acx_widget_si_facebook, $acx_widget_si_youtube,$acx_widget_si_gplus,
247
- $acx_widget_si_linkedin, $acx_widget_si_pinterest, $acx_widget_si_feed, $acx_widget_si_icon_size;
248
  // *****************************************************
249
 
250
  if(is_array($acx_widget_array) && array_key_exists('theme',$acx_widget_array))
@@ -293,6 +316,11 @@ function acurax_si_widget_simple($acx_widget_array)
293
  $feed_link = "<a href='". $acx_widget_si_feed ."' target='_blank' title='". __('Check Our Feed','acurax-social-media-widget'). "'>" . "<img src=" . plugins_url('images/themes/'
294
  . $acx_widget_si_touse_theme .'/feed.png', __FILE__) . " style='border:0px;' alt='". __('Check Our Feed','acurax-social-media-widget'). "' /></a>";
295
  }
 
 
 
 
 
296
  $social_widget_icon_array_order = get_option('social_widget_icon_array_order');
297
  if(is_serialized($social_widget_icon_array_order))
298
  {
@@ -309,6 +337,7 @@ function acurax_si_widget_simple($acx_widget_array)
309
  else if ($value == 5) { $acx_w_html .= $linkedin_link; }
310
 
311
  else if ($value == 6) { $acx_w_html .= $feed_link; }
 
312
  }
313
  return $acx_w_html;
314
  } //acurax_si_widget_simple()
@@ -348,10 +377,10 @@ add_action('admin_notices', 'acx_widget_theme_check_wp_head');
348
  function acurax_widget_icons()
349
  {
350
  global $acx_widget_si_theme, $acx_widget_si_credit, $acx_widget_si_twitter, $acx_widget_si_facebook, $acx_widget_si_youtube,
351
- $acx_widget_si_linkedin, $acx_widget_si_gplus, $acx_widget_si_pinterest, $acx_widget_si_feed, $acx_widget_si_icon_size;
352
 
353
  if($acx_widget_si_twitter != "" || $acx_widget_si_facebook != "" || $acx_widget_si_youtube != "" || $acx_widget_si_linkedin != "" ||
354
- $acx_widget_si_pinterest != "" || $acx_widget_si_gplus != "" || $acx_widget_si_feed != "")
355
  {
356
  //*********************** STARTED DISPLAYING THE ICONS ***********************
357
  echo "\n\n\n<!-- Starting Icon Display Code For Social Media Icon From Acurax International www.acurax.com -->\n";
@@ -386,10 +415,7 @@ function extra_style_acx_widget_icon()
386
  echo "</style>\n<!-- Ending Styles For Social Media Icon From Acurax International www.acurax.com -->\n\n\n\n";
387
  } add_action('admin_head', 'extra_style_acx_widget_icon'); // ADMIN
388
  add_action('wp_head', 'extra_style_acx_widget_icon'); // PUBLIC
389
- /* function acx_widget_si_admin_style() // Adding Style For Admin
390
- {
391
- echo '<link rel="stylesheet" type="text/css" href="' .plugins_url('style_for_admin.css', __FILE__). '">';
392
- } add_action('admin_head', 'acx_widget_si_admin_style'); // ADMIN */
393
  $acx_widget_si_sc_id = 0; // Defined to assign shortcode unique id
394
  function DISPLAY_WIDGET_acurax_widget_icons_SC($atts)
395
  {
@@ -442,10 +468,6 @@ if ($social_widget_icon_array_count < $total_arrays)
442
  {
443
  do_action('acx_asmw_orderarray_refresh');
444
  }
445
- /* function enqueue_acx_widget_si_style()
446
- {
447
- wp_enqueue_style ( 'acx-widget-si-style', plugins_url('style.css', __FILE__) );
448
- } add_action( 'wp_print_styles', 'enqueue_acx_widget_si_style' ); */
449
 
450
  // wp-admin Notices >> Plugin not configured
451
  function acx_widget_si_pluign_not_configured()
@@ -455,7 +477,7 @@ function acx_widget_si_pluign_not_configured()
455
  }
456
  if ($social_widget_icon_array_count == $total_arrays)
457
  {
458
- if ($acx_widget_si_twitter == "" && $acx_widget_si_facebook == "" && $acx_widget_si_youtube == "" && $acx_widget_si_linkedin == "" && $acx_widget_si_pinterest == "" && $acx_widget_si_gplus == "" && $acx_widget_si_feed == "")
459
  {
460
  if($acx_si_widget_current_page != 'Acurax-Social-Widget-Settings ')
461
  {
@@ -473,13 +495,13 @@ $acx_widget_si_next_date = get_option('acx_widget_si_next_date');
473
  $acx_widget_si_days_till_today_from_install = time()-$acx_widget_si_installed_date;
474
  $acx_widget_si_days_till_today_from_install = round(($acx_widget_si_days_till_today_from_install/60/60/24))." Days";
475
  global $current_user;
476
- get_currentuserinfo();
477
  $acx_widget_si_current_user = $current_user->display_name;
478
  if($acx_widget_si_current_user == "")
479
  {
480
  $acx_widget_si_current_user = "Webmaster";
481
  }
482
- echo '<div id="acx_td_asmw" class="notice">' . __('Hey','acurax-social-media-widget'). ' <b>'.$acx_widget_si_current_user.'</b>,'. __(' You were using Acurax Social Media Widget Wordpress Plugin for the last','acurax-social-media-widget').' <b>'.$acx_widget_si_days_till_today_from_install.'</b>,'. __(' and hope you are enjoying it.','acurax-social-media-widget').'<br>' . __(' From the bottom of our heart, we the team @ ','acurax-social-media-widget').'<a href="http://wordpress.acurax.com/?utm_source=asmw&utm_campaign=days" style="font-weight: normal; margin-left: 0px; color: rgb(68, 68, 68);" target="_blank">'. __(' Acurax Technologies','acurax-social-media-widget').'</a>'. __(' thank you for being with us, and we appreciate your feedback,reviews and support.','acurax-social-media-widget').'<br><a href="https://wordpress.org/support/view/plugin-reviews/acurax-social-media-widget?filter=5" target="_blank">'. __('Rate 5★\'s on wordpress','acurax-social-media-widget').'</a><a href="admin.php?page=Acurax-Social-Widget-Premium">'. __('Premium Version Benefits','acurax-social-media-widget').'</a><a href="admin.php?page=Acurax-Social-Widget-Premium&td=hide">'. __('Hide for Now','acurax-social-media-widget'). '</a></div>';
483
  }
484
  $acx_widget_si_installed_date = get_option('acx_widget_si_installed_date');
485
  if ($acx_widget_si_installed_date=="") { $acx_widget_si_installed_date = time();}
@@ -516,7 +538,7 @@ class acx_social_widget_icons_Widget extends WP_Widget
516
  // Set some control options (width, height etc)
517
  $control_options = array( 'width' => 300 );
518
  // Actually create the widget (widget id, widget name, options...)
519
- parent::__construct( 'acx-social-icons-widget', 'Acurax Social Media Widget', $widget_options, $control_options );
520
  }
521
  // Output the content of the widget
522
  function widget($args, $instance)
@@ -534,6 +556,7 @@ class acx_social_widget_icons_Widget extends WP_Widget
534
  {
535
  echo $before_title . $title . $after_title;
536
  }
 
537
  echo "<style>\n";
538
  echo "." . $this->get_field_id('widget') . " img \n{\n";
539
  echo "width:" . $icon_size . "px; \n } \n";
@@ -569,18 +592,12 @@ class acx_social_widget_icons_Widget extends WP_Widget
569
  <label for="<?php echo $this->get_field_id('icon_size'); ?>"><?php _e('Icon Size:','acurax-social-media-widget'); ?></label>
570
  <select class="widefat" name="<?php echo $this->get_field_name('icon_size'); ?>" id="<?php echo $this
571
  ->get_field_id('icon_size'); ?>">
572
- <option value="16"<?php if ($instance['icon_size'] == "16") { echo 'selected="selected"'; } ?>>16<?php _e('px','floating-social-media-icon'); ?> X 16<?php _e('px','floating-social-media-icon'); ?> </
573
- option>
574
- <option value="25"<?php if ($instance['icon_size'] == "25") { echo 'selected="selected"'; } ?>>25<?php _e('px','floating-social-media-icon'); ?> X 25<?php _e('px','floating-social-media-icon'); ?> </
575
- option>
576
- <option value="32"<?php if ($instance['icon_size'] == "32") { echo 'selected="selected"'; } ?>>32<?php _e('px','floating-social-media-icon'); ?> X 32<?php _e('px','floating-social-media-icon'); ?> </
577
- option>
578
- <option value="40"<?php if ($instance['icon_size'] == "40") { echo 'selected="selected"'; } ?>>40<?php _e('px','floating-social-media-icon'); ?> X 40<?php _e('px','floating-social-media-icon'); ?> </
579
- option>
580
- <option value="48"<?php if ($instance['icon_size'] == "48") { echo 'selected="selected"'; } ?>>48<?php _e('px','floating-social-media-icon'); ?> X 48<?php _e('px','floating-social-media-icon'); ?> </
581
- option>
582
- <option value="55"<?php if ($instance['icon_size'] == "55") { echo 'selected="selected"'; } ?>>55<?php _e('px','floating-social-media-icon'); ?> X 55<?php _e('px','floating-social-media-icon'); ?> </
583
- option>
584
  </select>
585
  </p>
586
  <p>
@@ -603,14 +620,10 @@ class acx_social_widget_icons_Widget extends WP_Widget
603
  <label for="<?php echo $this->get_field_id('icon_align'); ?>"><?php _e('Icon Align:','acurax-social-media-widget'); ?></label>
604
  <select class="widefat" name="<?php echo $this->get_field_name('icon_align'); ?>" id="<?php echo $this
605
  ->get_field_id('icon_align'); ?>">
606
- <option value=""<?php if(!ISSET($instance['icon_align'])) { echo 'selected="selected"'; } ?>><?php _e('Default','acurax-social-media-widget'); ?> </
607
- option>
608
- <option value="left"<?php if(ISSET($instance['icon_align'])){ if($instance['icon_align'] == "left") { echo 'selected="selected"'; }} ?>><?php _e('Left','acurax-social-media-widget'); ?></
609
- option>
610
- <option value="center"<?php if(ISSET($instance['icon_align'])){ if($instance['icon_align'] == "center") { echo 'selected="selected"'; } }?>><?php _e('Center','acurax-social-media-widget'); ?></
611
- option>
612
- <option value="right"<?php if(ISSET($instance['icon_align'])){ if($instance['icon_align'] == "right") { echo 'selected="selected"'; } }?>><?php _e('Right','acurax-social-media-widget'); ?> </
613
- option>
614
  </select>
615
  </p>
616
  <p><?php _e('You can configure your social media profiles ','acurax-social-media-widget'); ?><a href="admin.php?page=Acurax-Social-Widget-Settings" target="_blank"><?php _e('here','acurax-social-media-widget'); ?></a></p>
1
  <?php
2
  function acx_smw_styles()
3
  {
4
+ wp_register_style('acx_smw_admin_style', plugins_url('css/style_admin.css?v='.ACX_SMW_VERSION, __FILE__));
5
  wp_enqueue_style('acx_smw_admin_style');
6
+ wp_register_style('acx_smw_box_style', plugins_url('css/layout.css?v='.ACX_SMW_VERSION, __FILE__));
7
  wp_enqueue_style('acx_smw_box_style');
8
+ wp_register_style('acx_smw_widget_style', plugins_url('css/style.css?v='.ACX_SMW_VERSION, __FILE__));
9
  wp_enqueue_style('acx_smw_widget_style');
10
 
11
  }
74
  <li><?php _e('Explain Errors And Recommend Solutions','acurax-social-media-widget'); ?></li>
75
  <li><?php _e('Custom Plugin Development According To Your Needs','acurax-social-media-widget'); ?></li>
76
  <li><?php _e('Plugin Integration Support','acurax-social-media-widget'); ?></li>
77
+ <li><?php _e('Many','acurax-social-media-widget'); ?> <a href="http://www.acurax.com/?utm_source=smw&utm_campaign=expert_support" target="_blank"><?php _e('More...','acurax-social-media-widget'); ?></a></li>
78
  </ul>
79
  </div> <!-- acx_smw_es_wp_acx_service_list -->
80
 
157
  function acx_quick_smw_request_submit_callback()
158
  {
159
 
160
+ $acx_name = $acx_email = $acx_phone = $acx_weburl = $acx_subject = $acx_question = $acx_smw_es = "";
161
+ if(ISSET($_POST['acx_name']))
162
+ {
163
+ $acx_name = $_POST['acx_name'];
164
+ }
165
+ if(ISSET($_POST['acx_email']))
166
+ {
167
+ $acx_email = $_POST['acx_email'];
168
+ }
169
+ if(ISSET($_POST['acx_phone']))
170
+ {
171
+ $acx_phone = $_POST['acx_phone'];
172
+ }
173
+ if(ISSET($_POST['acx_weburl']))
174
+ {
175
+ $acx_weburl = $_POST['acx_weburl'];
176
+ }
177
+ if(ISSET($_POST['acx_subject']))
178
+ {
179
+ $acx_subject = $_POST['acx_subject'];
180
+ }
181
+ if(ISSET($_POST['acx_question']))
182
+ {
183
+ $acx_question = $_POST['acx_question'];
184
+ }
185
+ if(ISSET($_POST['acx_smw_es']))
186
+ {
187
+ $acx_smw_es = $_POST['acx_smw_es'];
188
+ }
189
  if (!wp_verify_nonce($acx_smw_es,'acx_smw_es'))
190
  {
191
+ $acx_smw_es == "";
192
  }
193
  if(!current_user_can('manage_options'))
194
  {
195
+ $acx_smw_es == "";
196
  }
197
  if($acx_smw_es == "" || $acx_name == "" || $acx_email == "" || $acx_phone == "" || $acx_weburl == "" || $acx_subject == "" || $acx_question == "")
198
  {
245
  $acx_widget_si_gplus = get_option('acx_widget_si_gplus');
246
  $acx_widget_si_pinterest = get_option('acx_widget_si_pinterest');
247
  $acx_widget_si_feed = get_option('acx_widget_si_feed');
248
+ $acx_widget_si_instagram = get_option('acx_widget_si_instagram');
249
  $acx_widget_si_icon_size = get_option('acx_widget_si_icon_size');
250
  $acx_si_smw_float_fix = get_option('acx_si_smw_float_fix');
251
  $acx_si_smw_theme_warning_ignore = get_option('acx_si_smw_theme_warning_ignore');
267
  {
268
  // Getting Globals *****************************
269
  global $acx_widget_si_theme, $acx_widget_si_credit , $acx_widget_si_twitter, $acx_widget_si_facebook, $acx_widget_si_youtube,$acx_widget_si_gplus,
270
+ $acx_widget_si_linkedin, $acx_widget_si_pinterest, $acx_widget_si_feed, $acx_widget_si_icon_size,$acx_widget_si_instagram;
271
  // *****************************************************
272
 
273
  if(is_array($acx_widget_array) && array_key_exists('theme',$acx_widget_array))
316
  $feed_link = "<a href='". $acx_widget_si_feed ."' target='_blank' title='". __('Check Our Feed','acurax-social-media-widget'). "'>" . "<img src=" . plugins_url('images/themes/'
317
  . $acx_widget_si_touse_theme .'/feed.png', __FILE__) . " style='border:0px;' alt='". __('Check Our Feed','acurax-social-media-widget'). "' /></a>";
318
  }
319
+ if ($acx_widget_si_instagram == "") { $instagram_link = ""; } else
320
+ {
321
+ $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/'
322
+ . $acx_widget_si_touse_theme .'/instagram.png', __FILE__) . " style='border:0px;' alt='". __('Visit Us On Instagram','acurax-social-media-widget'). "' /></a>";
323
+ }
324
  $social_widget_icon_array_order = get_option('social_widget_icon_array_order');
325
  if(is_serialized($social_widget_icon_array_order))
326
  {
337
  else if ($value == 5) { $acx_w_html .= $linkedin_link; }
338
 
339
  else if ($value == 6) { $acx_w_html .= $feed_link; }
340
+ else if ($value == 7) { $acx_w_html .= $instagram_link; }
341
  }
342
  return $acx_w_html;
343
  } //acurax_si_widget_simple()
377
  function acurax_widget_icons()
378
  {
379
  global $acx_widget_si_theme, $acx_widget_si_credit, $acx_widget_si_twitter, $acx_widget_si_facebook, $acx_widget_si_youtube,
380
+ $acx_widget_si_linkedin, $acx_widget_si_gplus, $acx_widget_si_pinterest, $acx_widget_si_feed, $acx_widget_si_icon_size,$acx_widget_si_instagram;
381
 
382
  if($acx_widget_si_twitter != "" || $acx_widget_si_facebook != "" || $acx_widget_si_youtube != "" || $acx_widget_si_linkedin != "" ||
383
+ $acx_widget_si_pinterest != "" || $acx_widget_si_gplus != "" || $acx_widget_si_feed != "" || $acx_widget_si_instagram != "")
384
  {
385
  //*********************** STARTED DISPLAYING THE ICONS ***********************
386
  echo "\n\n\n<!-- Starting Icon Display Code For Social Media Icon From Acurax International www.acurax.com -->\n";
415
  echo "</style>\n<!-- Ending Styles For Social Media Icon From Acurax International www.acurax.com -->\n\n\n\n";
416
  } add_action('admin_head', 'extra_style_acx_widget_icon'); // ADMIN
417
  add_action('wp_head', 'extra_style_acx_widget_icon'); // PUBLIC
418
+
 
 
 
419
  $acx_widget_si_sc_id = 0; // Defined to assign shortcode unique id
420
  function DISPLAY_WIDGET_acurax_widget_icons_SC($atts)
421
  {
468
  {
469
  do_action('acx_asmw_orderarray_refresh');
470
  }
 
 
 
 
471
 
472
  // wp-admin Notices >> Plugin not configured
473
  function acx_widget_si_pluign_not_configured()
477
  }
478
  if ($social_widget_icon_array_count == $total_arrays)
479
  {
480
+ if ($acx_widget_si_twitter == "" && $acx_widget_si_facebook == "" && $acx_widget_si_youtube == "" && $acx_widget_si_linkedin == "" && $acx_widget_si_pinterest == "" && $acx_widget_si_gplus == "" && $acx_widget_si_feed == "" && $acx_widget_si_instagram == "")
481
  {
482
  if($acx_si_widget_current_page != 'Acurax-Social-Widget-Settings ')
483
  {
495
  $acx_widget_si_days_till_today_from_install = time()-$acx_widget_si_installed_date;
496
  $acx_widget_si_days_till_today_from_install = round(($acx_widget_si_days_till_today_from_install/60/60/24))." Days";
497
  global $current_user;
498
+ wp_get_current_user();
499
  $acx_widget_si_current_user = $current_user->display_name;
500
  if($acx_widget_si_current_user == "")
501
  {
502
  $acx_widget_si_current_user = "Webmaster";
503
  }
504
+ echo '<div id="acx_td_asmw" class="notice">' . __('Hey','acurax-social-media-widget'). ' <b>'.$acx_widget_si_current_user.'</b>,'. __(' You were using Acurax Social Media Widget Wordpress Plugin for the last','acurax-social-media-widget').' <b>'.$acx_widget_si_days_till_today_from_install.'</b>,'. __(' and hope you are enjoying it.','acurax-social-media-widget').'<br>' . __(' From the bottom of our heart, we the team @ ','acurax-social-media-widget').'<a href="http://www.acurax.com/?utm_source=asmw&utm_campaign=days" style="font-weight: normal; margin-left: 0px; color: rgb(68, 68, 68);" target="_blank">'. __(' Acurax Technologies','acurax-social-media-widget').'</a>'. __(' thank you for being with us, and we appreciate your feedback,reviews and support.','acurax-social-media-widget').'<br><a href="https://wordpress.org/support/view/plugin-reviews/acurax-social-media-widget?filter=5" target="_blank">'. __('Rate 5★\'s on wordpress','acurax-social-media-widget').'</a><a href="admin.php?page=Acurax-Social-Widget-Premium">'. __('Premium Version Benefits','acurax-social-media-widget').'</a><a href="admin.php?page=Acurax-Social-Widget-Premium&td=hide">'. __('Hide for Now','acurax-social-media-widget'). '</a></div>';
505
  }
506
  $acx_widget_si_installed_date = get_option('acx_widget_si_installed_date');
507
  if ($acx_widget_si_installed_date=="") { $acx_widget_si_installed_date = time();}
538
  // Set some control options (width, height etc)
539
  $control_options = array( 'width' => 300 );
540
  // Actually create the widget (widget id, widget name, options...)
541
+ parent::__construct( 'acx-social-icons-widget', __('Acurax Social Media Widget','acurax-social-media-widget'), $widget_options, $control_options );
542
  }
543
  // Output the content of the widget
544
  function widget($args, $instance)
556
  {
557
  echo $before_title . $title . $after_title;
558
  }
559
+ do_action('acx_fsmi_add_icon_customize_style',$instance,$this->get_field_id('widget'));
560
  echo "<style>\n";
561
  echo "." . $this->get_field_id('widget') . " img \n{\n";
562
  echo "width:" . $icon_size . "px; \n } \n";
592
  <label for="<?php echo $this->get_field_id('icon_size'); ?>"><?php _e('Icon Size:','acurax-social-media-widget'); ?></label>
593
  <select class="widefat" name="<?php echo $this->get_field_name('icon_size'); ?>" id="<?php echo $this
594
  ->get_field_id('icon_size'); ?>">
595
+ <option value="16"<?php if ($instance['icon_size'] == "16") { echo 'selected="selected"'; } ?>>16<?php _e('px','floating-social-media-icon'); ?> X 16<?php _e('px','floating-social-media-icon'); ?> </option>
596
+ <option value="25"<?php if ($instance['icon_size'] == "25") { echo 'selected="selected"'; } ?>>25<?php _e('px','floating-social-media-icon'); ?> X 25<?php _e('px','floating-social-media-icon'); ?> </option>
597
+ <option value="32"<?php if ($instance['icon_size'] == "32") { echo 'selected="selected"'; } ?>>32<?php _e('px','floating-social-media-icon'); ?> X 32<?php _e('px','floating-social-media-icon'); ?> </option>
598
+ <option value="40"<?php if ($instance['icon_size'] == "40") { echo 'selected="selected"'; } ?>>40<?php _e('px','floating-social-media-icon'); ?> X 40<?php _e('px','floating-social-media-icon'); ?> </option>
599
+ <option value="48"<?php if ($instance['icon_size'] == "48") { echo 'selected="selected"'; } ?>>48<?php _e('px','floating-social-media-icon'); ?> X 48<?php _e('px','floating-social-media-icon'); ?> </option>
600
+ <option value="55"<?php if ($instance['icon_size'] == "55") { echo 'selected="selected"'; } ?>>55<?php _e('px','floating-social-media-icon'); ?> X 55<?php _e('px','floating-social-media-icon'); ?> </option>
 
 
 
 
 
 
601
  </select>
602
  </p>
603
  <p>
620
  <label for="<?php echo $this->get_field_id('icon_align'); ?>"><?php _e('Icon Align:','acurax-social-media-widget'); ?></label>
621
  <select class="widefat" name="<?php echo $this->get_field_name('icon_align'); ?>" id="<?php echo $this
622
  ->get_field_id('icon_align'); ?>">
623
+ <option value=""<?php if(!ISSET($instance['icon_align'])) { echo 'selected="selected"'; } ?>><?php _e('Default','acurax-social-media-widget'); ?> </option>
624
+ <option value="left"<?php if(ISSET($instance['icon_align'])){ if($instance['icon_align'] == "left") { echo 'selected="selected"'; }} ?>><?php _e('Left','acurax-social-media-widget'); ?></option>
625
+ <option value="center"<?php if(ISSET($instance['icon_align'])){ if($instance['icon_align'] == "center") { echo 'selected="selected"'; } }?>><?php _e('Center','acurax-social-media-widget'); ?></option>
626
+ <option value="right"<?php if(ISSET($instance['icon_align'])){ if($instance['icon_align'] == "right") { echo 'selected="selected"'; } }?>><?php _e('Right','acurax-social-media-widget'); ?> </option>
 
 
 
 
627
  </select>
628
  </p>
629
  <p><?php _e('You can configure your social media profiles ','acurax-social-media-widget'); ?><a href="admin.php?page=Acurax-Social-Widget-Settings" target="_blank"><?php _e('here','acurax-social-media-widget'); ?></a></p>
images/themes/1/instagram.png ADDED
Binary file
images/themes/10/instagram.png ADDED
Binary file
images/themes/11/instagram.png ADDED
Binary file
images/themes/12/facebook.png CHANGED
Binary file
images/themes/12/feed.png CHANGED
Binary file
images/themes/12/instagram.png ADDED
Binary file
images/themes/12/linkedin.png CHANGED
Binary file
images/themes/12/pinterest.png CHANGED
Binary file
images/themes/12/youtube.png CHANGED
Binary file
images/themes/13/instagram.png ADDED
Binary file
images/themes/14/instagram.png ADDED
Binary file
images/themes/14/youtube.png CHANGED
Binary file
images/themes/15/facebook.png CHANGED
Binary file
images/themes/15/feed.png CHANGED
Binary file
images/themes/15/googleplus.png CHANGED
Binary file
images/themes/15/instagram.png ADDED
Binary file
images/themes/15/linkedin.png CHANGED
Binary file
images/themes/15/pinterest.png CHANGED
Binary file
images/themes/15/twitter.png CHANGED
Binary file
images/themes/15/youtube.png CHANGED
Binary file
images/themes/16/instagram.png ADDED
Binary file
images/themes/16/linkedin.png CHANGED
Binary file
images/themes/17/feed.png CHANGED
Binary file
images/themes/17/instagram.png ADDED
Binary file
images/themes/18/instagram.png ADDED
Binary file
images/themes/19/instagram.png ADDED
Binary file
images/themes/2/instagram.png ADDED
Binary file
images/themes/20/instagram.png ADDED
Binary file
images/themes/21/instagram.png ADDED
Binary file
images/themes/22/instagram.png ADDED
Binary file
images/themes/23/instagram.png ADDED
Binary file
images/themes/24/instagram.png ADDED
Binary file
images/themes/25/facebook.png ADDED
Binary file
images/themes/25/feed.png ADDED
Binary file
images/themes/25/googleplus.png ADDED
Binary file
images/themes/25/index.html ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <html>
2
+ <head><title>What are you trying to do?</title></head>
3
+ <body>
4
+ Anyway thats not allowed here :)
5
+ </body>
6
+ </html>
images/themes/25/instagram.png ADDED
Binary file
images/themes/25/linkedin.png ADDED
Binary file
images/themes/25/pinterest.png ADDED
Binary file
images/themes/25/twitter.png ADDED
Binary file
images/themes/25/youtube.png ADDED
Binary file
images/themes/26/facebook.png ADDED
Binary file
images/themes/26/feed.png ADDED
Binary file
images/themes/26/googleplus.png ADDED
Binary file
images/themes/26/index.html ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <html>
2
+ <head><title>What are you trying to do?</title></head>
3
+ <body>
4
+ Anyway thats not allowed here :)
5
+ </body>
6
+ </html>
images/themes/26/instagram.png ADDED
Binary file
images/themes/26/linkedin.png ADDED
Binary file
images/themes/26/pinterest.png ADDED
Binary file
images/themes/26/twitter.png ADDED
Binary file
images/themes/26/youtube.png ADDED
Binary file
images/themes/27/facebook.png ADDED
Binary file
images/themes/27/feed.png ADDED
Binary file
images/themes/27/googleplus.png ADDED
Binary file
images/themes/27/index.html ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <html>
2
+ <head><title>What are you trying to do?</title></head>
3
+ <body>
4
+ Anyway thats not allowed here :)
5
+ </body>
6
+ </html>
images/themes/27/instagram.png ADDED
Binary file
images/themes/27/linkedin.png ADDED
Binary file
images/themes/27/pinterest.png ADDED
Binary file
images/themes/27/twitter.png ADDED
Binary file
images/themes/27/youtube.png ADDED
Binary file
images/themes/28/facebook.png ADDED
Binary file
images/themes/28/feed.png ADDED
Binary file
images/themes/28/googleplus.png ADDED
Binary file
images/themes/28/index.html ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <html>
2
+ <head><title>What are you trying to do?</title></head>
3
+ <body>
4
+ Anyway thats not allowed here :)
5
+ </body>
6
+ </html>
images/themes/28/instagram.png ADDED
Binary file
images/themes/28/linkedin.png ADDED
Binary file
images/themes/28/pinterest.png ADDED
Binary file
images/themes/28/twitter.png ADDED
Binary file
images/themes/28/youtube.png ADDED
Binary file
images/themes/29/facebook.png ADDED
Binary file
images/themes/29/feed.png ADDED
Binary file
images/themes/29/googleplus.png ADDED
Binary file
images/themes/29/index.html ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <html>
2
+ <head><title>What are you trying to do?</title></head>
3
+ <body>
4
+ Anyway thats not allowed here :)
5
+ </body>
6
+ </html>
images/themes/29/instagram.png ADDED
Binary file
images/themes/29/linkedin.png ADDED
Binary file
images/themes/29/pinterest.png ADDED
Binary file
images/themes/29/twitter.png ADDED
Binary file
images/themes/29/youtube.png ADDED
Binary file
images/themes/3/instagram.png ADDED
Binary file
images/themes/30/facebook.png ADDED
Binary file
images/themes/30/feed.png ADDED
Binary file
images/themes/30/googleplus.png ADDED
Binary file
images/themes/30/index.html ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <html>
2
+ <head><title>What are you trying to do?</title></head>
3
+ <body>
4
+ Anyway thats not allowed here :)
5
+ </body>
6
+ </html>
images/themes/30/instagram.png ADDED
Binary file
images/themes/30/linkedin.png ADDED
Binary file
images/themes/30/pinterest.png ADDED
Binary file
images/themes/30/twitter.png ADDED
Binary file
images/themes/30/youtube.png ADDED
Binary file
images/themes/4/instagram.png ADDED
Binary file
images/themes/5/instagram.png ADDED
Binary file
images/themes/5/linkedin.png CHANGED
Binary file
images/themes/5/youtube.png CHANGED
Binary file
images/themes/6/facebook.png CHANGED
Binary file
images/themes/6/feed.png CHANGED
Binary file
images/themes/6/instagram.png ADDED
Binary file
images/themes/6/twitter.png CHANGED
Binary file
images/themes/6/youtube.png CHANGED
Binary file
images/themes/7/facebook.png CHANGED
Binary file
images/themes/7/feed.png CHANGED
Binary file
images/themes/7/googleplus.png CHANGED
Binary file
images/themes/7/instagram.png ADDED
Binary file
images/themes/7/linkedin.png CHANGED
Binary file
images/themes/7/pinterest.png CHANGED
Binary file
images/themes/7/twitter.png CHANGED
Binary file
images/themes/7/youtube.png CHANGED
Binary file
images/themes/8/instagram.png ADDED
Binary file
images/themes/8/youtube.png CHANGED
Binary file
images/themes/9/instagram.png ADDED
Binary file
includes/hook_functions.php CHANGED
@@ -86,64 +86,65 @@ jQuery( "#acx_smw_c_icon_p_info_lb_h" ).remove();
86
 
87
  function acx_smw_service_banners()
88
  {
89
- ?>
 
90
  <div id="acx_smw_sidebar">
91
  <?php $acx_si_smw_acx_service_banners = get_option('acx_si_smw_acx_service_banners');
92
  if ($acx_si_smw_acx_service_banners != "no") { ?>
93
  <div id="acx_ad_banners_smw">
94
- <a href="http://wordpress.acurax.com/?utm_source=smw&utm_campaign=sidebar_banner_1" target="_blank" class="acx_ad_smw_1">
95
  <div class="acx_ad_smw_title"><?php _e('Need Help on Wordpress?','acurax-social-media-widget'); ?></div> <!-- acx_ad_smw_title -->
96
  <div class="acx_ad_smw_desc"><?php _e('Instant Solutions for your wordpress Issues','acurax-social-media-widget'); ?></div> <!-- acx_ad_smw_desc -->
97
  </a> <!-- acx_ad_smw_1 -->
98
 
99
- <a href="http://wordpress.acurax.com/?utm_source=smw&utm_campaign=sidebar_banner_2" target="_blank" class="acx_ad_smw_1">
100
  <div class="acx_ad_smw_title"><?php _e('Unique Design For Better Branding','acurax-social-media-widget'); ?></div> <!-- acx_ad_smw_title -->
101
  <div class="acx_ad_smw_desc acx_ad_smw_desc2" style="padding-top: 0px; padding-left: 50px; height: 41px; font-size: 13px; text-align: center;"><?php _e('Get Responsive Custom Designed Website For High Conversion','acurax-social-media-widget'); ?></div> <!-- acx_ad_smw_desc -->
102
  </a> <!-- acx_ad_smw_1 -->
103
 
104
- <a href="http://wordpress.acurax.com/?utm_source=smw&utm_campaign=sidebar_banner_3" target="_blank" class="acx_ad_smw_1">
105
- <div class="acx_ad_smw_title"><?php _e('Affordable Website Packages','acurax-social-media-widget'); ?></div> <!-- acx_ad_smw_title -->
106
- <div class="acx_ad_smw_desc acx_ad_smw_desc3" style="padding-top: 0px; height: 32px; font-size: 13px; text-align: center;"><?php _e('Get Feature Rich Packages For a Custom Designed Website','acurax-social-media-widget'); ?></div> <!-- acx_ad_smw_desc -->
107
  </a> <!-- acx_ad_smw_1 -->
108
 
109
  </div> <!-- acx_ad_banners_smw -->
110
  <?php } else { ?>
111
-
112
-
113
  <div class="acx_smw_sidebar_widget">
114
- <div class="acx_smw_sidebar_w_title"><?php _e('We Are Always Available','acurax-social-media-widget');?></div> <!-- acx_ad_smw_title -->
115
  <div class="acx_smw_sidebar_w_content">
116
- <?php _e('We know you are in the process of improving your website, and we the team at Acurax is always available for any help or support that you need. ','acurax-social-media-widget'); ?><a href="http://wordpress.acurax.com/?utm_source=smw&utm_campaign=sidebar_text_1" target="_blank"><?php _e('Get in touch','acurax-social-media-widget') ;?></a>
117
  </div>
118
  </div> <!-- acx_smw_sidebar_widget -->
119
-
120
-
121
  <div class="acx_smw_sidebar_widget">
122
- <div class="acx_smw_sidebar_w_title"><?php _e('Do You Know?','acurax-social-media-widget'); ?></div> <!-- acx_ad_smw_title -->
 
 
 
 
123
  <div class="acx_smw_sidebar_w_content acx_smw_sidebar_w_content_p_slide">
124
  </div>
125
  </div> <!-- acx_smw_sidebar_widget -->
126
  <script type="text/javascript">
127
-
128
- var acx_smw = new Array("<?php _e('A professionally designed website is the most cost effective marketing tool available in the world today...','acurax-social-media-widget'); ?>","<?php _e('Personalizing your website can create a unique one to one experience and convert your visitors into customers.','acurax-social-media-widget'); ?>","<?php _e('70% of searches from mobile devices are followed up with an action within 1 hour.','acurax-social-media-widget'); ?>");
129
-
130
- // jQuery(".acx_smw_sidebar_w_content_p_slide p").height('30px');
131
  function acx_smw_t_rotate()
132
  {
133
- acx_smw_text = acx_smw[Math.floor(Math.random()*acx_smw.length)];
134
- jQuery(".acx_smw_sidebar_w_content_p_slide").fadeOut('slow')
135
- jQuery(".acx_smw_sidebar_w_content_p_slide").text(acx_smw_text);
136
- jQuery(".acx_smw_sidebar_w_content_p_slide").fadeIn('fast');
 
 
 
 
 
 
137
  }
138
  jQuery(document).ready(function() {
139
- acx_smw_t_rotate();
140
- setInterval(function(){ acx_smw_t_rotate(); }, 8000);
141
  });
142
  </script>
143
- <div class="acx_smw_sidebar_widget">
144
- <div class="acx_smw_sidebar_w_title"><?php _e('Grab The Blending Creativity','acurax-social-media-widget');?></div>
145
- <div class="acx_smw_sidebar_w_content"><?php _e('Make your website user friendly and optimized for mobile devices for better user interaction and satisfaction','acurax-social-media-widget');?> <a href="http://wordpress.acurax.com/?utm_source=smw&utm_campaign=sidebar_text_2" target="_blank"><?php _e('Click Here','acurax-social-media-widget'); ?></a></div>
146
- </div> <!-- acx_smw_sidebar_widget -->
147
  <?php } ?>
148
  <div class="acx_smw_sidebar_widget">
149
  <div class="acx_smw_sidebar_w_title"><?php _e('Rate us on wordpress.org','acurax-social-media-widget'); ?></div>
86
 
87
  function acx_smw_service_banners()
88
  {
89
+
90
+ ?>
91
  <div id="acx_smw_sidebar">
92
  <?php $acx_si_smw_acx_service_banners = get_option('acx_si_smw_acx_service_banners');
93
  if ($acx_si_smw_acx_service_banners != "no") { ?>
94
  <div id="acx_ad_banners_smw">
95
+ <a href="http://www.acurax.com/?utm_source=smw&utm_campaign=sidebar_banner_1" target="_blank" class="acx_ad_smw_1">
96
  <div class="acx_ad_smw_title"><?php _e('Need Help on Wordpress?','acurax-social-media-widget'); ?></div> <!-- acx_ad_smw_title -->
97
  <div class="acx_ad_smw_desc"><?php _e('Instant Solutions for your wordpress Issues','acurax-social-media-widget'); ?></div> <!-- acx_ad_smw_desc -->
98
  </a> <!-- acx_ad_smw_1 -->
99
 
100
+ <a href="http://www.acurax.com/branding/?utm_source=smw&utm_campaign=sidebar_banner_2" target="_blank" class="acx_ad_smw_1">
101
  <div class="acx_ad_smw_title"><?php _e('Unique Design For Better Branding','acurax-social-media-widget'); ?></div> <!-- acx_ad_smw_title -->
102
  <div class="acx_ad_smw_desc acx_ad_smw_desc2" style="padding-top: 0px; padding-left: 50px; height: 41px; font-size: 13px; text-align: center;"><?php _e('Get Responsive Custom Designed Website For High Conversion','acurax-social-media-widget'); ?></div> <!-- acx_ad_smw_desc -->
103
  </a> <!-- acx_ad_smw_1 -->
104
 
105
+ <a href="http://www.acurax.com/social-profile-design/?utm_source=smw&utm_campaign=sidebar_banner_3" target="_blank" class="acx_ad_smw_1">
106
+ <div class="acx_ad_smw_title"><?php _e('Brand Your Social Media Profiles','acurax-social-media-widget'); ?></div> <!-- acx_ad_smw_title -->
107
+ <div class="acx_ad_smw_desc acx_ad_smw_desc3" style="padding-top: 0px; height: 110px; text-align: left; font-size: 12px; line-height: 20px;"><?php _e('Social Profile Design means customizing and designing your online presence across many social networks in a professional way to maximize your customer engagement.<br><br>Order and Get Social Media Elements in 24 Hours','acurax-social-media-widget'); ?></div> <!-- acx_ad_smw_desc -->
108
  </a> <!-- acx_ad_smw_1 -->
109
 
110
  </div> <!-- acx_ad_banners_smw -->
111
  <?php } else { ?>
 
 
112
  <div class="acx_smw_sidebar_widget">
113
+ <div class="acx_smw_sidebar_w_title"><?php _e('Affordable Website Services','acurax-social-media-widget');?></div> <!-- acx_ad_smw_title -->
114
  <div class="acx_smw_sidebar_w_content">
115
+ <?php _e('We know you are in the process of improving your website, and we the team at Acurax is always available for hire. ','acurax-social-media-widget'); ?><a href="http://www.acurax.com/webdesigning/?utm_source=smw&utm_campaign=sidebar_text_1" target="_blank"><?php _e('Get in touch','acurax-social-media-widget') ;?></a>
116
  </div>
117
  </div> <!-- acx_smw_sidebar_widget -->
 
 
118
  <div class="acx_smw_sidebar_widget">
119
+ <div class="acx_smw_sidebar_w_title"><?php _e('Brand Your Social Media Profiles','acurax-social-media-widget');?></div>
120
+ <div class="acx_smw_sidebar_w_content"><?php _e('Social Profile Design means customizing and designing your online presence across many social networks in a professional way to maximize your customer engagement.','acurax-social-media-widget');?> <br><br><a href="http://www.acurax.com/social-profile-design/?utm_source=smw&utm_campaign=sidebar_text_2" target="_blank"><?php _e('Order and Get Social Media Elements in 24 Hours','acurax-social-media-widget'); ?></a></div>
121
+ </div> <!-- acx_smw_sidebar_widget -->
122
+ <div class="acx_smw_sidebar_widget">
123
+ <div class="acx_smw_sidebar_w_title"><?php _e('Partner With Us','acurax-social-media-widget'); ?></div> <!-- acx_ad_smw_title -->
124
  <div class="acx_smw_sidebar_w_content acx_smw_sidebar_w_content_p_slide">
125
  </div>
126
  </div> <!-- acx_smw_sidebar_widget -->
127
  <script type="text/javascript">
128
+ var acx_smw = new Array("<?php _e('<b>Are you an Agency?</b>, You can Outsource your projects to the team at Acurax...<br><br><a href=\'http://www.acurax.com/partner-with-us/?utm_source=smw&utm_campaign=sidebar_text_partner\' target=\'_blank\'>Know More...</a>','acurax-social-media-widget'); ?>","<?php _e('<ul><li>- Expert team with timely delivery</li><li>- Reducing the project cost</li><li>- Single Point of contact</li><li>- 100% White-label + Non disclosed agreement</li></ul><a href=\'http://www.acurax.com/partner-with-us/?utm_source=smw&utm_campaign=sidebar_text_partner\' target=\'_blank\'>Know More...</a>','acurax-social-media-widget'); ?>","<?php _e('<ul><li>- Ability to handle multiple projects at a time</li><li>- Well documented project management on project management system</li><li>- No Communication Barriers. Email/support ticket/IM via Skype, Yahoo, Hangouts and Phone etc...</li></ul><a href=\'http://www.acurax.com/partner-with-us/?utm_source=smw&utm_campaign=sidebar_text_partner\' target=\'_blank\'>Know More...</a>','acurax-social-media-widget'); ?>");
129
+ var current_loaded = 0;
 
 
130
  function acx_smw_t_rotate()
131
  {
132
+ acx_smw_count = (acx_smw.length-1);
133
+ acx_smw_text = acx_smw[current_loaded];
134
+ jQuery(".acx_smw_sidebar_w_content_p_slide").fadeOut('fast');
135
+ jQuery(".acx_smw_sidebar_w_content_p_slide").html(acx_smw_text);
136
+ jQuery(".acx_smw_sidebar_w_content_p_slide").fadeIn('slow');
137
+ current_loaded = current_loaded+1;
138
+ if(current_loaded > acx_smw_count)
139
+ {
140
+ current_loaded = 0;
141
+ }
142
  }
143
  jQuery(document).ready(function() {
144
+ acx_smw_t_rotate();
145
+ setInterval(function(){ acx_smw_t_rotate(); }, 4000);
146
  });
147
  </script>
 
 
 
 
148
  <?php } ?>
149
  <div class="acx_smw_sidebar_widget">
150
  <div class="acx_smw_sidebar_w_title"><?php _e('Rate us on wordpress.org','acurax-social-media-widget'); ?></div>
includes/option_fields.php CHANGED
@@ -41,6 +41,8 @@ function acx_smw_current_icon_html()
41
  ".$acx_widget_si_icon_size."px'>
42
  <img src='".ACX_SMW_BASE_LOCATION."images/themes/".$acx_widget_si_theme."/feed.png' style='height:
43
  ".$acx_widget_si_icon_size."px'>
 
 
44
  </div>";
45
  echo "<span class='acx_smw_q_sep'></span>";
46
  print_acx_smw_option_block_end();
@@ -98,12 +100,18 @@ echo "<div id='acx_widget_si_theme_display' class='widefat'>";
98
  {
99
  echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/linkedin.png'>";
100
  }
101
-
102
  if ($value == 6)
103
  {
104
 
105
  echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/feed.png'>";
106
  }
 
 
 
 
 
 
107
  }
108
  ?>
109
  </div>
@@ -124,28 +132,27 @@ function acx_smw_icon_theme_settings_ifpost()
124
  $acx_widget_si_theme = sanitize_text_field(acx_smw_post_isset_check('acx_widget_si_theme'));
125
  if(!is_numeric($acx_widget_si_theme))
126
  {
127
- $acx_widget_si_theme = 1;
128
  }
129
  update_option('acx_widget_si_theme', $acx_widget_si_theme);
130
  } add_action('acx_smw_hook_option_onpost','acx_smw_icon_theme_settings_ifpost');
131
  function acx_smw_icon_theme_settings_else()
132
  {
133
- global $acx_widget_si_theme,$social_widget_icon_array_order;
134
- $acx_widget_si_theme = get_option('acx_widget_si_theme');
135
- $social_widget_icon_array_order = get_option('social_widget_icon_array_order');
136
- if(is_serialized($social_widget_icon_array_order))
137
- {
138
  $social_widget_icon_array_order = unserialize($social_widget_icon_array_order);
139
- }
140
-
141
  } add_action('acx_smw_hook_option_postelse','acx_smw_icon_theme_settings_else');
142
  function acx_smw_icon_theme_settings_after_else()
143
  {
144
  global $acx_widget_si_theme;
145
- if ($acx_widget_si_theme == "")
146
- {
147
- $acx_widget_si_theme = "1";
148
- }
149
  } add_action('acx_smw_hook_option_after_else','acx_smw_icon_theme_settings_after_else');
150
  /*
151
  Icon Theme Settings Save - Get - Set Default Logic Ends Here
@@ -160,13 +167,13 @@ function acx_smw_icon_theme_size_html()
160
  print_acx_smw_option_block_start($acx_smw_string);
161
  ?>
162
  <select name="acx_widget_si_icon_size" style="width: 99.7%">
163
- <option value="16"<?php if ($acx_widget_si_icon_size == "16") { echo 'selected="selected"'; } ?>>16<?php _e('px','acurax-social-media-widget'); ?> X 16<?php _e('px','acurax-social-media-widget'); ?> </option>
164
- <option value="25"<?php if ($acx_widget_si_icon_size == "25") { echo 'selected="selected"'; } ?>>25<?php _e('px','acurax-social-media-widget'); ?> X 25<?php _e('px','acurax-social-media-widget'); ?> </option>
165
- <option value="32"<?php if ($acx_widget_si_icon_size == "32") { echo 'selected="selected"'; } ?>>32<?php _e('px','acurax-social-media-widget'); ?> X 32<?php _e('px','acurax-social-media-widget'); ?> </option>
166
- <option value="40"<?php if ($acx_widget_si_icon_size == "40") { echo 'selected="selected"'; } ?>>40<?php _e('px','acurax-social-media-widget'); ?> X 40<?php _e('px','acurax-social-media-widget'); ?> </option>
167
- <option value="48"<?php if ($acx_widget_si_icon_size == "48") { echo 'selected="selected"'; } ?>>48<?php _e('px','acurax-social-media-widget'); ?> X 48<?php _e('px','acurax-social-media-widget'); ?> </option>
168
- <option value="55"<?php if ($acx_widget_si_icon_size == "55") { echo 'selected="selected"'; } ?>>55<?php _e('px','acurax-social-media-widget'); ?> X 55<?php _e('px','acurax-social-media-widget'); ?> </option>
169
- </select>
170
  <?php
171
  echo "<span class='acx_smw_q_sep'></span>";
172
  print_acx_smw_option_block_end();
@@ -180,8 +187,8 @@ function acx_smw_icon_theme_size_ifpost()
180
  } add_action('acx_smw_hook_option_onpost','acx_smw_icon_theme_size_ifpost');
181
  function acx_smw_icon_theme_size_else()
182
  {
183
- global $acx_widget_si_icon_size;
184
- $acx_widget_si_icon_size = get_option('acx_widget_si_icon_size');
185
 
186
  } add_action('acx_smw_hook_option_postelse','acx_smw_icon_theme_size_else');
187
  function acx_smw_icon_theme_size_after_else()
@@ -198,8 +205,6 @@ function acx_smw_icon_theme_size_after_else()
198
  /*
199
  Icon Theme Order - Save - Get - Set Default Logic Starts Here
200
  */
201
-
202
-
203
  function acx_smw_icon_theme_order_html()
204
  {
205
  global $acx_widget_si_icon_size,$social_widget_icon_array_order,$acx_widget_si_theme;
@@ -263,13 +268,16 @@ function acx_smw_icon_theme_order_html()
263
  if ($value == 5)
264
  {
265
  echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/linkedin.png' border='0'><br> Linkedin";
266
- }
267
-
268
  if ($value == 6)
269
  {
270
  echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/feed.png' border='0'><br> Rss Feed";
271
  }
272
-
 
 
 
 
273
  echo "</li> ";
274
  }
275
  echo "</ul>
@@ -465,6 +473,29 @@ function acx_smw_feed_post_else()
465
  $acx_widget_si_feed = get_option('acx_widget_si_feed');
466
  }
467
  add_action('acx_smw_hook_option_postelse','acx_smw_feed_post_else');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
468
 
469
 
470
  function acx_smw_custom_icon_btn_field()
@@ -677,9 +708,6 @@ if ($acx_si_smw_theme_warning_ignore == "") { $acx_si_smw_theme_warning_ignore =
677
  /*
678
  Acurax Theme Conflict Settings Starts Here
679
  */
680
-
681
-
682
-
683
  /*
684
  Acurax Service/Info Settings HTML - Get - Set Default Logic Starts Here
685
  */
@@ -734,8 +762,6 @@ if ($acx_si_smw_acx_service_banners == "") { $acx_si_smw_acx_service_banners = "
734
  /*
735
  Premium Version Info Settings HTML - Get - Set Default Logic Starts Here
736
  */
737
-
738
-
739
  function acx_smw_misc_premium_info_option()
740
  {
741
  global $acx_si_smw_hide_advert;
@@ -749,8 +775,6 @@ function acx_smw_misc_premium_info_option()
749
 
750
  }
751
  add_action('acx_smw_misc_service_info','acx_smw_misc_premium_info_option',200);
752
-
753
-
754
  function acx_smw_premium_info_if()
755
  {
756
  global $acx_si_smw_hide_advert;
@@ -862,35 +886,33 @@ add_action('acx_smw_misc_hook_option_footer','acx_smw_misc_show_footer_contact_s
862
  /*
863
  Footer HTML Ends Here
864
  */
865
-
866
-
867
  /*********************************** PREMIUM *****************************************************************/
868
  /* Premium Updation HTML Starts Here */
869
  function acx_smw_premium_html()
870
  {
871
- $get_td ="";
872
- if(ISSET($_GET['td']))
873
- {
874
- if(sanitize_text_field($_GET['td']) == 'hide')
875
- {
876
- $get_td = "hide";
877
- }
878
- }
879
- if($get_td == 'hide')
880
- {
881
- update_option('acx_widget_si_td', "hidden");
882
- ?>
883
- <style type='text/css'>
884
- #acx_td
885
- {
886
- display:none;
887
- }
888
- </style>
889
- <div class="error" style="background: none repeat scroll 0pt 0pt infobackground; border: 1px solid inactivecaption; padding: 5px;line-height:16px;"><?php _e('Thanks again for using the plugin.','acurax-social-media-widget'); ?>
890
 
891
- </div>
892
- <?php
893
- }
894
  }
895
  add_action('acx_smw_premium_hook_option_footer','acx_smw_premium_html',100);
896
  /* Premium Updation HTML Ends Here */
@@ -968,28 +990,19 @@ function acx_smw_exprt_quick_fix_add()
968
  {
969
  $social_widget_icon_array_order = unserialize($social_widget_icon_array_order);
970
  }
 
971
  if(ISSET($_GET['page']))
972
  {
973
  $smw_page = $_GET['page'];
974
  }
975
- else{
976
- $smw_page = '';
977
- }
978
-
979
  if(ISSET($_GET['quickfix']))
980
  {
981
  $get_quickfix = sanitize_text_field($_GET['quickfix']);
982
- } else
983
- {
984
- $get_quickfix = "";
985
  }
986
  if(ISSET($_GET['sid']))
987
  {
988
  $get_sid = sanitize_text_field($_GET['sid']);
989
- } else
990
- {
991
- $get_sid = "";
992
- }
993
  if (!wp_verify_nonce($get_sid,'acx_smw_qfix'))
994
  {
995
  $get_sid = "";
@@ -1014,7 +1027,7 @@ add_action('acx_smw_exprt_hook_option_exprt_quick','acx_smw_exprt_quick_fix_add'
1014
  /* Premium Ad on the top starts Here*/
1015
  function acx_smw_help_html()
1016
  {
1017
- $acx_si_smw_hide_advert = get_option('acx_si_smw_hide_advert');
1018
 
1019
  if($acx_si_smw_hide_advert == "no")
1020
  {
41
  ".$acx_widget_si_icon_size."px'>
42
  <img src='".ACX_SMW_BASE_LOCATION."images/themes/".$acx_widget_si_theme."/feed.png' style='height:
43
  ".$acx_widget_si_icon_size."px'>
44
+ <img src='".ACX_SMW_BASE_LOCATION."images/themes/".$acx_widget_si_theme."/instagram.png' style='height:
45
+ ".$acx_widget_si_icon_size."px'>
46
  </div>";
47
  echo "<span class='acx_smw_q_sep'></span>";
48
  print_acx_smw_option_block_end();
100
  {
101
  echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/linkedin.png'>";
102
  }
103
+ else
104
  if ($value == 6)
105
  {
106
 
107
  echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/feed.png'>";
108
  }
109
+ else
110
+ if ($value == 7)
111
+ {
112
+
113
+ echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/instagram.png'>";
114
+ }
115
  }
116
  ?>
117
  </div>
132
  $acx_widget_si_theme = sanitize_text_field(acx_smw_post_isset_check('acx_widget_si_theme'));
133
  if(!is_numeric($acx_widget_si_theme))
134
  {
135
+ $acx_widget_si_theme = 1;
136
  }
137
  update_option('acx_widget_si_theme', $acx_widget_si_theme);
138
  } add_action('acx_smw_hook_option_onpost','acx_smw_icon_theme_settings_ifpost');
139
  function acx_smw_icon_theme_settings_else()
140
  {
141
+ global $acx_widget_si_theme,$social_widget_icon_array_order;
142
+ $acx_widget_si_theme = get_option('acx_widget_si_theme');
143
+ $social_widget_icon_array_order = get_option('social_widget_icon_array_order');
144
+ if(is_serialized($social_widget_icon_array_order))
145
+ {
146
  $social_widget_icon_array_order = unserialize($social_widget_icon_array_order);
147
+ }
 
148
  } add_action('acx_smw_hook_option_postelse','acx_smw_icon_theme_settings_else');
149
  function acx_smw_icon_theme_settings_after_else()
150
  {
151
  global $acx_widget_si_theme;
152
+ if ($acx_widget_si_theme == "")
153
+ {
154
+ $acx_widget_si_theme = "1";
155
+ }
156
  } add_action('acx_smw_hook_option_after_else','acx_smw_icon_theme_settings_after_else');
157
  /*
158
  Icon Theme Settings Save - Get - Set Default Logic Ends Here
167
  print_acx_smw_option_block_start($acx_smw_string);
168
  ?>
169
  <select name="acx_widget_si_icon_size" style="width: 99.7%">
170
+ <option value="16"<?php if ($acx_widget_si_icon_size == "16") { echo 'selected="selected"'; } ?>>16<?php _e('px','acurax-social-media-widget'); ?> X 16<?php _e('px','acurax-social-media-widget'); ?> </option>
171
+ <option value="25"<?php if ($acx_widget_si_icon_size == "25") { echo 'selected="selected"'; } ?>>25<?php _e('px','acurax-social-media-widget'); ?> X 25<?php _e('px','acurax-social-media-widget'); ?> </option>
172
+ <option value="32"<?php if ($acx_widget_si_icon_size == "32") { echo 'selected="selected"'; } ?>>32<?php _e('px','acurax-social-media-widget'); ?> X 32<?php _e('px','acurax-social-media-widget'); ?> </option>
173
+ <option value="40"<?php if ($acx_widget_si_icon_size == "40") { echo 'selected="selected"'; } ?>>40<?php _e('px','acurax-social-media-widget'); ?> X 40<?php _e('px','acurax-social-media-widget'); ?> </option>
174
+ <option value="48"<?php if ($acx_widget_si_icon_size == "48") { echo 'selected="selected"'; } ?>>48<?php _e('px','acurax-social-media-widget'); ?> X 48<?php _e('px','acurax-social-media-widget'); ?> </option>
175
+ <option value="55"<?php if ($acx_widget_si_icon_size == "55") { echo 'selected="selected"'; } ?>>55<?php _e('px','acurax-social-media-widget'); ?> X 55<?php _e('px','acurax-social-media-widget'); ?> </option>
176
+ </select>
177
  <?php
178
  echo "<span class='acx_smw_q_sep'></span>";
179
  print_acx_smw_option_block_end();
187
  } add_action('acx_smw_hook_option_onpost','acx_smw_icon_theme_size_ifpost');
188
  function acx_smw_icon_theme_size_else()
189
  {
190
+ global $acx_widget_si_icon_size;
191
+ $acx_widget_si_icon_size = get_option('acx_widget_si_icon_size');
192
 
193
  } add_action('acx_smw_hook_option_postelse','acx_smw_icon_theme_size_else');
194
  function acx_smw_icon_theme_size_after_else()
205
  /*
206
  Icon Theme Order - Save - Get - Set Default Logic Starts Here
207
  */
 
 
208
  function acx_smw_icon_theme_order_html()
209
  {
210
  global $acx_widget_si_icon_size,$social_widget_icon_array_order,$acx_widget_si_theme;
268
  if ($value == 5)
269
  {
270
  echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/linkedin.png' border='0'><br> Linkedin";
271
+ } else
 
272
  if ($value == 6)
273
  {
274
  echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/feed.png' border='0'><br> Rss Feed";
275
  }
276
+ else
277
+ if ($value == 7)
278
+ {
279
+ echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/instagram.png' border='0'><br> Instagram";
280
+ }
281
  echo "</li> ";
282
  }
283
  echo "</ul>
473
  $acx_widget_si_feed = get_option('acx_widget_si_feed');
474
  }
475
  add_action('acx_smw_hook_option_postelse','acx_smw_feed_post_else');
476
+ // instagram
477
+ function acx_smw_social_media_instagram_field()
478
+ {
479
+ global $acx_widget_si_instagram;
480
+ echo "<span class='label'>". __('Instagram URL:','acurax-social-media-widget')."</span>";
481
+ echo "<input type='text' name='acx_widget_si_instagram' value='".esc_url($acx_widget_si_instagram)."' placeholder='".__('https://www.instagram.com/username','acurax-social-media-widget')."'>";
482
+ echo "<span class='acx_smw_q_sep'></span>";
483
+ }
484
+ add_action('acx_smw_icons_option_field','acx_smw_social_media_instagram_field',700);
485
+
486
+ function acx_smw_instagram_post_if()
487
+ {
488
+ global $acx_widget_si_instagram;
489
+ $acx_widget_si_instagram = esc_url_raw(acx_smw_post_isset_check('acx_widget_si_instagram'));
490
+ update_option('acx_widget_si_instagram', $acx_widget_si_instagram);
491
+ } add_action('acx_smw_hook_option_onpost','acx_smw_instagram_post_if');
492
+
493
+ function acx_smw_instagram_post_else()
494
+ {
495
+ global $acx_widget_si_instagram;
496
+ $acx_widget_si_instagram = get_option('acx_widget_si_instagram');
497
+ }
498
+ add_action('acx_smw_hook_option_postelse','acx_smw_instagram_post_else');
499
 
500
 
501
  function acx_smw_custom_icon_btn_field()
708
  /*
709
  Acurax Theme Conflict Settings Starts Here
710
  */
 
 
 
711
  /*
712
  Acurax Service/Info Settings HTML - Get - Set Default Logic Starts Here
713
  */
762
  /*
763
  Premium Version Info Settings HTML - Get - Set Default Logic Starts Here
764
  */
 
 
765
  function acx_smw_misc_premium_info_option()
766
  {
767
  global $acx_si_smw_hide_advert;
775
 
776
  }
777
  add_action('acx_smw_misc_service_info','acx_smw_misc_premium_info_option',200);
 
 
778
  function acx_smw_premium_info_if()
779
  {
780
  global $acx_si_smw_hide_advert;
886
  /*
887
  Footer HTML Ends Here
888
  */
 
 
889
  /*********************************** PREMIUM *****************************************************************/
890
  /* Premium Updation HTML Starts Here */
891
  function acx_smw_premium_html()
892
  {
893
+ $get_td ="";
894
+ if(ISSET($_GET['td']))
895
+ {
896
+ if(sanitize_text_field($_GET['td']) == 'hide')
897
+ {
898
+ $get_td = "hide";
899
+ }
900
+ }
901
+ if($get_td == 'hide')
902
+ {
903
+ update_option('acx_widget_si_td', "hide");
904
+ ?>
905
+ <style type='text/css'>
906
+ #acx_td_asmw
907
+ {
908
+ display:none;
909
+ }
910
+ </style>
911
+ <div class="error" style="background: none repeat scroll 0pt 0pt infobackground; border: 1px solid inactivecaption; padding: 5px;line-height:16px;"><?php _e('Thanks again for using the plugin.','acurax-social-media-widget'); ?>
912
 
913
+ </div>
914
+ <?php
915
+ }
916
  }
917
  add_action('acx_smw_premium_hook_option_footer','acx_smw_premium_html',100);
918
  /* Premium Updation HTML Ends Here */
990
  {
991
  $social_widget_icon_array_order = unserialize($social_widget_icon_array_order);
992
  }
993
+ $smw_page = $get_quickfix = $get_sid = "";
994
  if(ISSET($_GET['page']))
995
  {
996
  $smw_page = $_GET['page'];
997
  }
 
 
 
 
998
  if(ISSET($_GET['quickfix']))
999
  {
1000
  $get_quickfix = sanitize_text_field($_GET['quickfix']);
 
 
 
1001
  }
1002
  if(ISSET($_GET['sid']))
1003
  {
1004
  $get_sid = sanitize_text_field($_GET['sid']);
1005
+ }
 
 
 
1006
  if (!wp_verify_nonce($get_sid,'acx_smw_qfix'))
1007
  {
1008
  $get_sid = "";
1027
  /* Premium Ad on the top starts Here*/
1028
  function acx_smw_help_html()
1029
  {
1030
+ global $acx_si_smw_hide_advert;
1031
 
1032
  if($acx_si_smw_hide_advert == "no")
1033
  {
readme.txt CHANGED
@@ -3,18 +3,20 @@ Contributors: Acurax
3
 
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,google plus button
5
  Requires at least: 2.8
6
- Tested up to: 4.7
7
  Stable tag: trunk
8
 
9
  Social Media Widget Plugin, A Simple Social Icon Widget To Show Essential Social Media Icons - Can Select Social Media Icon Style , Size and Order.
10
 
11
  == Description ==
12
 
13
- A Simple Wordpress Social Media Widget Plugin Which Allow You To Add Widgets Which Links Social Media Buttons to Your Social Network Profiles Twitter, Facebook,Pinterest, Youtube, Rss Feed, Linkedin, Google plus...
14
 
15
- Display SocialMedia Icons Using Widgets, on your sidebar.
16
 
17
  ★ Multiple Social Media Icon Widget Support
 
 
18
 
19
  ★ Each Social Media Widget Can Have Separate Icon Theme and Icon Size
20
 
@@ -28,17 +30,17 @@ Display SocialMedia Icons Using Widgets, on your sidebar.
28
 
29
  ★ Pinterest Support
30
 
31
- We have 20+ icon styles to choose from, so that this will be a great plugin for your personal and business social media integration. You can have any number of social media bar
32
 
33
- We Always Look Forward Your Comments and Suggestions for Future Updates. You can Submit Your Comments at our [Website](http://wordpress.acurax.com/ "Website Designing")
34
 
35
  You can use this plugin to have beautiful social media icons on your website, which links to your most popular social networking sites.
36
 
37
  **About**
38
 
39
- This Social Media Widget Plugin is developed and maintained by [Acurax International](http://wordpress.acurax.com/ "Website Designing"). For any support, you may contact us [here](http://www.acurax.com/contact.php "Web Consulting").
40
 
41
- [Acurax](http://wordpress.acurax.com/ "Acurax Web Design Development Service") Provide [Wordpress Theme Design](http://wordpress.acurax.com "Wordpress Theme Design Service") and [Development](http://www.acurax.com/services/web-development.php "Wordpress Development") Services.
42
 
43
  After Installation of this Social Media Integration Plugin,Don't Forgot to Cast Your Vote on Compatibility :) Thanks for trying...
44
 
@@ -101,13 +103,20 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
101
 
102
  == Screenshots ==
103
 
104
- 1. Acurax Social Media Widget Plugin Settings Full Page (Low Quality Screenshot To Load Fast)
105
- 2. Widget Preview - [INSET: Widget Settings] (Low Quality Screenshot To Load Fast)
106
- 3. Icon Style/Themes Available With This Plugin. (Low Quality Screenshot To Load Fast)
107
- 4. Icon Size Selection, Reorder Icons Drag and Drop, Social Media Profile Link Settings. (Low Quality Screenshot To Load Fast)
108
 
109
  == Upgrade Notice ==
110
 
 
 
 
 
 
 
 
111
  = 3.1 =
112
  * Fixed Bug On Upgrade Notice
113
  * Stable Release
@@ -202,6 +211,13 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
202
 
203
  == Changelog ==
204
 
 
 
 
 
 
 
 
205
  = 3.1 =
206
  * Fixed Bug On Upgrade Notice
207
  * Stable Release
3
 
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,google plus button
5
  Requires at least: 2.8
6
+ Tested up to: 4.6.1
7
  Stable tag: trunk
8
 
9
  Social Media Widget Plugin, A Simple Social Icon Widget To Show Essential Social Media Icons - Can Select Social Media Icon Style , Size and Order.
10
 
11
  == Description ==
12
 
13
+ A Simple Wordpress Social Media Widget Plugin Which Allow You To Add Widgets Which Links Social Media Buttons to Your Social Network Profiles Twitter,Facebook,Pinterest,Instagram,Youtube,Linkedin,Google plus...
14
 
15
+ = Display Social Media Icons Using Widgets, on your sidebar =
16
 
17
  ★ Multiple Social Media Icon Widget Support
18
+
19
+ ★ Flat Icons and Instagram support
20
 
21
  ★ Each Social Media Widget Can Have Separate Icon Theme and Icon Size
22
 
30
 
31
  ★ Pinterest Support
32
 
33
+ We have 30 icon styles to choose from, so that this will be a great plugin for your personal and business social media integration. You can have any number of social media bar
34
 
35
+ We Always Look Forward Your Comments and Suggestions for Future Updates. You can Submit Your Comments at our [Website](http://www.acurax.com/ "Website Designing")
36
 
37
  You can use this plugin to have beautiful social media icons on your website, which links to your most popular social networking sites.
38
 
39
  **About**
40
 
41
+ This Social Media Widget Plugin is developed and maintained by [Acurax International](http://www.acurax.com/webdesigning/ "Website Designing"). For any support, you may contact us [here](http://www.acurax.com/contact.php "Web Consulting").
42
 
43
+ [Acurax](http://www.acurax.com/ "Acurax Web Design Development Service") Provide [Wordpress Theme Design](http://www.acurax.com/web-solution-consultation/ "Wordpress Theme Design Service") and [Development](http://www.acurax.com/services/web-development.php "Wordpress Development") Services.
44
 
45
  After Installation of this Social Media Integration Plugin,Don't Forgot to Cast Your Vote on Compatibility :) Thanks for trying...
46
 
103
 
104
  == Screenshots ==
105
 
106
+ 1. Acurax Social Media Widget Plugin Settings Full Page
107
+ 2. Widget Preview - [INSET: Widget Settings]
108
+ 3. Icon Style/Themes Available With This Plugin.
109
+ 4. Icon Size Selection, Reorder Icons Drag and Drop, Social Media Profile Link Settings.
110
 
111
  == Upgrade Notice ==
112
 
113
+ = 3.2 =
114
+ * Fix - Perfomance Improvements
115
+ * 6 New Icon Styles
116
+ * Instagram Support Added
117
+ * Code Improvements
118
+ * Fixes for wordpress deprecated functions
119
+
120
  = 3.1 =
121
  * Fixed Bug On Upgrade Notice
122
  * Stable Release
211
 
212
  == Changelog ==
213
 
214
+ = 3.2 =
215
+ * Fix - Perfomance Improvements
216
+ * 6 New Icon Styles
217
+ * Instagram Support Added
218
+ * Code Improvements
219
+ * Fixes for wordpress deprecated functions
220
+
221
  = 3.1 =
222
  * Fixed Bug On Upgrade Notice
223
  * Stable Release