Version Description
- Fix - Code Optimization
- Fix - Removed Google Plus Icon
- Fix - Compatibility Fix
Download this release
Release Info
Developer | Acurax |
Plugin | Social Media Widget by Acurax |
Version | 3.2.8 |
Comparing to | |
See all releases |
Code changes from version 3.2.7 to 3.2.8
- acurax-social-icon.php +30 -10
- function.php +35 -18
- images/themes/1/googleplus.png +0 -0
- images/themes/10/googleplus.png +0 -0
- images/themes/11/googleplus.png +0 -0
- images/themes/12/googleplus.png +0 -0
- images/themes/13/googleplus.png +0 -0
- images/themes/14/googleplus.png +0 -0
- images/themes/15/googleplus.png +0 -0
- images/themes/16/googleplus.png +0 -0
- images/themes/17/googleplus.png +0 -0
- images/themes/18/googleplus.png +0 -0
- images/themes/19/googleplus.png +0 -0
- images/themes/2/googleplus.png +0 -0
- images/themes/20/googleplus.png +0 -0
- images/themes/21/googleplus.png +0 -0
- images/themes/22/googleplus.png +0 -0
- images/themes/23/googleplus.png +0 -0
- images/themes/24/googleplus.png +0 -0
- images/themes/25/googleplus.png +0 -0
- images/themes/26/googleplus.png +0 -0
- images/themes/27/googleplus.png +0 -0
- images/themes/28/googleplus.png +0 -0
- images/themes/29/googleplus.png +0 -0
- images/themes/3/googleplus.png +0 -0
- images/themes/30/googleplus.png +0 -0
- images/themes/4/googleplus.png +0 -0
- images/themes/5/googleplus.png +0 -0
- images/themes/6/googleplus.png +0 -0
- images/themes/7/googleplus.png +0 -0
- images/themes/8/googleplus.png +0 -0
- images/themes/9/googleplus.png +0 -0
- includes/acx-smw-licence-activation.php +1 -1
- includes/option_fields.php +29 -43
- readme.txt +8 -3
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
|
6 |
Author: Acurax
|
7 |
-
Version: 3.2.
|
8 |
Author URI: http://www.acurax.com/
|
9 |
License: GPLv2 or later
|
10 |
*/
|
@@ -23,8 +23,8 @@ 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',
|
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 |
include_once(plugin_dir_path( __FILE__ ).'function.php');
|
@@ -131,12 +131,7 @@ if($acx_widget_si_linkedin != '')
|
|
131 |
update_option('acx_si_linkedin', $acx_widget_si_linkedin);
|
132 |
|
133 |
}
|
134 |
-
|
135 |
-
if($acx_widget_si_gplus != '')
|
136 |
-
{
|
137 |
-
update_option('acx_si_gplus', $acx_widget_si_gplus);
|
138 |
-
|
139 |
-
}
|
140 |
$acx_widget_si_pinterest = get_option('acx_widget_si_pinterest');
|
141 |
if($acx_widget_si_pinterest != '')
|
142 |
{
|
@@ -219,4 +214,29 @@ if ( is_admin() )
|
|
219 |
{
|
220 |
add_action('admin_menu', 'acx_social_widget_icon_admin_actions');
|
221 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
?>
|
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. You can define icon style size for each widget.
|
6 |
Author: Acurax
|
7 |
+
Version: 3.2.8
|
8 |
Author URI: http://www.acurax.com/
|
9 |
License: GPLv2 or later
|
10 |
*/
|
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', 7);
|
27 |
+
define('ACX_SMW_VERSION', "3.2.8");
|
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');
|
131 |
update_option('acx_si_linkedin', $acx_widget_si_linkedin);
|
132 |
|
133 |
}
|
134 |
+
|
|
|
|
|
|
|
|
|
|
|
135 |
$acx_widget_si_pinterest = get_option('acx_widget_si_pinterest');
|
136 |
if($acx_widget_si_pinterest != '')
|
137 |
{
|
214 |
{
|
215 |
add_action('admin_menu', 'acx_social_widget_icon_admin_actions');
|
216 |
}
|
217 |
+
/* Add settings link in plugin page */
|
218 |
+
if(!function_exists('acx_smw_plugin_add_settings_link'))
|
219 |
+
{
|
220 |
+
function acx_smw_plugin_add_settings_link( $links ) {
|
221 |
+
$acx_smw_settings_link = '<a href="'.esc_url(wp_nonce_url(admin_url('admin.php?page=Acurax-Social-Widget-Settings'))).'">' . __( 'Settings' ) . '</a>';
|
222 |
+
array_unshift( $links, $acx_smw_settings_link );
|
223 |
+
return $links;
|
224 |
+
}
|
225 |
+
$smw_plugin = plugin_basename( __FILE__ );
|
226 |
+
add_filter( "plugin_action_links_$smw_plugin", 'acx_smw_plugin_add_settings_link' );
|
227 |
+
|
228 |
+
}
|
229 |
+
/* Add settings link in Plugin page */
|
230 |
+
/* redirect to settings page after activate plugin */
|
231 |
+
function acx_smw_plugin_activate() {
|
232 |
+
add_option('acx_smw_do_activation_redirect', true);
|
233 |
+
}
|
234 |
+
register_activation_hook(__FILE__, 'acx_smw_plugin_activate');
|
235 |
+
function acx_smw_redirect() {
|
236 |
+
if (get_option('acx_smw_do_activation_redirect', false)) {
|
237 |
+
delete_option('acx_smw_do_activation_redirect');
|
238 |
+
wp_redirect(esc_url(wp_nonce_url(admin_url('admin.php?page=Acurax-Social-Widget-Settings'))));
|
239 |
+
}
|
240 |
+
}add_action('admin_init', 'acx_smw_redirect');
|
241 |
+
/* redirect to settings page after activate plugin */
|
242 |
?>
|
function.php
CHANGED
@@ -219,11 +219,11 @@ $message = $message ."Phone: ".$acx_phone . "\r\n <br>";
|
|
219 |
}
|
220 |
// In case any of our lines are larger than 70 characters, we should use wordwrap()
|
221 |
$acx_question = wordwrap($acx_question, 70, "\r\n <br>");
|
222 |
-
$message = $message ."Request From:
|
223 |
$message = $message . "Website:".$acx_weburl . "\r\n <br>";
|
224 |
$message = $message . "Question:" .$acx_question . "\r\n <br>";
|
225 |
$message = stripslashes($message);
|
226 |
-
$acx_subject = "
|
227 |
$emailed = wp_mail( 'info@acurax.com', $acx_subject, $message, $headers );
|
228 |
if($emailed)
|
229 |
{
|
@@ -246,7 +246,6 @@ $acx_widget_si_facebook = get_option('acx_widget_si_facebook');
|
|
246 |
$acx_widget_si_youtube = get_option('acx_widget_si_youtube');
|
247 |
$acx_widget_si_twitter = get_option('acx_widget_si_twitter');
|
248 |
$acx_widget_si_linkedin = get_option('acx_widget_si_linkedin');
|
249 |
-
$acx_widget_si_gplus = get_option('acx_widget_si_gplus');
|
250 |
$acx_widget_si_pinterest = get_option('acx_widget_si_pinterest');
|
251 |
$acx_widget_si_feed = get_option('acx_widget_si_feed');
|
252 |
$acx_widget_si_instagram = get_option('acx_widget_si_instagram');
|
@@ -266,8 +265,7 @@ $acx_si_widget_current_page = "";
|
|
266 |
function acurax_si_widget_simple($acx_widget_array)
|
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,$
|
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))
|
@@ -291,11 +289,6 @@ function acurax_si_widget_simple($acx_widget_array)
|
|
291 |
$facebook_link = "<a href='". $acx_widget_si_facebook ."' target='_blank' title='". __('Visit Us On Facebook','acurax-social-media-widget'). "'>" . "<img src=" . plugins_url('images/themes/'
|
292 |
. $acx_widget_si_touse_theme .'/facebook.png', __FILE__) . " style='border:0px;' alt='" . __('Visit Us On Facebook','acurax-social-media-widget'). "' /></a>";
|
293 |
}
|
294 |
-
if ($acx_widget_si_gplus == "") { $gplus_link = ""; } else
|
295 |
-
{
|
296 |
-
$gplus_link = "<a href='". $acx_widget_si_gplus ."' target='_blank' title='". __('Visit Us On GooglePlus','acurax-social-media-widget') . "'>" . "<img src=" . plugins_url('images/themes/'.
|
297 |
-
$acx_widget_si_touse_theme .'/googleplus.png', __FILE__) . " style='border:0px;' alt='". __('Visit Us On GooglePlus','acurax-social-media-widget') . "' /></a>";
|
298 |
-
}
|
299 |
if ($acx_widget_si_pinterest == "") { $pinterest_link = ""; } else
|
300 |
{
|
301 |
$pinterest_link = "<a href='". $acx_widget_si_pinterest ."' target='_blank' title='". __('Visit Us On Pinterest','acurax-social-media-widget'). "'>" . "<img src=" . plugins_url(
|
@@ -331,7 +324,6 @@ function acurax_si_widget_simple($acx_widget_array)
|
|
331 |
{
|
332 |
if ($value == 0) { $acx_w_html .= $twitter_link; }
|
333 |
else if ($value == 1) { $acx_w_html .= $facebook_link; }
|
334 |
-
else if ($value == 2) { $acx_w_html .= $gplus_link; }
|
335 |
else if ($value == 3) { $acx_w_html .= $pinterest_link; }
|
336 |
else if ($value == 4) { $acx_w_html .= $youtube_link; }
|
337 |
else if ($value == 5) { $acx_w_html .= $linkedin_link; }
|
@@ -369,10 +361,10 @@ add_action('admin_notices', 'acx_widget_theme_check_wp_head');
|
|
369 |
function acurax_widget_icons()
|
370 |
{
|
371 |
global $acx_widget_si_theme, $acx_widget_si_credit, $acx_widget_si_twitter, $acx_widget_si_facebook, $acx_widget_si_youtube,
|
372 |
-
$acx_widget_si_linkedin,
|
373 |
|
374 |
if($acx_widget_si_twitter != "" || $acx_widget_si_facebook != "" || $acx_widget_si_youtube != "" || $acx_widget_si_linkedin != "" ||
|
375 |
-
$acx_widget_si_pinterest != "" ||
|
376 |
{
|
377 |
//*********************** STARTED DISPLAYING THE ICONS ***********************
|
378 |
echo "\n\n\n<!-- Starting Icon Display Code For Social Media Icon From Acurax International www.acurax.com -->\n";
|
@@ -469,7 +461,7 @@ function acx_widget_si_pluign_not_configured()
|
|
469 |
}
|
470 |
if ($social_widget_icon_array_count == $total_arrays)
|
471 |
{
|
472 |
-
if ($acx_widget_si_twitter == "" && $acx_widget_si_facebook == "" && $acx_widget_si_youtube == "" && $acx_widget_si_linkedin == "" && $acx_widget_si_pinterest == "" && $
|
473 |
{
|
474 |
if($acx_si_widget_current_page != 'Acurax-Social-Widget-Settings ')
|
475 |
{
|
@@ -639,7 +631,13 @@ class acx_social_widget_icons_Widget extends WP_Widget
|
|
639 |
$instance['icon_align'] = strip_tags( $new_instance['icon_align'] );
|
640 |
return $instance;
|
641 |
}
|
642 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
643 |
// Ending Widget Codes
|
644 |
function acurax_smw_optin()
|
645 |
{
|
@@ -990,11 +988,21 @@ function acx_asmw_saveorder_callback()
|
|
990 |
if(!wp_verify_nonce($_POST['acx_asmw_saveorder_es'],'acx_asmw_saveorder_es')) die("<br><br>".__('Sorry, You have no permission to do this action...','acurax-social-media-widget')."<a href=''>".__('Click Here','acurax-social-media-widget')."</a>");
|
991 |
$social_widget_icon_array_order = $_POST['recordsArray'];
|
992 |
if (current_user_can('manage_options')) {
|
993 |
-
|
|
|
|
|
|
|
994 |
update_option('social_widget_icon_array_order', $social_widget_icon_array_order);
|
995 |
echo "<div id='acurax_notice' align='center' style='width: 420px; font-family: arial; font-weight: normal; font-size: 22px;'>";
|
996 |
echo __("Social Media Icon's Order Saved","acurax-social-media-widget");
|
997 |
echo "</div><br>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
998 |
}
|
999 |
die(); // this is required to return a proper result
|
1000 |
} add_action('wp_ajax_acx_asmw_saveorder', 'acx_asmw_saveorder_callback');
|
@@ -1084,7 +1092,13 @@ function acx_smw_install_licence_refresh_callback()
|
|
1084 |
{
|
1085 |
$licence = $_POST['licence'];
|
1086 |
}
|
1087 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1088 |
if(ISSET($result["localkey"]))
|
1089 |
{
|
1090 |
$local_key = $result["localkey"];
|
@@ -1125,15 +1139,18 @@ function acx_smw_install_licence_refresh_callback()
|
|
1125 |
|
1126 |
}
|
1127 |
}
|
|
|
1128 |
|
1129 |
}
|
|
|
|
|
|
|
1130 |
$acx_smw_purchased_li_array[$licence]['status'] = $result['status'];
|
1131 |
if(!is_serialized($acx_smw_purchased_li_array))
|
1132 |
{
|
1133 |
$acx_smw_purchased_li_array = serialize($acx_smw_purchased_li_array);
|
1134 |
}
|
1135 |
update_option('acx_fsmi_purchased_li_array',$acx_smw_purchased_li_array);
|
1136 |
-
$response_stat = "success";
|
1137 |
}
|
1138 |
echo $response_stat;
|
1139 |
die();
|
219 |
}
|
220 |
// In case any of our lines are larger than 70 characters, we should use wordwrap()
|
221 |
$acx_question = wordwrap($acx_question, 70, "\r\n <br>");
|
222 |
+
$message = $message ."Request From: SMW - Expert Help Request Form \r\n <br>";
|
223 |
$message = $message . "Website:".$acx_weburl . "\r\n <br>";
|
224 |
$message = $message . "Question:" .$acx_question . "\r\n <br>";
|
225 |
$message = stripslashes($message);
|
226 |
+
$acx_subject = "Plugin support - " . $acx_subject;
|
227 |
$emailed = wp_mail( 'info@acurax.com', $acx_subject, $message, $headers );
|
228 |
if($emailed)
|
229 |
{
|
246 |
$acx_widget_si_youtube = get_option('acx_widget_si_youtube');
|
247 |
$acx_widget_si_twitter = get_option('acx_widget_si_twitter');
|
248 |
$acx_widget_si_linkedin = get_option('acx_widget_si_linkedin');
|
|
|
249 |
$acx_widget_si_pinterest = get_option('acx_widget_si_pinterest');
|
250 |
$acx_widget_si_feed = get_option('acx_widget_si_feed');
|
251 |
$acx_widget_si_instagram = get_option('acx_widget_si_instagram');
|
265 |
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))
|
289 |
$facebook_link = "<a href='". $acx_widget_si_facebook ."' target='_blank' title='". __('Visit Us On Facebook','acurax-social-media-widget'). "'>" . "<img src=" . plugins_url('images/themes/'
|
290 |
. $acx_widget_si_touse_theme .'/facebook.png', __FILE__) . " style='border:0px;' alt='" . __('Visit Us On Facebook','acurax-social-media-widget'). "' /></a>";
|
291 |
}
|
|
|
|
|
|
|
|
|
|
|
292 |
if ($acx_widget_si_pinterest == "") { $pinterest_link = ""; } else
|
293 |
{
|
294 |
$pinterest_link = "<a href='". $acx_widget_si_pinterest ."' target='_blank' title='". __('Visit Us On Pinterest','acurax-social-media-widget'). "'>" . "<img src=" . plugins_url(
|
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; }
|
361 |
function acurax_widget_icons()
|
362 |
{
|
363 |
global $acx_widget_si_theme, $acx_widget_si_credit, $acx_widget_si_twitter, $acx_widget_si_facebook, $acx_widget_si_youtube,
|
364 |
+
$acx_widget_si_linkedin, $acx_widget_si_pinterest, $acx_widget_si_feed, $acx_widget_si_icon_size,$acx_widget_si_instagram;
|
365 |
|
366 |
if($acx_widget_si_twitter != "" || $acx_widget_si_facebook != "" || $acx_widget_si_youtube != "" || $acx_widget_si_linkedin != "" ||
|
367 |
+
$acx_widget_si_pinterest != "" || $acx_widget_si_feed != "" || $acx_widget_si_instagram != "")
|
368 |
{
|
369 |
//*********************** STARTED DISPLAYING THE ICONS ***********************
|
370 |
echo "\n\n\n<!-- Starting Icon Display Code For Social Media Icon From Acurax International www.acurax.com -->\n";
|
461 |
}
|
462 |
if ($social_widget_icon_array_count == $total_arrays)
|
463 |
{
|
464 |
+
if ($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_instagram == "")
|
465 |
{
|
466 |
if($acx_si_widget_current_page != 'Acurax-Social-Widget-Settings ')
|
467 |
{
|
631 |
$instance['icon_align'] = strip_tags( $new_instance['icon_align'] );
|
632 |
return $instance;
|
633 |
}
|
634 |
+
}
|
635 |
+
function acx_asmw_social_login_init_widget ()
|
636 |
+
{
|
637 |
+
return register_widget('acx_social_widget_icons_Widget');
|
638 |
+
}
|
639 |
+
add_action ('widgets_init', 'acx_asmw_social_login_init_widget');
|
640 |
+
//add_action('widgets_init', create_function('', 'return register_widget("acx_social_widget_icons_Widget");'));
|
641 |
// Ending Widget Codes
|
642 |
function acurax_smw_optin()
|
643 |
{
|
988 |
if(!wp_verify_nonce($_POST['acx_asmw_saveorder_es'],'acx_asmw_saveorder_es')) die("<br><br>".__('Sorry, You have no permission to do this action...','acurax-social-media-widget')."<a href=''>".__('Click Here','acurax-social-media-widget')."</a>");
|
989 |
$social_widget_icon_array_order = $_POST['recordsArray'];
|
990 |
if (current_user_can('manage_options')) {
|
991 |
+
if(!is_serialized($social_widget_icon_array_order))
|
992 |
+
{
|
993 |
+
$social_widget_icon_array_order = serialize($social_widget_icon_array_order);
|
994 |
+
}
|
995 |
update_option('social_widget_icon_array_order', $social_widget_icon_array_order);
|
996 |
echo "<div id='acurax_notice' align='center' style='width: 420px; font-family: arial; font-weight: normal; font-size: 22px;'>";
|
997 |
echo __("Social Media Icon's Order Saved","acurax-social-media-widget");
|
998 |
echo "</div><br>";
|
999 |
+
echo "</div><script type='text/javascript'>
|
1000 |
+
setTimeout(function(){
|
1001 |
+
jQuery('#acurax_notice').fadeOut('slow');
|
1002 |
+
|
1003 |
+
}, 4000);
|
1004 |
+
|
1005 |
+
</script><br>";
|
1006 |
}
|
1007 |
die(); // this is required to return a proper result
|
1008 |
} add_action('wp_ajax_acx_asmw_saveorder', 'acx_asmw_saveorder_callback');
|
1092 |
{
|
1093 |
$licence = $_POST['licence'];
|
1094 |
}
|
1095 |
+
if(function_exists('check_acx_pfsmi_license') && !function_exists('acx_check_fsmip_offline_license'))
|
1096 |
+
{
|
1097 |
+
$result = check_acx_pfsmi_license($licence,'',true,$id);
|
1098 |
+
}
|
1099 |
+
else{
|
1100 |
+
$result = array();
|
1101 |
+
}
|
1102 |
if(ISSET($result["localkey"]))
|
1103 |
{
|
1104 |
$local_key = $result["localkey"];
|
1139 |
|
1140 |
}
|
1141 |
}
|
1142 |
+
$response_stat = "success";
|
1143 |
|
1144 |
}
|
1145 |
+
else{
|
1146 |
+
$response_stat = $result["status"];
|
1147 |
+
}
|
1148 |
$acx_smw_purchased_li_array[$licence]['status'] = $result['status'];
|
1149 |
if(!is_serialized($acx_smw_purchased_li_array))
|
1150 |
{
|
1151 |
$acx_smw_purchased_li_array = serialize($acx_smw_purchased_li_array);
|
1152 |
}
|
1153 |
update_option('acx_fsmi_purchased_li_array',$acx_smw_purchased_li_array);
|
|
|
1154 |
}
|
1155 |
echo $response_stat;
|
1156 |
die();
|
images/themes/1/googleplus.png
DELETED
Binary file
|
images/themes/10/googleplus.png
DELETED
Binary file
|
images/themes/11/googleplus.png
DELETED
Binary file
|
images/themes/12/googleplus.png
DELETED
Binary file
|
images/themes/13/googleplus.png
DELETED
Binary file
|
images/themes/14/googleplus.png
DELETED
Binary file
|
images/themes/15/googleplus.png
DELETED
Binary file
|
images/themes/16/googleplus.png
DELETED
Binary file
|
images/themes/17/googleplus.png
DELETED
Binary file
|
images/themes/18/googleplus.png
DELETED
Binary file
|
images/themes/19/googleplus.png
DELETED
Binary file
|
images/themes/2/googleplus.png
DELETED
Binary file
|
images/themes/20/googleplus.png
DELETED
Binary file
|
images/themes/21/googleplus.png
DELETED
Binary file
|
images/themes/22/googleplus.png
DELETED
Binary file
|
images/themes/23/googleplus.png
DELETED
Binary file
|
images/themes/24/googleplus.png
DELETED
Binary file
|
images/themes/25/googleplus.png
DELETED
Binary file
|
images/themes/26/googleplus.png
DELETED
Binary file
|
images/themes/27/googleplus.png
DELETED
Binary file
|
images/themes/28/googleplus.png
DELETED
Binary file
|
images/themes/29/googleplus.png
DELETED
Binary file
|
images/themes/3/googleplus.png
DELETED
Binary file
|
images/themes/30/googleplus.png
DELETED
Binary file
|
images/themes/4/googleplus.png
DELETED
Binary file
|
images/themes/5/googleplus.png
DELETED
Binary file
|
images/themes/6/googleplus.png
DELETED
Binary file
|
images/themes/7/googleplus.png
DELETED
Binary file
|
images/themes/8/googleplus.png
DELETED
Binary file
|
images/themes/9/googleplus.png
DELETED
Binary file
|
includes/acx-smw-licence-activation.php
CHANGED
@@ -4018,7 +4018,7 @@ function acx_smw_licnece_install_required_plugins() {
|
|
4018 |
array(
|
4019 |
'name' => 'Social Media Flying Icons | Floating Social Media Icon',
|
4020 |
'slug' => 'floating-social-media-icon',
|
4021 |
-
'version' => '4.2.
|
4022 |
'required' => true,
|
4023 |
),
|
4024 |
|
4018 |
array(
|
4019 |
'name' => 'Social Media Flying Icons | Floating Social Media Icon',
|
4020 |
'slug' => 'floating-social-media-icon',
|
4021 |
+
'version' => '4.2.10',
|
4022 |
'required' => true,
|
4023 |
),
|
4024 |
|
includes/option_fields.php
CHANGED
@@ -31,8 +31,6 @@ function acx_smw_current_icon_html()
|
|
31 |
".$acx_widget_si_icon_size."px'>
|
32 |
<img src='".ACX_SMW_BASE_LOCATION."images/themes/".$acx_widget_si_theme."/facebook.png' style='height:
|
33 |
".$acx_widget_si_icon_size."px'>
|
34 |
-
<img src='".ACX_SMW_BASE_LOCATION."images/themes/".$acx_widget_si_theme."/googleplus.png' style='height:
|
35 |
-
".$acx_widget_si_icon_size."px'>
|
36 |
<img src='".ACX_SMW_BASE_LOCATION."images/themes/".$acx_widget_si_theme."/pinterest.png' style='height:
|
37 |
".$acx_widget_si_icon_size."px'>
|
38 |
<img src='".ACX_SMW_BASE_LOCATION."images/themes/".$acx_widget_si_theme."/youtube.png' style='height:
|
@@ -82,32 +80,28 @@ echo "<div id='acx_widget_si_theme_display' class='widefat'>";
|
|
82 |
if ($value == 1)
|
83 |
{
|
84 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/facebook.png'>";
|
85 |
-
}
|
86 |
-
if ($value == 2)
|
87 |
-
{
|
88 |
-
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/googleplus.png'>";
|
89 |
-
} else
|
90 |
|
91 |
-
if ($value ==
|
92 |
{
|
93 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/pinterest.png'>";
|
94 |
} else
|
95 |
-
if ($value ==
|
96 |
{
|
97 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/youtube.png'>";
|
98 |
} else
|
99 |
-
if ($value ==
|
100 |
{
|
101 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/linkedin.png'>";
|
102 |
}
|
103 |
else
|
104 |
-
if ($value ==
|
105 |
{
|
106 |
|
107 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/feed.png'>";
|
108 |
}
|
109 |
else
|
110 |
-
if ($value ==
|
111 |
{
|
112 |
|
113 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/instagram.png'>";
|
@@ -260,30 +254,26 @@ function acx_smw_icon_theme_order_html()
|
|
260 |
if ($value == 1)
|
261 |
{
|
262 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/facebook.png' border='0'><br> Facebook";
|
263 |
-
} else
|
264 |
-
if ($value == 2)
|
265 |
-
{
|
266 |
-
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/googleplus.png' border='0'><br> Google Plus";
|
267 |
} else
|
268 |
|
269 |
-
if ($value ==
|
270 |
{
|
271 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/pinterest.png' border='0'><br> Pinterest";
|
272 |
} else
|
273 |
-
if ($value ==
|
274 |
{
|
275 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/youtube.png' border='0'><br> Youtube";
|
276 |
} else
|
277 |
-
if ($value ==
|
278 |
{
|
279 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/linkedin.png' border='0'><br> Linkedin";
|
280 |
} else
|
281 |
-
if ($value ==
|
282 |
{
|
283 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/feed.png' border='0'><br> Rss Feed";
|
284 |
}
|
285 |
else
|
286 |
-
if ($value ==
|
287 |
{
|
288 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/instagram.png' border='0'><br> Instagram";
|
289 |
}
|
@@ -371,27 +361,6 @@ function acx_smw_facebook_post_else()
|
|
371 |
}
|
372 |
add_action('acx_smw_hook_option_postelse','acx_smw_facebook_post_else');
|
373 |
|
374 |
-
function acx_smw_social_media_gplus_icon_field()
|
375 |
-
{ global $acx_widget_si_gplus;
|
376 |
-
echo "<span class='label'> ". __('Google Plus URL:','acurax-social-media-widget')."</span>";
|
377 |
-
echo "<input type='text' name='acx_widget_si_gplus' value='".esc_url($acx_widget_si_gplus)."' placeholder='".__('Enter Your Complete Google Plus Url Starting With http://','acurax-social-media-widget')."'>";
|
378 |
-
echo "<span class='acx_smw_q_sep'></span>";
|
379 |
-
}
|
380 |
-
add_action('acx_smw_icons_option_field','acx_smw_social_media_gplus_icon_field',300);
|
381 |
-
|
382 |
-
function acx_smw_gplus_post_if()
|
383 |
-
{
|
384 |
-
global $acx_widget_si_gplus;
|
385 |
-
$acx_widget_si_gplus = esc_url_raw(acx_smw_post_isset_check('acx_widget_si_gplus'));
|
386 |
-
update_option('acx_widget_si_gplus', $acx_widget_si_gplus);
|
387 |
-
} add_action('acx_smw_hook_option_onpost','acx_smw_gplus_post_if');
|
388 |
-
|
389 |
-
function acx_smw_gplus_post_else()
|
390 |
-
{
|
391 |
-
global $acx_widget_si_gplus;
|
392 |
-
$acx_widget_si_gplus = get_option('acx_widget_si_gplus');
|
393 |
-
}
|
394 |
-
add_action('acx_smw_hook_option_postelse','acx_smw_gplus_post_else');
|
395 |
|
396 |
function acx_smw_social_media_pinterest_icon_field()
|
397 |
{ global $acx_widget_si_pinterest;
|
@@ -845,7 +814,24 @@ if ($acx_si_asmw_hide_expert_support_menu == "") { $acx_si_asmw_hide_expert_supp
|
|
845 |
/*
|
846 |
Expert Support Menu Settings Settings HTML - Get - Set Default Logic Ends Here
|
847 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
848 |
|
|
|
849 |
/*
|
850 |
Define Misc Submit Button Starts Here
|
851 |
*/
|
@@ -856,7 +842,7 @@ function acx_smw_misc_submit_button_html()
|
|
856 |
<?php
|
857 |
echo "<span class='acx_smw_q_sep'></span>";
|
858 |
}
|
859 |
-
add_action('acx_smw_misc_hook_option_fields','acx_smw_misc_submit_button_html',
|
860 |
/*
|
861 |
Define Misc Submit Button Ends Here
|
862 |
*/
|
31 |
".$acx_widget_si_icon_size."px'>
|
32 |
<img src='".ACX_SMW_BASE_LOCATION."images/themes/".$acx_widget_si_theme."/facebook.png' style='height:
|
33 |
".$acx_widget_si_icon_size."px'>
|
|
|
|
|
34 |
<img src='".ACX_SMW_BASE_LOCATION."images/themes/".$acx_widget_si_theme."/pinterest.png' style='height:
|
35 |
".$acx_widget_si_icon_size."px'>
|
36 |
<img src='".ACX_SMW_BASE_LOCATION."images/themes/".$acx_widget_si_theme."/youtube.png' style='height:
|
80 |
if ($value == 1)
|
81 |
{
|
82 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/facebook.png'>";
|
83 |
+
}else
|
|
|
|
|
|
|
|
|
84 |
|
85 |
+
if ($value == 2)
|
86 |
{
|
87 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/pinterest.png'>";
|
88 |
} else
|
89 |
+
if ($value == 3)
|
90 |
{
|
91 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/youtube.png'>";
|
92 |
} else
|
93 |
+
if ($value == 4)
|
94 |
{
|
95 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/linkedin.png'>";
|
96 |
}
|
97 |
else
|
98 |
+
if ($value == 5)
|
99 |
{
|
100 |
|
101 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/feed.png'>";
|
102 |
}
|
103 |
else
|
104 |
+
if ($value == 6)
|
105 |
{
|
106 |
|
107 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $i ."/instagram.png'>";
|
254 |
if ($value == 1)
|
255 |
{
|
256 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/facebook.png' border='0'><br> Facebook";
|
|
|
|
|
|
|
|
|
257 |
} else
|
258 |
|
259 |
+
if ($value == 2)
|
260 |
{
|
261 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/pinterest.png' border='0'><br> Pinterest";
|
262 |
} else
|
263 |
+
if ($value == 3)
|
264 |
{
|
265 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/youtube.png' border='0'><br> Youtube";
|
266 |
} else
|
267 |
+
if ($value == 4)
|
268 |
{
|
269 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/linkedin.png' border='0'><br> Linkedin";
|
270 |
} else
|
271 |
+
if ($value == 5)
|
272 |
{
|
273 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/feed.png' border='0'><br> Rss Feed";
|
274 |
}
|
275 |
else
|
276 |
+
if ($value == 6)
|
277 |
{
|
278 |
echo "<img src='".ACX_SMW_BASE_LOCATION."images/themes/". $acx_widget_si_theme ."/instagram.png' border='0'><br> Instagram";
|
279 |
}
|
361 |
}
|
362 |
add_action('acx_smw_hook_option_postelse','acx_smw_facebook_post_else');
|
363 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
364 |
|
365 |
function acx_smw_social_media_pinterest_icon_field()
|
366 |
{ global $acx_widget_si_pinterest;
|
814 |
/*
|
815 |
Expert Support Menu Settings Settings HTML - Get - Set Default Logic Ends Here
|
816 |
*/
|
817 |
+
/* Acurax ASMW GDPR Settings HTML - Get - Set Default Logic Starts Here */
|
818 |
+
function acx_smw_misc_gdpr_html()
|
819 |
+
{
|
820 |
+
$acx_smw_string = __('GDPR Settings','acurax-social-media-widget');
|
821 |
+
print_acx_smw_option_block_start($acx_smw_string);
|
822 |
+
do_action('acx_smw_misc_gdpr_settings');
|
823 |
+
echo "<span class='acx_smw_q_sep'></span>";
|
824 |
+
print_acx_smw_option_block_end();
|
825 |
+
} add_action('acx_smw_misc_hook_option_fields','acx_smw_misc_gdpr_html',300);
|
826 |
+
function acx_smw_gdpr_info_option()
|
827 |
+
{
|
828 |
+
$acx_smw_gdpr_consent = 'As per GDPR, a regulation in European Union Law on Data Protection and Privacy, <b>Acurax Social media Widget</b> does not collect any personal information from users.';
|
829 |
+
echo "<span class='label' style='width:100%;'>". __($acx_smw_gdpr_consent,'acurax-social-media-widget')."</span>";
|
830 |
+
echo "<span class='acx_smw_q_sep'></span>";
|
831 |
+
}
|
832 |
+
add_action('acx_smw_misc_gdpr_settings','acx_smw_gdpr_info_option',100);
|
833 |
|
834 |
+
/* Acurax ASMW GDPR Settings HTML - Get - Set Default Logic Starts Here */
|
835 |
/*
|
836 |
Define Misc Submit Button Starts Here
|
837 |
*/
|
842 |
<?php
|
843 |
echo "<span class='acx_smw_q_sep'></span>";
|
844 |
}
|
845 |
+
add_action('acx_smw_misc_hook_option_fields','acx_smw_misc_submit_button_html',900);
|
846 |
/*
|
847 |
Define Misc Submit Button Ends Here
|
848 |
*/
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Social Media Widget by Acurax ===
|
2 |
Contributors: Acurax, socialmediadesk
|
3 |
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:
|
8 |
Stable tag: trunk
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -12,7 +12,7 @@ Social Media Widget Plugin, A Simple Social Icon Widget To Show Essential Social
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
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
|
16 |
|
17 |
= Display Social Media Icons Using Widgets, on your sidebar =
|
18 |
|
@@ -112,6 +112,11 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
|
|
112 |
|
113 |
== Upgrade Notice ==
|
114 |
|
|
|
|
|
|
|
|
|
|
|
115 |
= 3.2.7 =
|
116 |
* Fix - Security Improvements
|
117 |
* Fix - Perfomance Improvements
|
1 |
=== Social Media Widget by Acurax ===
|
2 |
Contributors: Acurax, socialmediadesk
|
3 |
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 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
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...
|
16 |
|
17 |
= Display Social Media Icons Using Widgets, on your sidebar =
|
18 |
|
112 |
|
113 |
== Upgrade Notice ==
|
114 |
|
115 |
+
= 3.2.8 =
|
116 |
+
* Fix - Code Optimization
|
117 |
+
* Fix - Removed Google Plus Icon
|
118 |
+
* Fix - Compatibility Fix
|
119 |
+
|
120 |
= 3.2.7 =
|
121 |
* Fix - Security Improvements
|
122 |
* Fix - Perfomance Improvements
|