Version Description
- Oct 21, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
- Optimized Code
- More Stability
Download this release
Release Info
Developer | Acurax |
Plugin | Social Media Widget by Acurax |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3 to 1.3.1
- acurax-social-icon.php +2 -14
- function.php +5 -61
- readme.txt +11 -1
- smw-misc.php +0 -19
- social-help.php +0 -4
- social-icon.php +2 -58
acurax-social-icon.php
CHANGED
@@ -4,25 +4,20 @@ Plugin Name: Acurax Social Media Widget
|
|
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: 1.3
|
8 |
Author URI: http://www.acurax.com
|
9 |
License: GPLv2 or later
|
10 |
*/
|
11 |
-
|
12 |
/*
|
13 |
-
|
14 |
Copyright 2008-current Acurax International ( website : www.acurax.com )
|
15 |
-
|
16 |
This program is free software; you can redistribute it and/or
|
17 |
modify it under the terms of the GNU General Public License
|
18 |
as published by the Free Software Foundation; either version 2
|
19 |
of the License, or (at your option) any later version.
|
20 |
-
|
21 |
This program is distributed in the hope that it will be useful,
|
22 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
23 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
24 |
GNU General Public License for more details.
|
25 |
-
|
26 |
You should have received a copy of the GNU General Public License
|
27 |
along with this program; if not, write to the Free Software
|
28 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
@@ -36,8 +31,6 @@ function enqueue_acx_social_widget_icon_script()
|
|
36 |
wp_enqueue_script ( 'jquery' );
|
37 |
} add_action( 'get_header', 'enqueue_acx_social_widget_icon_script' );
|
38 |
//*************** Include JS in Header Ends Here ********
|
39 |
-
|
40 |
-
|
41 |
//*********** Include Additional Menu ********************
|
42 |
function Acurax_Widget_Links($links, $file) {
|
43 |
$plugin = plugin_basename(__FILE__);
|
@@ -56,9 +49,7 @@ function Acurax_Widget_Links($links, $file) {
|
|
56 |
return $links;
|
57 |
} add_filter('plugin_row_meta', 'Acurax_Widget_Links', 10, 2 );
|
58 |
//*********************************************************
|
59 |
-
|
60 |
include('function.php');
|
61 |
-
|
62 |
//*************** Admin function ***************
|
63 |
function acx_social_widget_icon_admin()
|
64 |
{
|
@@ -68,17 +59,14 @@ function acx_social_widget_icon_help()
|
|
68 |
{
|
69 |
include('social-help.php');
|
70 |
}
|
71 |
-
|
72 |
function acx_social_widget_icon_premium()
|
73 |
{
|
74 |
include('premium.php');
|
75 |
}
|
76 |
-
|
77 |
function acx_social_widget_icon_misc()
|
78 |
{
|
79 |
include('smw-misc.php');
|
80 |
}
|
81 |
-
|
82 |
function acx_social_widget_icon_admin_actions()
|
83 |
{
|
84 |
add_menu_page( 'Acx Social Media Widget Configuration', 'Acx Social Media Widget Settings', 8, 'Acurax-Social-Widget-Settings','acx_social_widget_icon_admin',plugin_dir_url( __FILE__ ).'/images/acurax_international.png' ); // 8 for admin
|
@@ -120,7 +108,7 @@ function acurax_social_widget_icon_update( $plugin_data, $r )
|
|
120 |
if ( preg_match ( $regexp, $data, $matches) )
|
121 |
{
|
122 |
$changelog = (array) preg_split ( '~[\r\n]+~', trim ( $matches[1] ) );
|
123 |
-
$ret = '<div style="color: #c00;font-size: small; margin-top:8px;margin-bottom:8px">
|
124 |
$ret .= '<div style="font-weight: normal;">';
|
125 |
$ret .= '<p style="margin: 5px 0; font-weight:bold; font-size:small">= Latest Version =</p>';
|
126 |
$ul = false;
|
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: 1.3.1
|
8 |
Author URI: http://www.acurax.com
|
9 |
License: GPLv2 or later
|
10 |
*/
|
|
|
11 |
/*
|
|
|
12 |
Copyright 2008-current Acurax International ( website : www.acurax.com )
|
|
|
13 |
This program is free software; you can redistribute it and/or
|
14 |
modify it under the terms of the GNU General Public License
|
15 |
as published by the Free Software Foundation; either version 2
|
16 |
of the License, or (at your option) any later version.
|
|
|
17 |
This program is distributed in the hope that it will be useful,
|
18 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
20 |
GNU General Public License for more details.
|
|
|
21 |
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.
|
31 |
wp_enqueue_script ( 'jquery' );
|
32 |
} add_action( 'get_header', 'enqueue_acx_social_widget_icon_script' );
|
33 |
//*************** Include JS in Header Ends Here ********
|
|
|
|
|
34 |
//*********** Include Additional Menu ********************
|
35 |
function Acurax_Widget_Links($links, $file) {
|
36 |
$plugin = plugin_basename(__FILE__);
|
49 |
return $links;
|
50 |
} add_filter('plugin_row_meta', 'Acurax_Widget_Links', 10, 2 );
|
51 |
//*********************************************************
|
|
|
52 |
include('function.php');
|
|
|
53 |
//*************** Admin function ***************
|
54 |
function acx_social_widget_icon_admin()
|
55 |
{
|
59 |
{
|
60 |
include('social-help.php');
|
61 |
}
|
|
|
62 |
function acx_social_widget_icon_premium()
|
63 |
{
|
64 |
include('premium.php');
|
65 |
}
|
|
|
66 |
function acx_social_widget_icon_misc()
|
67 |
{
|
68 |
include('smw-misc.php');
|
69 |
}
|
|
|
70 |
function acx_social_widget_icon_admin_actions()
|
71 |
{
|
72 |
add_menu_page( 'Acx Social Media Widget Configuration', 'Acx Social Media Widget Settings', 8, 'Acurax-Social-Widget-Settings','acx_social_widget_icon_admin',plugin_dir_url( __FILE__ ).'/images/acurax_international.png' ); // 8 for admin
|
108 |
if ( preg_match ( $regexp, $data, $matches) )
|
109 |
{
|
110 |
$changelog = (array) preg_split ( '~[\r\n]+~', trim ( $matches[1] ) );
|
111 |
+
$ret = '<div style="color: #c00;font-size: small; margin-top:8px;margin-bottom:8px">Acurax Social Media Widget Plugin has been updated. Here is a change list, so you can see what\'s been changed or fixed:</div>';
|
112 |
$ret .= '<div style="font-weight: normal;">';
|
113 |
$ret .= '<p style="margin: 5px 0; font-weight:bold; font-size:small">= Latest Version =</p>';
|
114 |
$ul = false;
|
function.php
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
<?php
|
2 |
error_reporting(0);
|
3 |
//*************** Include style.css in Header ********
|
4 |
-
|
5 |
// Getting Option From DB *****************************
|
6 |
$acx_widget_si_theme = get_option('acx_widget_si_theme');
|
7 |
$acx_widget_si_credit = get_option('acx_widget_si_credit');
|
@@ -16,17 +15,11 @@ $acx_widget_si_icon_size = get_option('acx_widget_si_icon_size');
|
|
16 |
$acx_si_smw_menu_highlight = get_option('acx_si_smw_menu_highlight');
|
17 |
$acx_si_smw_float_fix = get_option('acx_si_smw_float_fix');
|
18 |
// *****************************************************
|
19 |
-
function enqueue_acx_widget_si_style()
|
20 |
-
{
|
21 |
-
wp_enqueue_style ( 'acx-widget-si-style', plugins_url('style.css', __FILE__) );
|
22 |
-
} add_action( 'wp_print_styles', 'enqueue_acx_widget_si_style' );
|
23 |
-
|
24 |
// Check Credit Link
|
25 |
function check_widget_acx_credit($yes,$no)
|
26 |
{ $acx_widget_si_credit = get_option('acx_widget_si_credit');
|
27 |
if($acx_widget_si_credit != "no") { echo $yes; } else { echo $no; }
|
28 |
}
|
29 |
-
|
30 |
// Options Value Checker
|
31 |
function acx_widget_option_value_check($option_name,$yes,$no)
|
32 |
{ $acx_widget_si_option_set = get_option($option_name);
|
@@ -34,7 +27,6 @@ function acx_widget_option_value_check($option_name,$yes,$no)
|
|
34 |
}
|
35 |
function acurax_si_widget_simple($theme = "")
|
36 |
{
|
37 |
-
|
38 |
// Getting Globals *****************************
|
39 |
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,
|
40 |
$acx_widget_si_linkedin, $acx_widget_si_pinterest, $acx_widget_si_feed, $acx_widget_si_icon_size;
|
@@ -81,21 +73,15 @@ function acurax_si_widget_simple($theme = "")
|
|
81 |
foreach ($social_widget_icon_array_order as $key => $value)
|
82 |
{
|
83 |
if ($value == 0) { echo $twitter_link; }
|
84 |
-
|
85 |
else if ($value == 1) { echo $facebook_link; }
|
86 |
-
|
87 |
else if ($value == 2) { echo $gplus_link; }
|
88 |
-
|
89 |
else if ($value == 3) { echo $pinterest_link; }
|
90 |
-
|
91 |
else if ($value == 4) { echo $youtube_link; }
|
92 |
-
|
93 |
else if ($value == 5) { echo $linkedin_link; }
|
94 |
|
95 |
else if ($value == 6) { echo $feed_link; }
|
96 |
}
|
97 |
} //acurax_si_widget_simple()
|
98 |
-
|
99 |
function acx_widget_theme_check_wp_head() {
|
100 |
$template_directory = get_template_directory();
|
101 |
// If header.php exists in the current theme, scan for "wp_head"
|
@@ -116,8 +102,6 @@ function acx_widget_theme_check_wp_head() {
|
|
116 |
}
|
117 |
} // theme check
|
118 |
add_action('admin_notices', 'acx_widget_theme_check_wp_head');
|
119 |
-
|
120 |
-
|
121 |
function acurax_widget_icons()
|
122 |
{
|
123 |
global $acx_widget_si_theme, $acx_widget_si_credit, $acx_widget_si_twitter, $acx_widget_si_facebook, $acx_widget_si_youtube,
|
@@ -136,7 +120,6 @@ function acurax_widget_icons()
|
|
136 |
} // Chking null fields
|
137 |
|
138 |
} // Ending acurax_widget_icons();
|
139 |
-
|
140 |
function extra_style_acx_widget_icon()
|
141 |
{
|
142 |
global $acx_widget_si_icon_size;
|
@@ -147,7 +130,6 @@ function extra_style_acx_widget_icon()
|
|
147 |
echo "#acx_social_widget \n{\n";
|
148 |
echo "min-width:0px; \n";
|
149 |
echo "position: static; \n}\n";
|
150 |
-
|
151 |
if ($acx_si_smw_float_fix == "yes")
|
152 |
{
|
153 |
echo ".acx_smw_float_fix a \n{\n";
|
@@ -157,7 +139,6 @@ function extra_style_acx_widget_icon()
|
|
157 |
echo "</style>\n<!-- Ending Styles For Social Media Icon From Acurax International www.acurax.com -->\n\n\n\n";
|
158 |
} add_action('admin_head', 'extra_style_acx_widget_icon'); // ADMIN
|
159 |
add_action('wp_head', 'extra_style_acx_widget_icon'); // PUBLIC
|
160 |
-
|
161 |
function acx_widget_si_admin_style() // Adding Style For Admin
|
162 |
{
|
163 |
global $acx_si_smw_menu_highlight;
|
@@ -166,8 +147,6 @@ global $acx_si_smw_menu_highlight;
|
|
166 |
echo '<link rel="stylesheet" type="text/css" href="' .plugins_url('dynamic_admin_style.css', __FILE__). '">';
|
167 |
}
|
168 |
} add_action('admin_head', 'acx_widget_si_admin_style'); // ADMIN
|
169 |
-
|
170 |
-
|
171 |
$acx_widget_si_sc_id = 0; // Defined to assign shortcode unique id
|
172 |
function DISPLAY_WIDGET_acurax_widget_icons_SC($atts)
|
173 |
{
|
@@ -196,19 +175,13 @@ function DISPLAY_WIDGET_acurax_widget_icons_SC($atts)
|
|
196 |
ob_end_clean();
|
197 |
return $content;
|
198 |
} // DISPLAY_WIDGET_acurax_widget_icons_SC
|
199 |
-
|
200 |
|
201 |
-
|
202 |
-
|
203 |
function acx_widget_si_custom_admin_js()
|
204 |
{
|
205 |
wp_enqueue_script('jquery');
|
206 |
wp_enqueue_script('jquery-ui-core');
|
207 |
wp_enqueue_script('jquery-ui-sortable');
|
208 |
} add_action( 'admin_enqueue_scripts', 'acx_widget_si_custom_admin_js' );
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
// wp-admin Notices >> Finish Upgrade
|
213 |
function acx_widget_si_pluign_upgrade_not_finished()
|
214 |
{
|
@@ -224,8 +197,10 @@ if ($social_widget_icon_array_count < $total_arrays)
|
|
224 |
{
|
225 |
add_action('admin_notices', 'acx_widget_si_pluign_upgrade_not_finished',1);
|
226 |
}
|
227 |
-
|
228 |
-
|
|
|
|
|
229 |
function acx_widget_si_pluign_finish_version_update()
|
230 |
{
|
231 |
echo '<div id="message" class="updated">
|
@@ -233,15 +208,13 @@ function acx_widget_si_pluign_finish_version_update()
|
|
233 |
</div>';
|
234 |
}
|
235 |
$acx_widget_si_current_version = get_option('acx_widget_si_current_version');
|
236 |
-
if($acx_widget_si_current_version != '1.3') // Current Version
|
237 |
{
|
238 |
if (get_option('social_widget_icon_array_order') != "")
|
239 |
{
|
240 |
add_action('admin_notices', 'acx_widget_si_pluign_finish_version_update',1);
|
241 |
}
|
242 |
}
|
243 |
-
|
244 |
-
|
245 |
// wp-admin Notices >> Plugin not configured
|
246 |
function acx_widget_si_pluign_not_configured()
|
247 |
{
|
@@ -258,7 +231,6 @@ if ($acx_widget_si_twitter == "" && $acx_widget_si_facebook == "" && $acx_widget
|
|
258 |
add_action('admin_notices', 'acx_widget_si_pluign_not_configured',1);
|
259 |
} // Chking If Plugin Not Configured
|
260 |
} // Chking $social_widget_icon_array_count == $total_arrays
|
261 |
-
|
262 |
// wp-admin Notices >> Plugin not configured
|
263 |
function acx_widget_si_pluign_promotion()
|
264 |
{
|
@@ -281,8 +253,6 @@ if (get_option('acx_widget_si_td') != "hide")
|
|
281 |
add_action('admin_notices', 'acx_widget_si_pluign_promotion',1);
|
282 |
}
|
283 |
}
|
284 |
-
|
285 |
-
|
286 |
// Starting Widget Code
|
287 |
class acx_social_widget_icons_Widget extends WP_Widget
|
288 |
{
|
@@ -297,21 +267,17 @@ class acx_social_widget_icons_Widget extends WP_Widget
|
|
297 |
// Actually create the widget (widget id, widget name, options...)
|
298 |
$this->WP_Widget( 'acx-social-icons-widget', 'Acurax Social Media Widget', $widget_options, $control_options );
|
299 |
}
|
300 |
-
|
301 |
// Output the content of the widget
|
302 |
function widget($args, $instance)
|
303 |
{
|
304 |
extract( $args ); // Don't worry about this
|
305 |
-
|
306 |
// Get our variables
|
307 |
$title = apply_filters( 'widget_title', $instance['title'] );
|
308 |
$icon_size = $instance['icon_size'];
|
309 |
$icon_theme = $instance['icon_theme'];
|
310 |
$icon_align = $instance['icon_align'];
|
311 |
-
|
312 |
// This is defined when you register a sidebar
|
313 |
echo $before_widget;
|
314 |
-
|
315 |
// If our title isn't empty then show it
|
316 |
if ( $title )
|
317 |
{
|
@@ -328,7 +294,6 @@ class acx_social_widget_icons_Widget extends WP_Widget
|
|
328 |
// This is defined when you register a sidebar
|
329 |
echo $after_widget;
|
330 |
}
|
331 |
-
|
332 |
// Output the admin options form
|
333 |
function form($instance)
|
334 |
{
|
@@ -394,13 +359,11 @@ class acx_social_widget_icons_Widget extends WP_Widget
|
|
394 |
</p>
|
395 |
<?php
|
396 |
}
|
397 |
-
|
398 |
// Processes the admin options form when saved
|
399 |
function update($new_instance, $old_instance)
|
400 |
{
|
401 |
// Get the old values
|
402 |
$instance = $old_instance;
|
403 |
-
|
404 |
// Update with any new values (and sanitise input)
|
405 |
$instance['title'] = strip_tags( $new_instance['title'] );
|
406 |
$instance['icon_size'] = strip_tags( $new_instance['icon_size'] );
|
@@ -417,13 +380,9 @@ $ad_1 = '
|
|
417 |
<p><b>This Plugin is the basic widget version of floating social media icon wordpress plugin. This plugin only support the icon pack and the widget. Premium Version of This plugin includes all the features of floating social media icon and a lot more. Premium version is same as the premium version of floating social media icon wordpress plugin.</b></p>
|
418 |
<a name="compare"></a>
|
419 |
<div id="fsmi_landing_holder">
|
420 |
-
|
421 |
<div id="fsmi_lp_compare">
|
422 |
<div class="row_1">
|
423 |
<div class="fsmi_lp_compare_row_1_1"></div> <!-- fsmi_lp_compare_row_1_1 -->
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
<div id="fsmi_lp_f_group">
|
428 |
<div class="left" style="padding-top: 173px;padding-bottom: 172px;">
|
429 |
Display
|
@@ -442,8 +401,6 @@ Display
|
|
442 |
<div class="fsmi_lp_compare_row_1_features highlighted">Add Custom Icons</div> <!-- fsmi_lp_compare_row_1_features -->
|
443 |
</div> <!-- right -->
|
444 |
</div> <!-- fsmi_lp_f_group -->
|
445 |
-
|
446 |
-
|
447 |
<div id="fsmi_lp_f_group">
|
448 |
<div class="left" style="padding-top: 74px;padding-bottom: 74px;">
|
449 |
Icon Function
|
@@ -456,7 +413,6 @@ Icon Function
|
|
456 |
<div class="fsmi_lp_compare_row_1_features highlighted">Define Social Media Meta for Each Page/Post</div> <!-- fsmi_lp_compare_row_1_features -->
|
457 |
</div> <!-- right -->
|
458 |
</div> <!-- fsmi_lp_f_group -->
|
459 |
-
|
460 |
<div id="fsmi_lp_f_group">
|
461 |
<div class="left" style="padding-top: 23px;padding-bottom: 25px;">
|
462 |
Animation
|
@@ -466,7 +422,6 @@ Animation
|
|
466 |
<div class="fsmi_lp_compare_row_1_features highlighted">Mouse Over Effects</div> <!-- fsmi_lp_compare_row_1_features -->
|
467 |
</div> <!-- right -->
|
468 |
</div> <!-- fsmi_lp_f_group -->
|
469 |
-
|
470 |
<div id="fsmi_lp_f_group">
|
471 |
<div class="left" style="padding-top: 65px;padding-bottom: 65px;">
|
472 |
Fly Animation Repeat Interval
|
@@ -479,9 +434,6 @@ Fly Animation Repeat Interval
|
|
479 |
<div class="fsmi_lp_compare_row_1_features">Based On Page Views and Time</div> <!-- fsmi_lp_compare_row_1_features -->
|
480 |
</div> <!-- right -->
|
481 |
</div> <!-- fsmi_lp_f_group -->
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
<div id="fsmi_lp_f_group">
|
486 |
<div class="left highlighted" style="padding-top: 24px;padding-bottom: 24px;">
|
487 |
Multiple Fly Animation
|
@@ -491,7 +443,6 @@ Multiple Fly Animation
|
|
491 |
<div class="fsmi_lp_compare_row_1_features">Can Choose Fly End Position</div> <!-- fsmi_lp_compare_row_1_features -->
|
492 |
</div> <!-- right -->
|
493 |
</div> <!-- fsmi_lp_f_group -->
|
494 |
-
|
495 |
<div id="fsmi_lp_f_group">
|
496 |
<div class="left" style="padding-top: 40px;padding-bottom: 41px;">
|
497 |
Easy to Configure
|
@@ -502,7 +453,6 @@ Easy to Configure
|
|
502 |
<div class="fsmi_lp_compare_row_1_features">Easy to Configure</div> <!-- fsmi_lp_compare_row_1_features -->
|
503 |
</div> <!-- right -->
|
504 |
</div> <!-- fsmi_lp_f_group -->
|
505 |
-
|
506 |
<div id="fsmi_lp_f_group">
|
507 |
<div class="left" style="padding-top: 90px;padding-bottom: 90px;">
|
508 |
Widget Support
|
@@ -516,7 +466,6 @@ Widget Support
|
|
516 |
<div class="fsmi_lp_compare_row_1_features">Seperate Default Opacity for Each</div> <!-- fsmi_lp_compare_row_1_features -->
|
517 |
</div> <!-- right -->
|
518 |
</div> <!-- fsmi_lp_f_group -->
|
519 |
-
|
520 |
<div id="fsmi_lp_f_group">
|
521 |
<div class="left" style="padding-top: 90px;padding-bottom: 90px;">
|
522 |
Shortcode Support
|
@@ -530,9 +479,6 @@ Shortcode Support
|
|
530 |
<div class="fsmi_lp_compare_row_1_features">Seperate Default Opacity for Each</div> <!-- fsmi_lp_compare_row_1_features -->
|
531 |
</div> <!-- right -->
|
532 |
</div> <!-- fsmi_lp_f_group -->
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
<div id="fsmi_lp_f_group">
|
537 |
<div class="left" style="padding-top: 106px;padding-bottom: 107px;border-bottom:0px;">
|
538 |
PHP Code Support
|
@@ -658,8 +604,6 @@ PHP Code Support
|
|
658 |
<div id="fsmi_lp_shadow"></div> <!-- fsmi_lp_shadow -->
|
659 |
<!-- div style="font-family: arial; font-size: 11px; color: darkgreen; float: left; margin-left: 39px; margin-bottom: 5px;">* Special Offer Price on Premium Version for Free Plugin Users Valid Only Until Next Free Version Upgrade - Click Order Now to Get Premium Version for $19.50</div -->
|
660 |
</div> <!-- fsmi_landing_holder -->
|
661 |
-
|
662 |
-
|
663 |
<div id="ad_fsmi_2_button_order" style="float:left;margin-left: 445px;">
|
664 |
<a href="http://clients.acurax.com/floating-socialmedia.php?utm_source=plugin_smw_settings&utm_medium=banner&utm_campaign=plugin_yellow_order" target="_blank"><div id="ad_fsmi_2_button_order_link"></div></a></div> <!-- ad_fsmi_2_button_order -->
|
665 |
';
|
1 |
<?php
|
2 |
error_reporting(0);
|
3 |
//*************** Include style.css in Header ********
|
|
|
4 |
// Getting Option From DB *****************************
|
5 |
$acx_widget_si_theme = get_option('acx_widget_si_theme');
|
6 |
$acx_widget_si_credit = get_option('acx_widget_si_credit');
|
15 |
$acx_si_smw_menu_highlight = get_option('acx_si_smw_menu_highlight');
|
16 |
$acx_si_smw_float_fix = get_option('acx_si_smw_float_fix');
|
17 |
// *****************************************************
|
|
|
|
|
|
|
|
|
|
|
18 |
// Check Credit Link
|
19 |
function check_widget_acx_credit($yes,$no)
|
20 |
{ $acx_widget_si_credit = get_option('acx_widget_si_credit');
|
21 |
if($acx_widget_si_credit != "no") { echo $yes; } else { echo $no; }
|
22 |
}
|
|
|
23 |
// Options Value Checker
|
24 |
function acx_widget_option_value_check($option_name,$yes,$no)
|
25 |
{ $acx_widget_si_option_set = get_option($option_name);
|
27 |
}
|
28 |
function acurax_si_widget_simple($theme = "")
|
29 |
{
|
|
|
30 |
// Getting Globals *****************************
|
31 |
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,
|
32 |
$acx_widget_si_linkedin, $acx_widget_si_pinterest, $acx_widget_si_feed, $acx_widget_si_icon_size;
|
73 |
foreach ($social_widget_icon_array_order as $key => $value)
|
74 |
{
|
75 |
if ($value == 0) { echo $twitter_link; }
|
|
|
76 |
else if ($value == 1) { echo $facebook_link; }
|
|
|
77 |
else if ($value == 2) { echo $gplus_link; }
|
|
|
78 |
else if ($value == 3) { echo $pinterest_link; }
|
|
|
79 |
else if ($value == 4) { echo $youtube_link; }
|
|
|
80 |
else if ($value == 5) { echo $linkedin_link; }
|
81 |
|
82 |
else if ($value == 6) { echo $feed_link; }
|
83 |
}
|
84 |
} //acurax_si_widget_simple()
|
|
|
85 |
function acx_widget_theme_check_wp_head() {
|
86 |
$template_directory = get_template_directory();
|
87 |
// If header.php exists in the current theme, scan for "wp_head"
|
102 |
}
|
103 |
} // theme check
|
104 |
add_action('admin_notices', 'acx_widget_theme_check_wp_head');
|
|
|
|
|
105 |
function acurax_widget_icons()
|
106 |
{
|
107 |
global $acx_widget_si_theme, $acx_widget_si_credit, $acx_widget_si_twitter, $acx_widget_si_facebook, $acx_widget_si_youtube,
|
120 |
} // Chking null fields
|
121 |
|
122 |
} // Ending acurax_widget_icons();
|
|
|
123 |
function extra_style_acx_widget_icon()
|
124 |
{
|
125 |
global $acx_widget_si_icon_size;
|
130 |
echo "#acx_social_widget \n{\n";
|
131 |
echo "min-width:0px; \n";
|
132 |
echo "position: static; \n}\n";
|
|
|
133 |
if ($acx_si_smw_float_fix == "yes")
|
134 |
{
|
135 |
echo ".acx_smw_float_fix a \n{\n";
|
139 |
echo "</style>\n<!-- Ending Styles For Social Media Icon From Acurax International www.acurax.com -->\n\n\n\n";
|
140 |
} add_action('admin_head', 'extra_style_acx_widget_icon'); // ADMIN
|
141 |
add_action('wp_head', 'extra_style_acx_widget_icon'); // PUBLIC
|
|
|
142 |
function acx_widget_si_admin_style() // Adding Style For Admin
|
143 |
{
|
144 |
global $acx_si_smw_menu_highlight;
|
147 |
echo '<link rel="stylesheet" type="text/css" href="' .plugins_url('dynamic_admin_style.css', __FILE__). '">';
|
148 |
}
|
149 |
} add_action('admin_head', 'acx_widget_si_admin_style'); // ADMIN
|
|
|
|
|
150 |
$acx_widget_si_sc_id = 0; // Defined to assign shortcode unique id
|
151 |
function DISPLAY_WIDGET_acurax_widget_icons_SC($atts)
|
152 |
{
|
175 |
ob_end_clean();
|
176 |
return $content;
|
177 |
} // DISPLAY_WIDGET_acurax_widget_icons_SC
|
|
|
178 |
|
|
|
|
|
179 |
function acx_widget_si_custom_admin_js()
|
180 |
{
|
181 |
wp_enqueue_script('jquery');
|
182 |
wp_enqueue_script('jquery-ui-core');
|
183 |
wp_enqueue_script('jquery-ui-sortable');
|
184 |
} add_action( 'admin_enqueue_scripts', 'acx_widget_si_custom_admin_js' );
|
|
|
|
|
|
|
185 |
// wp-admin Notices >> Finish Upgrade
|
186 |
function acx_widget_si_pluign_upgrade_not_finished()
|
187 |
{
|
197 |
{
|
198 |
add_action('admin_notices', 'acx_widget_si_pluign_upgrade_not_finished',1);
|
199 |
}
|
200 |
+
function enqueue_acx_widget_si_style()
|
201 |
+
{
|
202 |
+
wp_enqueue_style ( 'acx-widget-si-style', plugins_url('style.css', __FILE__) );
|
203 |
+
} add_action( 'wp_print_styles', 'enqueue_acx_widget_si_style' );
|
204 |
function acx_widget_si_pluign_finish_version_update()
|
205 |
{
|
206 |
echo '<div id="message" class="updated">
|
208 |
</div>';
|
209 |
}
|
210 |
$acx_widget_si_current_version = get_option('acx_widget_si_current_version');
|
211 |
+
if($acx_widget_si_current_version != '1.3.1') // Current Version
|
212 |
{
|
213 |
if (get_option('social_widget_icon_array_order') != "")
|
214 |
{
|
215 |
add_action('admin_notices', 'acx_widget_si_pluign_finish_version_update',1);
|
216 |
}
|
217 |
}
|
|
|
|
|
218 |
// wp-admin Notices >> Plugin not configured
|
219 |
function acx_widget_si_pluign_not_configured()
|
220 |
{
|
231 |
add_action('admin_notices', 'acx_widget_si_pluign_not_configured',1);
|
232 |
} // Chking If Plugin Not Configured
|
233 |
} // Chking $social_widget_icon_array_count == $total_arrays
|
|
|
234 |
// wp-admin Notices >> Plugin not configured
|
235 |
function acx_widget_si_pluign_promotion()
|
236 |
{
|
253 |
add_action('admin_notices', 'acx_widget_si_pluign_promotion',1);
|
254 |
}
|
255 |
}
|
|
|
|
|
256 |
// Starting Widget Code
|
257 |
class acx_social_widget_icons_Widget extends WP_Widget
|
258 |
{
|
267 |
// Actually create the widget (widget id, widget name, options...)
|
268 |
$this->WP_Widget( 'acx-social-icons-widget', 'Acurax Social Media Widget', $widget_options, $control_options );
|
269 |
}
|
|
|
270 |
// Output the content of the widget
|
271 |
function widget($args, $instance)
|
272 |
{
|
273 |
extract( $args ); // Don't worry about this
|
|
|
274 |
// Get our variables
|
275 |
$title = apply_filters( 'widget_title', $instance['title'] );
|
276 |
$icon_size = $instance['icon_size'];
|
277 |
$icon_theme = $instance['icon_theme'];
|
278 |
$icon_align = $instance['icon_align'];
|
|
|
279 |
// This is defined when you register a sidebar
|
280 |
echo $before_widget;
|
|
|
281 |
// If our title isn't empty then show it
|
282 |
if ( $title )
|
283 |
{
|
294 |
// This is defined when you register a sidebar
|
295 |
echo $after_widget;
|
296 |
}
|
|
|
297 |
// Output the admin options form
|
298 |
function form($instance)
|
299 |
{
|
359 |
</p>
|
360 |
<?php
|
361 |
}
|
|
|
362 |
// Processes the admin options form when saved
|
363 |
function update($new_instance, $old_instance)
|
364 |
{
|
365 |
// Get the old values
|
366 |
$instance = $old_instance;
|
|
|
367 |
// Update with any new values (and sanitise input)
|
368 |
$instance['title'] = strip_tags( $new_instance['title'] );
|
369 |
$instance['icon_size'] = strip_tags( $new_instance['icon_size'] );
|
380 |
<p><b>This Plugin is the basic widget version of floating social media icon wordpress plugin. This plugin only support the icon pack and the widget. Premium Version of This plugin includes all the features of floating social media icon and a lot more. Premium version is same as the premium version of floating social media icon wordpress plugin.</b></p>
|
381 |
<a name="compare"></a>
|
382 |
<div id="fsmi_landing_holder">
|
|
|
383 |
<div id="fsmi_lp_compare">
|
384 |
<div class="row_1">
|
385 |
<div class="fsmi_lp_compare_row_1_1"></div> <!-- fsmi_lp_compare_row_1_1 -->
|
|
|
|
|
|
|
386 |
<div id="fsmi_lp_f_group">
|
387 |
<div class="left" style="padding-top: 173px;padding-bottom: 172px;">
|
388 |
Display
|
401 |
<div class="fsmi_lp_compare_row_1_features highlighted">Add Custom Icons</div> <!-- fsmi_lp_compare_row_1_features -->
|
402 |
</div> <!-- right -->
|
403 |
</div> <!-- fsmi_lp_f_group -->
|
|
|
|
|
404 |
<div id="fsmi_lp_f_group">
|
405 |
<div class="left" style="padding-top: 74px;padding-bottom: 74px;">
|
406 |
Icon Function
|
413 |
<div class="fsmi_lp_compare_row_1_features highlighted">Define Social Media Meta for Each Page/Post</div> <!-- fsmi_lp_compare_row_1_features -->
|
414 |
</div> <!-- right -->
|
415 |
</div> <!-- fsmi_lp_f_group -->
|
|
|
416 |
<div id="fsmi_lp_f_group">
|
417 |
<div class="left" style="padding-top: 23px;padding-bottom: 25px;">
|
418 |
Animation
|
422 |
<div class="fsmi_lp_compare_row_1_features highlighted">Mouse Over Effects</div> <!-- fsmi_lp_compare_row_1_features -->
|
423 |
</div> <!-- right -->
|
424 |
</div> <!-- fsmi_lp_f_group -->
|
|
|
425 |
<div id="fsmi_lp_f_group">
|
426 |
<div class="left" style="padding-top: 65px;padding-bottom: 65px;">
|
427 |
Fly Animation Repeat Interval
|
434 |
<div class="fsmi_lp_compare_row_1_features">Based On Page Views and Time</div> <!-- fsmi_lp_compare_row_1_features -->
|
435 |
</div> <!-- right -->
|
436 |
</div> <!-- fsmi_lp_f_group -->
|
|
|
|
|
|
|
437 |
<div id="fsmi_lp_f_group">
|
438 |
<div class="left highlighted" style="padding-top: 24px;padding-bottom: 24px;">
|
439 |
Multiple Fly Animation
|
443 |
<div class="fsmi_lp_compare_row_1_features">Can Choose Fly End Position</div> <!-- fsmi_lp_compare_row_1_features -->
|
444 |
</div> <!-- right -->
|
445 |
</div> <!-- fsmi_lp_f_group -->
|
|
|
446 |
<div id="fsmi_lp_f_group">
|
447 |
<div class="left" style="padding-top: 40px;padding-bottom: 41px;">
|
448 |
Easy to Configure
|
453 |
<div class="fsmi_lp_compare_row_1_features">Easy to Configure</div> <!-- fsmi_lp_compare_row_1_features -->
|
454 |
</div> <!-- right -->
|
455 |
</div> <!-- fsmi_lp_f_group -->
|
|
|
456 |
<div id="fsmi_lp_f_group">
|
457 |
<div class="left" style="padding-top: 90px;padding-bottom: 90px;">
|
458 |
Widget Support
|
466 |
<div class="fsmi_lp_compare_row_1_features">Seperate Default Opacity for Each</div> <!-- fsmi_lp_compare_row_1_features -->
|
467 |
</div> <!-- right -->
|
468 |
</div> <!-- fsmi_lp_f_group -->
|
|
|
469 |
<div id="fsmi_lp_f_group">
|
470 |
<div class="left" style="padding-top: 90px;padding-bottom: 90px;">
|
471 |
Shortcode Support
|
479 |
<div class="fsmi_lp_compare_row_1_features">Seperate Default Opacity for Each</div> <!-- fsmi_lp_compare_row_1_features -->
|
480 |
</div> <!-- right -->
|
481 |
</div> <!-- fsmi_lp_f_group -->
|
|
|
|
|
|
|
482 |
<div id="fsmi_lp_f_group">
|
483 |
<div class="left" style="padding-top: 106px;padding-bottom: 107px;border-bottom:0px;">
|
484 |
PHP Code Support
|
604 |
<div id="fsmi_lp_shadow"></div> <!-- fsmi_lp_shadow -->
|
605 |
<!-- div style="font-family: arial; font-size: 11px; color: darkgreen; float: left; margin-left: 39px; margin-bottom: 5px;">* Special Offer Price on Premium Version for Free Plugin Users Valid Only Until Next Free Version Upgrade - Click Order Now to Get Premium Version for $19.50</div -->
|
606 |
</div> <!-- fsmi_landing_holder -->
|
|
|
|
|
607 |
<div id="ad_fsmi_2_button_order" style="float:left;margin-left: 445px;">
|
608 |
<a href="http://clients.acurax.com/floating-socialmedia.php?utm_source=plugin_smw_settings&utm_medium=banner&utm_campaign=plugin_yellow_order" target="_blank"><div id="ad_fsmi_2_button_order_link"></div></a></div> <!-- ad_fsmi_2_button_order -->
|
609 |
';
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Acurax
|
|
3 |
|
4 |
Tags: Social Media Widget,social,social icon widget,social media icon,socialmedia,pinterest widget,fb widget,facebook button,pinterest,social icon,social profile link,twitter facebook,social media button,pinterest button,rss icon,facebook profile url,google plus,google+,google plus button
|
5 |
Requires at least: 2.8
|
6 |
-
Tested up to: 3.
|
7 |
Stable tag: trunk
|
8 |
|
9 |
Simple Wordpress Social Media Widget Plugin Where You Can Use Widget To Show Essential Social Media Icons - Can Select Social Media Icon Style , Size and alignment.
|
@@ -101,6 +101,11 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
|
|
101 |
|
102 |
== Upgrade Notice ==
|
103 |
|
|
|
|
|
|
|
|
|
|
|
104 |
= 1.3 =
|
105 |
* July 19, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
|
106 |
* Icon Order Change Ajax Optimized
|
@@ -126,6 +131,11 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
|
|
126 |
|
127 |
== Changelog ==
|
128 |
|
|
|
|
|
|
|
|
|
|
|
129 |
= 1.3 =
|
130 |
* July 19, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
|
131 |
* Icon Order Change Ajax Optimized
|
3 |
|
4 |
Tags: Social Media Widget,social,social icon widget,social media icon,socialmedia,pinterest widget,fb widget,facebook button,pinterest,social icon,social profile link,twitter facebook,social media button,pinterest button,rss icon,facebook profile url,google plus,google+,google plus button
|
5 |
Requires at least: 2.8
|
6 |
+
Tested up to: 3.8
|
7 |
Stable tag: trunk
|
8 |
|
9 |
Simple Wordpress Social Media Widget Plugin Where You Can Use Widget To Show Essential Social Media Icons - Can Select Social Media Icon Style , Size and alignment.
|
101 |
|
102 |
== Upgrade Notice ==
|
103 |
|
104 |
+
= 1.3.1 =
|
105 |
+
* Oct 21, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
|
106 |
+
* Optimized Code
|
107 |
+
* More Stability
|
108 |
+
|
109 |
= 1.3 =
|
110 |
* July 19, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
|
111 |
* Icon Order Change Ajax Optimized
|
131 |
|
132 |
== Changelog ==
|
133 |
|
134 |
+
= 1.3.1 =
|
135 |
+
* Oct 21, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
|
136 |
+
* Optimized Code
|
137 |
+
* More Stability
|
138 |
+
|
139 |
= 1.3 =
|
140 |
* July 19, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
|
141 |
* Icon Order Change Ajax Optimized
|
smw-misc.php
CHANGED
@@ -3,16 +3,12 @@ if($_POST['acurax_social_widget_icon_hidden'] == 'Y')
|
|
3 |
{ //Form data sent
|
4 |
$acx_si_smw_menu_highlight = $_POST['acx_si_smw_menu_highlight'];
|
5 |
update_option('acx_si_smw_menu_highlight', $acx_si_smw_menu_highlight);
|
6 |
-
|
7 |
$acx_si_smw_acx_service_banners = $_POST['acx_si_smw_acx_service_banners'];
|
8 |
update_option('acx_si_smw_acx_service_banners', $acx_si_smw_acx_service_banners);
|
9 |
-
|
10 |
$acx_si_smw_float_fix = $_POST['acx_si_smw_float_fix'];
|
11 |
update_option('acx_si_smw_float_fix', $acx_si_smw_float_fix);
|
12 |
-
|
13 |
$acx_si_smw_hide_advert = $_POST['acx_si_smw_hide_advert'];
|
14 |
update_option('acx_si_smw_hide_advert', $acx_si_smw_hide_advert);
|
15 |
-
|
16 |
?>
|
17 |
<div class="updated"><p><strong><?php _e('Acurax Widgets Misc Settings Saved!.' ); ?></strong></p></div>
|
18 |
<?php
|
@@ -23,14 +19,12 @@ $acx_si_smw_menu_highlight = get_option('acx_si_smw_menu_highlight');
|
|
23 |
$acx_si_smw_acx_service_banners = get_option('acx_si_smw_acx_service_banners');
|
24 |
$acx_si_smw_float_fix = get_option('acx_si_smw_float_fix');
|
25 |
$acx_si_smw_hide_advert = get_option('acx_si_smw_hide_advert');
|
26 |
-
|
27 |
// Setting Defaults
|
28 |
if ($acx_si_smw_menu_highlight == "") { $acx_si_smw_menu_highlight = "yes"; }
|
29 |
if ($acx_si_smw_acx_service_banners == "") { $acx_si_smw_acx_service_banners = "yes"; }
|
30 |
if ($acx_si_smw_float_fix == "") { $acx_si_smw_float_fix = "no"; }
|
31 |
if ($acx_si_smw_hide_advert == "") { $acx_si_smw_hide_advert = "no"; }
|
32 |
} //Main else
|
33 |
-
|
34 |
?>
|
35 |
<div class="wrap">
|
36 |
<?php
|
@@ -38,7 +32,6 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
38 |
<p class="widefat" style="padding:8px;width:99%;height: 75px;">
|
39 |
<b>Acurax Services >> </b><br>
|
40 |
<a href="http://www.acurax.com/services/wordpress-designing-experts.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wtd" style="background:url(<?php echo plugins_url('images/wtd.jpg', __FILE__);?>);"></a>
|
41 |
-
|
42 |
<a href="http://www.acurax.com/services/web-designing.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wd" style="background:url(<?php echo plugins_url('images/wd.jpg', __FILE__);?>);"></a>
|
43 |
<a href="http://www.acurax.com/social-media-marketing-optimization/social-profile-design.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="spd" style="background:url(<?php echo plugins_url('images/spd.jpg', __FILE__);?>);"></a>
|
44 |
<a href="http://www.acurax.com/services/website-redesign.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wrd" style="background:url(<?php echo plugins_url('images/wr.jpg', __FILE__);?>);"></a>
|
@@ -60,12 +53,9 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
60 |
<a style="margin: -14px 0px 0px 10px; float: left;" href="http://clients.acurax.com/floating-socialmedia.php?utm_source=plugin&utm_medium=highlight_yellow&utm_campaign=fsmi" target="_blank"><img src="<?php echo plugins_url('images/yellow.png', __FILE__);?>"></a>
|
61 |
</div> <!-- acx_fsmi_premium -->
|
62 |
<?php } ?>
|
63 |
-
|
64 |
<?php echo "<h2>" . __( 'Acurax Social Widget Misc Settings', 'acx_si_config' ) . "</h2>"; ?>
|
65 |
-
|
66 |
<form name="acurax_si_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
|
67 |
<input type="hidden" name="acurax_social_widget_icon_hidden" value="Y">
|
68 |
-
|
69 |
<p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Menu Highlight: " ); ?>
|
70 |
<select name="acx_si_smw_menu_highlight">
|
71 |
<option value="yes"<?php if ($acx_si_smw_menu_highlight == "yes") { echo 'selected="selected"'; } ?>>Yes, Highlight Plugin Menu </option>
|
@@ -73,8 +63,6 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
73 |
</select>
|
74 |
<?php _e("Show Plugin Menu In Green" ); ?>
|
75 |
</p>
|
76 |
-
|
77 |
-
|
78 |
<p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Acurax Service Banners: " ); ?>
|
79 |
<select name="acx_si_smw_acx_service_banners">
|
80 |
<option value="yes"<?php if ($acx_si_smw_acx_service_banners == "yes") { echo 'selected="selected"'; } ?>>Yes, Show Them </option>
|
@@ -82,7 +70,6 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
82 |
</select>
|
83 |
<?php _e("Show Acurax Service Banners On Plugin Settings Page?" ); ?>
|
84 |
</p>
|
85 |
-
|
86 |
<p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Hide Premium Version Adverts: " ); ?>
|
87 |
<select name="acx_si_smw_hide_advert">
|
88 |
<option value="yes"<?php if ($acx_si_smw_hide_advert == "yes") { echo 'selected="selected"'; } ?>>Yes </option>
|
@@ -90,7 +77,6 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
90 |
</select>
|
91 |
<?php _e("Would you like to hide the feature comparison advertisement of basic and premium version from plugin settings pages?" ); ?>
|
92 |
</p>
|
93 |
-
|
94 |
<p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Social Media Widget Theme Conflict Fix: " ); ?>
|
95 |
<select name="acx_si_smw_float_fix">
|
96 |
<option value="yes"<?php if ($acx_si_smw_float_fix == "yes") { echo 'selected="selected"'; } ?>>Enable </option>
|
@@ -98,20 +84,15 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
98 |
</select>
|
99 |
<?php _e("If your widget/shortcode icons are in Vertical, then enable this to make it Horizontal" ); ?>
|
100 |
</p>
|
101 |
-
|
102 |
-
|
103 |
<p class="submit">
|
104 |
<input type="submit" name="Submit" value="<?php _e('Update Acurax Social Icon', 'acx_si_config' ) ?>" />
|
105 |
</p>
|
106 |
-
|
107 |
</form>
|
108 |
-
|
109 |
<hr/>
|
110 |
<?php if($acx_si_smw_hide_advert == "no")
|
111 |
{
|
112 |
socialicons_widget_comparison(1);
|
113 |
} ?>
|
114 |
-
|
115 |
<br>
|
116 |
<p class="widefat" style="padding:8px;width:99%;">
|
117 |
Something Not Working Well? Have a Doubt? Have a Suggestion? - <a href="http://www.acurax.com/contact.php" target="_blank">Contact us now</a> | Need a Custom Designed Theme For your Blog or Website? Need a Custom Header Image? - <a href="http://www.acurax.com/contact.php" target="_blank">Contact us now</a>
|
3 |
{ //Form data sent
|
4 |
$acx_si_smw_menu_highlight = $_POST['acx_si_smw_menu_highlight'];
|
5 |
update_option('acx_si_smw_menu_highlight', $acx_si_smw_menu_highlight);
|
|
|
6 |
$acx_si_smw_acx_service_banners = $_POST['acx_si_smw_acx_service_banners'];
|
7 |
update_option('acx_si_smw_acx_service_banners', $acx_si_smw_acx_service_banners);
|
|
|
8 |
$acx_si_smw_float_fix = $_POST['acx_si_smw_float_fix'];
|
9 |
update_option('acx_si_smw_float_fix', $acx_si_smw_float_fix);
|
|
|
10 |
$acx_si_smw_hide_advert = $_POST['acx_si_smw_hide_advert'];
|
11 |
update_option('acx_si_smw_hide_advert', $acx_si_smw_hide_advert);
|
|
|
12 |
?>
|
13 |
<div class="updated"><p><strong><?php _e('Acurax Widgets Misc Settings Saved!.' ); ?></strong></p></div>
|
14 |
<?php
|
19 |
$acx_si_smw_acx_service_banners = get_option('acx_si_smw_acx_service_banners');
|
20 |
$acx_si_smw_float_fix = get_option('acx_si_smw_float_fix');
|
21 |
$acx_si_smw_hide_advert = get_option('acx_si_smw_hide_advert');
|
|
|
22 |
// Setting Defaults
|
23 |
if ($acx_si_smw_menu_highlight == "") { $acx_si_smw_menu_highlight = "yes"; }
|
24 |
if ($acx_si_smw_acx_service_banners == "") { $acx_si_smw_acx_service_banners = "yes"; }
|
25 |
if ($acx_si_smw_float_fix == "") { $acx_si_smw_float_fix = "no"; }
|
26 |
if ($acx_si_smw_hide_advert == "") { $acx_si_smw_hide_advert = "no"; }
|
27 |
} //Main else
|
|
|
28 |
?>
|
29 |
<div class="wrap">
|
30 |
<?php
|
32 |
<p class="widefat" style="padding:8px;width:99%;height: 75px;">
|
33 |
<b>Acurax Services >> </b><br>
|
34 |
<a href="http://www.acurax.com/services/wordpress-designing-experts.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wtd" style="background:url(<?php echo plugins_url('images/wtd.jpg', __FILE__);?>);"></a>
|
|
|
35 |
<a href="http://www.acurax.com/services/web-designing.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wd" style="background:url(<?php echo plugins_url('images/wd.jpg', __FILE__);?>);"></a>
|
36 |
<a href="http://www.acurax.com/social-media-marketing-optimization/social-profile-design.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="spd" style="background:url(<?php echo plugins_url('images/spd.jpg', __FILE__);?>);"></a>
|
37 |
<a href="http://www.acurax.com/services/website-redesign.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wrd" style="background:url(<?php echo plugins_url('images/wr.jpg', __FILE__);?>);"></a>
|
53 |
<a style="margin: -14px 0px 0px 10px; float: left;" href="http://clients.acurax.com/floating-socialmedia.php?utm_source=plugin&utm_medium=highlight_yellow&utm_campaign=fsmi" target="_blank"><img src="<?php echo plugins_url('images/yellow.png', __FILE__);?>"></a>
|
54 |
</div> <!-- acx_fsmi_premium -->
|
55 |
<?php } ?>
|
|
|
56 |
<?php echo "<h2>" . __( 'Acurax Social Widget Misc Settings', 'acx_si_config' ) . "</h2>"; ?>
|
|
|
57 |
<form name="acurax_si_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
|
58 |
<input type="hidden" name="acurax_social_widget_icon_hidden" value="Y">
|
|
|
59 |
<p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Menu Highlight: " ); ?>
|
60 |
<select name="acx_si_smw_menu_highlight">
|
61 |
<option value="yes"<?php if ($acx_si_smw_menu_highlight == "yes") { echo 'selected="selected"'; } ?>>Yes, Highlight Plugin Menu </option>
|
63 |
</select>
|
64 |
<?php _e("Show Plugin Menu In Green" ); ?>
|
65 |
</p>
|
|
|
|
|
66 |
<p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Acurax Service Banners: " ); ?>
|
67 |
<select name="acx_si_smw_acx_service_banners">
|
68 |
<option value="yes"<?php if ($acx_si_smw_acx_service_banners == "yes") { echo 'selected="selected"'; } ?>>Yes, Show Them </option>
|
70 |
</select>
|
71 |
<?php _e("Show Acurax Service Banners On Plugin Settings Page?" ); ?>
|
72 |
</p>
|
|
|
73 |
<p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Hide Premium Version Adverts: " ); ?>
|
74 |
<select name="acx_si_smw_hide_advert">
|
75 |
<option value="yes"<?php if ($acx_si_smw_hide_advert == "yes") { echo 'selected="selected"'; } ?>>Yes </option>
|
77 |
</select>
|
78 |
<?php _e("Would you like to hide the feature comparison advertisement of basic and premium version from plugin settings pages?" ); ?>
|
79 |
</p>
|
|
|
80 |
<p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Social Media Widget Theme Conflict Fix: " ); ?>
|
81 |
<select name="acx_si_smw_float_fix">
|
82 |
<option value="yes"<?php if ($acx_si_smw_float_fix == "yes") { echo 'selected="selected"'; } ?>>Enable </option>
|
84 |
</select>
|
85 |
<?php _e("If your widget/shortcode icons are in Vertical, then enable this to make it Horizontal" ); ?>
|
86 |
</p>
|
|
|
|
|
87 |
<p class="submit">
|
88 |
<input type="submit" name="Submit" value="<?php _e('Update Acurax Social Icon', 'acx_si_config' ) ?>" />
|
89 |
</p>
|
|
|
90 |
</form>
|
|
|
91 |
<hr/>
|
92 |
<?php if($acx_si_smw_hide_advert == "no")
|
93 |
{
|
94 |
socialicons_widget_comparison(1);
|
95 |
} ?>
|
|
|
96 |
<br>
|
97 |
<p class="widefat" style="padding:8px;width:99%;">
|
98 |
Something Not Working Well? Have a Doubt? Have a Suggestion? - <a href="http://www.acurax.com/contact.php" target="_blank">Contact us now</a> | Need a Custom Designed Theme For your Blog or Website? Need a Custom Header Image? - <a href="http://www.acurax.com/contact.php" target="_blank">Contact us now</a>
|
social-help.php
CHANGED
@@ -10,16 +10,12 @@ if($acx_si_smw_hide_advert == "no")
|
|
10 |
</div> <!-- acx_fsmi_premium -->
|
11 |
<?php } ?>
|
12 |
<h2>Acurax Social Media Widget - Wordpress Plugin - Help/Support</h2>
|
13 |
-
|
14 |
<p>Thank you for using Acurax Social Media Widget Plugin For Your Wordpress Social Media Profile Linking Need.</p>
|
15 |
-
|
16 |
<h3><a href="http://clients.acurax.com/link.php?id=14" target="_blank">Click here to open the FAQ and Help Page</a></h3>
|
17 |
-
|
18 |
<?php
|
19 |
if($acx_si_smw_hide_advert == "no")
|
20 |
{
|
21 |
socialicons_widget_comparison(1);
|
22 |
}
|
23 |
?>
|
24 |
-
|
25 |
</div> <!-- acx_help_page -->
|
10 |
</div> <!-- acx_fsmi_premium -->
|
11 |
<?php } ?>
|
12 |
<h2>Acurax Social Media Widget - Wordpress Plugin - Help/Support</h2>
|
|
|
13 |
<p>Thank you for using Acurax Social Media Widget Plugin For Your Wordpress Social Media Profile Linking Need.</p>
|
|
|
14 |
<h3><a href="http://clients.acurax.com/link.php?id=14" target="_blank">Click here to open the FAQ and Help Page</a></h3>
|
|
|
15 |
<?php
|
16 |
if($acx_si_smw_hide_advert == "no")
|
17 |
{
|
18 |
socialicons_widget_comparison(1);
|
19 |
}
|
20 |
?>
|
|
|
21 |
</div> <!-- acx_help_page -->
|
social-icon.php
CHANGED
@@ -7,37 +7,27 @@ if($_POST['acurax_social_widget_icon_hidden'] == 'Y')
|
|
7 |
{ //Form data sent
|
8 |
$acx_widget_si_theme = $_POST['acx_widget_si_theme'];
|
9 |
update_option('acx_widget_si_theme', $acx_widget_si_theme);
|
10 |
-
|
11 |
$acx_widget_si_twitter = $_POST['acx_widget_si_twitter'];
|
12 |
update_option('acx_widget_si_twitter', $acx_widget_si_twitter);
|
13 |
-
|
14 |
$acx_widget_si_facebook = $_POST['acx_widget_si_facebook'];
|
15 |
update_option('acx_widget_si_facebook', $acx_widget_si_facebook);
|
16 |
-
|
17 |
$acx_widget_si_youtube = $_POST['acx_widget_si_youtube'];
|
18 |
update_option('acx_widget_si_youtube', $acx_widget_si_youtube);
|
19 |
-
|
20 |
$acx_widget_si_linkedin = $_POST['acx_widget_si_linkedin'];
|
21 |
update_option('acx_widget_si_linkedin', $acx_widget_si_linkedin);
|
22 |
-
|
23 |
$acx_widget_si_gplus = $_POST['acx_widget_si_gplus'];
|
24 |
update_option('acx_widget_si_gplus', $acx_widget_si_gplus);
|
25 |
-
|
26 |
$acx_widget_si_credit = $_POST['acx_widget_si_credit'];
|
27 |
update_option('acx_widget_si_credit', $acx_widget_si_credit);
|
28 |
-
|
29 |
$acx_widget_si_icon_size = $_POST['acx_widget_si_icon_size'];
|
30 |
update_option('acx_widget_si_icon_size', $acx_widget_si_icon_size);
|
31 |
-
|
32 |
$acx_widget_si_pinterest = $_POST['acx_widget_si_pinterest'];
|
33 |
update_option('acx_widget_si_pinterest', $acx_widget_si_pinterest);
|
34 |
|
35 |
$acx_widget_si_feed = $_POST['acx_widget_si_feed'];
|
36 |
update_option('acx_widget_si_feed', $acx_widget_si_feed);
|
37 |
-
|
38 |
$social_widget_icon_array_order = get_option('social_widget_icon_array_order');
|
39 |
$acx_si_smw_hide_advert = get_option('acx_si_smw_hide_advert');
|
40 |
-
|
41 |
?>
|
42 |
<div class="updated"><p><strong><?php _e('Acurax Social Icon Widget Settings Saved!.' ); ?></strong></p></div>
|
43 |
<?php
|
@@ -65,14 +55,12 @@ update_option('acx_widget_si_installed_date', $acx_widget_si_installed_date);
|
|
65 |
if ($acx_widget_si_icon_size == "") { $acx_widget_si_icon_size = "32"; }
|
66 |
if ($acx_widget_si_theme == "") { $acx_widget_si_theme = "1"; }
|
67 |
if ($acx_si_smw_hide_advert == "") { $acx_si_smw_hide_advert = "no"; }
|
68 |
-
|
69 |
-
|
70 |
if ($social_widget_icon_array_order == "")
|
71 |
{
|
72 |
$social_widget_icon_array_order = array(0,1,2,3,4,5,6);
|
73 |
$social_widget_icon_array_order = serialize($social_widget_icon_array_order);
|
74 |
update_option('social_widget_icon_array_order', $social_widget_icon_array_order);
|
75 |
-
$acx_widget_si_current_version = "1.3"; // Current Version
|
76 |
update_option('acx_widget_si_current_version', $acx_widget_si_current_version);
|
77 |
} else
|
78 |
{
|
@@ -93,9 +81,7 @@ update_option('acx_widget_si_installed_date', $acx_widget_si_installed_date);
|
|
93 |
update_option('social_widget_icon_array_order', $social_widget_icon_array_order);
|
94 |
} //Normal page display else
|
95 |
} //Main else
|
96 |
-
|
97 |
?>
|
98 |
-
|
99 |
<!-- To Update Drag and Drop -->
|
100 |
<script type="text/javascript">
|
101 |
jQuery(document).ready(function()
|
@@ -125,7 +111,6 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
125 |
<p class="widefat" style="padding:8px;width:99%;height: 75px;">
|
126 |
<b>Acurax Services >> </b><br>
|
127 |
<a href="http://www.acurax.com/services/wordpress-designing-experts.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wtd" style="background:url(<?php echo plugins_url('images/wtd.jpg', __FILE__);?>);"></a>
|
128 |
-
|
129 |
<a href="http://www.acurax.com/services/web-designing.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wd" style="background:url(<?php echo plugins_url('images/wd.jpg', __FILE__);?>);"></a>
|
130 |
<a href="http://www.acurax.com/social-media-marketing-optimization/social-profile-design.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="spd" style="background:url(<?php echo plugins_url('images/spd.jpg', __FILE__);?>);"></a>
|
131 |
<a href="http://www.acurax.com/services/website-redesign.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wrd" style="background:url(<?php echo plugins_url('images/wr.jpg', __FILE__);?>);"></a>
|
@@ -148,12 +133,8 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
148 |
</div> <!-- acx_fsmi_premium -->
|
149 |
<?php } ?>
|
150 |
<?php echo "<h2>" . __( 'Acurax Social Icons Options', 'acx_widget_si_config' ) . "</h2>"; ?>
|
151 |
-
|
152 |
<form name="acurax_si_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
|
153 |
<input type="hidden" name="acurax_social_widget_icon_hidden" value="Y">
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
<?php echo "<h4>" . __( 'Select an icon style', 'acx_widget_si_config' ) . "</h4>"; ?>
|
158 |
|
159 |
<p class="widefat" style="padding:8px;width:99%;">
|
@@ -191,12 +172,10 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
191 |
{
|
192 |
echo "<img src=" . plugins_url('images/themes/'. $i .'/twitter.png', __FILE__) . ">";
|
193 |
} else
|
194 |
-
|
195 |
if ($value == 1)
|
196 |
{
|
197 |
echo "<img src=" . plugins_url('images/themes/'. $i .'/facebook.png', __FILE__) . ">";
|
198 |
} else
|
199 |
-
|
200 |
if ($value == 2)
|
201 |
{
|
202 |
echo "<img src=" . plugins_url('images/themes/'. $i .'/googleplus.png', __FILE__) . ">";
|
@@ -206,12 +185,10 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
206 |
{
|
207 |
echo "<img src=" . plugins_url('images/themes/'. $i .'/pinterest.png', __FILE__) . ">";
|
208 |
} else
|
209 |
-
|
210 |
if ($value == 4)
|
211 |
{
|
212 |
echo "<img src=" . plugins_url('images/themes/'. $i .'/youtube.png', __FILE__) . ">";
|
213 |
} else
|
214 |
-
|
215 |
if ($value == 5)
|
216 |
{
|
217 |
echo "<img src=" . plugins_url('images/themes/'. $i .'/linkedin.png', __FILE__) . ">";
|
@@ -221,7 +198,6 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
221 |
{
|
222 |
echo "<img src=" . plugins_url('images/themes/'. $i .'/feed.png', __FILE__) . ">";
|
223 |
}
|
224 |
-
|
225 |
}
|
226 |
?>
|
227 |
</div>
|
@@ -231,7 +207,6 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
231 |
echo "</div> <!-- acx_widget_si_theme_display -->";
|
232 |
// Ending The Theme List
|
233 |
?>
|
234 |
-
|
235 |
<p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Social Icon Size: " ); ?>
|
236 |
<select name="acx_widget_si_icon_size">
|
237 |
<option value="16"<?php if ($acx_widget_si_icon_size == "16") { echo 'selected="selected"'; } ?>>16px X 16px </option>
|
@@ -243,59 +218,42 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
243 |
</select>
|
244 |
<?php _e("Select a social icon size" ); ?>
|
245 |
</p>
|
246 |
-
|
247 |
<?php echo "<h4>" . __( 'Social Media Icon Display Order - Drag and Drop to Reorder', 'acx_widget_si_config' ) . "</h4>"; ?>
|
248 |
<div class="widefat" style="padding:8px;width:99%;margin-top:8px;">
|
249 |
<div id="contentLeft">
|
250 |
<ul>
|
251 |
<?php
|
252 |
-
|
253 |
foreach ($social_widget_icon_array_order as $key => $value)
|
254 |
{
|
255 |
?>
|
256 |
<li id="recordsArray_<?php echo $value; ?>">
|
257 |
<?php
|
258 |
-
|
259 |
if ($value == 0)
|
260 |
{
|
261 |
echo "<img src=" . plugins_url('images/themes/'. $acx_widget_si_theme .'/twitter.png', __FILE__) . "
|
262 |
border='0'><br> Twitter";
|
263 |
} else
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
if ($value == 1)
|
268 |
{
|
269 |
echo "<img src=" . plugins_url('images/themes/'. $acx_widget_si_theme .'/facebook.png', __FILE__) . "
|
270 |
border='0'><br> Facebook";
|
271 |
} else
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
if ($value == 2)
|
276 |
{
|
277 |
echo "<img src=" . plugins_url('images/themes/'. $acx_widget_si_theme .'/googleplus.png', __FILE__) . "
|
278 |
border='0'><br> Google Plus";
|
279 |
} else
|
280 |
-
|
281 |
-
|
282 |
|
283 |
if ($value == 3)
|
284 |
{
|
285 |
echo "<img src=" . plugins_url('images/themes/'. $acx_widget_si_theme .'/pinterest.png', __FILE__) . "
|
286 |
border='0'><br> Pinterest";
|
287 |
} else
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
if ($value == 4)
|
292 |
{
|
293 |
echo "<img src=" . plugins_url('images/themes/'. $acx_widget_si_theme .'/youtube.png', __FILE__) . "
|
294 |
border='0'><br> Youtube";
|
295 |
} else
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
if ($value == 5)
|
300 |
{
|
301 |
echo "<img src=" . plugins_url('images/themes/'. $acx_widget_si_theme .'/linkedin.png', __FILE__) . "
|
@@ -307,17 +265,14 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
307 |
echo "<img src=" . plugins_url('images/themes/'. $acx_widget_si_theme .'/feed.png', __FILE__) . "
|
308 |
border='0'><br> Rss Feed";
|
309 |
}
|
310 |
-
|
311 |
?>
|
312 |
</li> <?php
|
313 |
} ?>
|
314 |
-
|
315 |
</ul>
|
316 |
</div>
|
317 |
<div id="contentRight"></div> <!-- contentRight -->
|
318 |
<?php _e("Drag and Reorder Icons (It will automatically save on reorder)" ); ?>
|
319 |
</div>
|
320 |
-
|
321 |
<hr />
|
322 |
|
323 |
<?php echo "<h4>" . __( 'Social Media Settings', 'acx_widget_si_config' ) . "</h4>"; ?>
|
@@ -327,31 +282,26 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
327 |
<input type="text" name="acx_widget_si_twitter" value="<?php echo $acx_widget_si_twitter; ?>" size="50">
|
328 |
<?php _e("<b>Eg:</b> acuraxdotcom" ); ?>
|
329 |
</p>
|
330 |
-
|
331 |
<p class="widefat" style="padding:8px;width:99%;">
|
332 |
<?php _e("Facebook Page/Profile URL: " ); ?>
|
333 |
<input type="text" name="acx_widget_si_facebook" value="<?php echo $acx_widget_si_facebook; ?>" size="50">
|
334 |
<?php _e("<b>Eg:</b> http://www.facebook.com/AcuraxInternational" ); ?>
|
335 |
</p>
|
336 |
-
|
337 |
<p class="widefat" style="padding:8px;width:99%;">
|
338 |
<?php _e("Google Plus URL: " ); ?>
|
339 |
<input type="text" name="acx_widget_si_gplus" value="<?php echo $acx_widget_si_gplus; ?>" size="50">
|
340 |
<?php _e("Enter Your Complete Google Plus Url Starting With http://" ); ?>
|
341 |
</p>
|
342 |
-
|
343 |
<p class="widefat" style="padding:8px;width:99%;">
|
344 |
<?php _e("Pinterest URL: " ); ?>
|
345 |
<input type="text" name="acx_widget_si_pinterest" value="<?php echo $acx_widget_si_pinterest; ?>" size="50">
|
346 |
<?php _e("Enter Your Complete Pinterest Url Starting With http://" ); ?>
|
347 |
</p>
|
348 |
-
|
349 |
<p class="widefat" style="padding:8px;width:99%;">
|
350 |
<?php _e("Youtube URL: " ); ?>
|
351 |
<input type="text" name="acx_widget_si_youtube" value="<?php echo $acx_widget_si_youtube; ?>" size="50">
|
352 |
<?php _e("<b>Eg:</b> http://www.youtube.com/user/acuraxdotcom" ); ?>
|
353 |
</p>
|
354 |
-
|
355 |
<p class="widefat" style="padding:8px;width:99%;">
|
356 |
<?php _e("Linkedin URL: " ); ?>
|
357 |
<input type="text" name="acx_widget_si_linkedin" value="<?php echo $acx_widget_si_linkedin; ?>" size="50">
|
@@ -363,29 +313,23 @@ if ($acx_si_smw_acx_service_banners != "no") { ?>
|
|
363 |
<input type="text" name="acx_widget_si_feed" value="<?php echo $acx_widget_si_feed; ?>" size="50">
|
364 |
<?php _e("<b>Eg:</b> http://www.yourwebsite.com/feed" ); ?>
|
365 |
</p>
|
366 |
-
|
367 |
<p class="submit">
|
368 |
<input type="submit" name="Submit" value="<?php _e('Update Acurax Social Icon', 'acx_widget_si_config' ) ?>" />
|
369 |
<a name="updated">.</a>
|
370 |
</p>
|
371 |
-
|
372 |
</form>
|
373 |
-
|
374 |
-
|
375 |
<?php if($_GET["status"] == "updated") { ?>
|
376 |
<div style="display: block; background-color: rgb(255, 255, 224); padding: 10px; border: 1px solid rgb(230, 219, 85); font-family: arial; font-size: 13px; font-weight: bold; text-align: center; border-radius: 10px 10px 10px 10px;">Acurax Social Media Widget Update Successfully Completed - Thank You</div>
|
377 |
<?php
|
378 |
-
$acx_widget_si_current_version = "1.3"; // Current Version
|
379 |
update_option('acx_widget_si_current_version', $acx_widget_si_current_version);
|
380 |
} ?>
|
381 |
-
|
382 |
<hr/>
|
383 |
<?php if($acx_si_smw_hide_advert == "no")
|
384 |
{
|
385 |
socialicons_widget_comparison(1);
|
386 |
}
|
387 |
?>
|
388 |
-
|
389 |
<br>
|
390 |
<p class="widefat" style="padding:8px;width:99%;">
|
391 |
Something Not Working Well? Have a Doubt? Have a Suggestion? - <a href="http://www.acurax.com/contact.php" target="_blank">Contact us now</a> | Need a Custom Designed Theme For your Blog or Website? Need a Custom Header Image? - <a href="http://www.acurax.com/contact.php" target="_blank">Contact us now</a>
|
7 |
{ //Form data sent
|
8 |
$acx_widget_si_theme = $_POST['acx_widget_si_theme'];
|
9 |
update_option('acx_widget_si_theme', $acx_widget_si_theme);
|
|
|
10 |
$acx_widget_si_twitter = $_POST['acx_widget_si_twitter'];
|
11 |
update_option('acx_widget_si_twitter', $acx_widget_si_twitter);
|
|
|
12 |
$acx_widget_si_facebook = $_POST['acx_widget_si_facebook'];
|
13 |
update_option('acx_widget_si_facebook', $acx_widget_si_facebook);
|
|
|
14 |
$acx_widget_si_youtube = $_POST['acx_widget_si_youtube'];
|
15 |
update_option('acx_widget_si_youtube', $acx_widget_si_youtube);
|
|
|
16 |
$acx_widget_si_linkedin = $_POST['acx_widget_si_linkedin'];
|
17 |
update_option('acx_widget_si_linkedin', $acx_widget_si_linkedin);
|
|
|
18 |
$acx_widget_si_gplus = $_POST['acx_widget_si_gplus'];
|
19 |
update_option('acx_widget_si_gplus', $acx_widget_si_gplus);
|
|
|
20 |
$acx_widget_si_credit = $_POST['acx_widget_si_credit'];
|
21 |
update_option('acx_widget_si_credit', $acx_widget_si_credit);
|
|
|
22 |
$acx_widget_si_icon_size = $_POST['acx_widget_si_icon_size'];
|
23 |
update_option('acx_widget_si_icon_size', $acx_widget_si_icon_size);
|
|
|
24 |
$acx_widget_si_pinterest = $_POST['acx_widget_si_pinterest'];
|
25 |
update_option('acx_widget_si_pinterest', $acx_widget_si_pinterest);
|
26 |
|
27 |
$acx_widget_si_feed = $_POST['acx_widget_si_feed'];
|
28 |
update_option('acx_widget_si_feed', $acx_widget_si_feed);
|
|
|
29 |
$social_widget_icon_array_order = get_option('social_widget_icon_array_order');
|
30 |
$acx_si_smw_hide_advert = get_option('acx_si_smw_hide_advert');
|
|
|
31 |
?>
|
32 |
<div class="updated"><p><strong><?php _e('Acurax Social Icon Widget Settings Saved!.' ); ?></strong></p></div>
|
33 |
<?php
|
55 |
if ($acx_widget_si_icon_size == "") { $acx_widget_si_icon_size = "32"; }
|
56 |
if ($acx_widget_si_theme == "") { $acx_widget_si_theme = "1"; }
|
57 |
if ($acx_si_smw_hide_advert == "") { $acx_si_smw_hide_advert = "no"; }
|
|
|
|
|
58 |
if ($social_widget_icon_array_order == "")
|
59 |
{
|
60 |
$social_widget_icon_array_order = array(0,1,2,3,4,5,6);
|
61 |
$social_widget_icon_array_order = serialize($social_widget_icon_array_order);
|
62 |
update_option('social_widget_icon_array_order', $social_widget_icon_array_order);
|
63 |
+
$acx_widget_si_current_version = "1.3.1"; // Current Version
|
64 |
update_option('acx_widget_si_current_version', $acx_widget_si_current_version);
|
65 |
} else
|
66 |
{
|
81 |
update_option('social_widget_icon_array_order', $social_widget_icon_array_order);
|
82 |
} //Normal page display else
|
83 |
} //Main else
|
|
|
84 |
?>
|
|
|
85 |
<!-- To Update Drag and Drop -->
|
86 |
<script type="text/javascript">
|
87 |
jQuery(document).ready(function()
|
111 |
<p class="widefat" style="padding:8px;width:99%;height: 75px;">
|
112 |
<b>Acurax Services >> </b><br>
|
113 |
<a href="http://www.acurax.com/services/wordpress-designing-experts.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wtd" style="background:url(<?php echo plugins_url('images/wtd.jpg', __FILE__);?>);"></a>
|
|
|
114 |
<a href="http://www.acurax.com/services/web-designing.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wd" style="background:url(<?php echo plugins_url('images/wd.jpg', __FILE__);?>);"></a>
|
115 |
<a href="http://www.acurax.com/social-media-marketing-optimization/social-profile-design.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="spd" style="background:url(<?php echo plugins_url('images/spd.jpg', __FILE__);?>);"></a>
|
116 |
<a href="http://www.acurax.com/services/website-redesign.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wrd" style="background:url(<?php echo plugins_url('images/wr.jpg', __FILE__);?>);"></a>
|
133 |
</div> <!-- acx_fsmi_premium -->
|
134 |
<?php } ?>
|
135 |
<?php echo "<h2>" . __( 'Acurax Social Icons Options', 'acx_widget_si_config' ) . "</h2>"; ?>
|
|
|
136 |
<form name="acurax_si_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
|
137 |
<input type="hidden" name="acurax_social_widget_icon_hidden" value="Y">
|
|
|
|
|
|
|
138 |
<?php echo "<h4>" . __( 'Select an icon style', 'acx_widget_si_config' ) . "</h4>"; ?>
|
139 |
|
140 |
<p class="widefat" style="padding:8px;width:99%;">
|
172 |
{
|
173 |
echo "<img src=" . plugins_url('images/themes/'. $i .'/twitter.png', __FILE__) . ">";
|
174 |
} else
|
|
|
175 |
if ($value == 1)
|
176 |
{
|
177 |
echo "<img src=" . plugins_url('images/themes/'. $i .'/facebook.png', __FILE__) . ">";
|
178 |
} else
|
|
|
179 |
if ($value == 2)
|
180 |
{
|
181 |
echo "<img src=" . plugins_url('images/themes/'. $i .'/googleplus.png', __FILE__) . ">";
|
185 |
{
|
186 |
echo "<img src=" . plugins_url('images/themes/'. $i .'/pinterest.png', __FILE__) . ">";
|
187 |
} else
|
|
|
188 |
if ($value == 4)
|
189 |
{
|
190 |
echo "<img src=" . plugins_url('images/themes/'. $i .'/youtube.png', __FILE__) . ">";
|
191 |
} else
|
|
|
192 |
if ($value == 5)
|
193 |
{
|
194 |
echo "<img src=" . plugins_url('images/themes/'. $i .'/linkedin.png', __FILE__) . ">";
|
198 |
{
|
199 |
echo "<img src=" . plugins_url('images/themes/'. $i .'/feed.png', __FILE__) . ">";
|
200 |
}
|
|
|
201 |
}
|
202 |
?>
|
203 |
</div>
|
207 |
echo "</div> <!-- acx_widget_si_theme_display -->";
|
208 |
// Ending The Theme List
|
209 |
?>
|
|
|
210 |
<p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Social Icon Size: " ); ?>
|
211 |
<select name="acx_widget_si_icon_size">
|
212 |
<option value="16"<?php if ($acx_widget_si_icon_size == "16") { echo 'selected="selected"'; } ?>>16px X 16px </option>
|
218 |
</select>
|
219 |
<?php _e("Select a social icon size" ); ?>
|
220 |
</p>
|
|
|
221 |
<?php echo "<h4>" . __( 'Social Media Icon Display Order - Drag and Drop to Reorder', 'acx_widget_si_config' ) . "</h4>"; ?>
|
222 |
<div class="widefat" style="padding:8px;width:99%;margin-top:8px;">
|
223 |
<div id="contentLeft">
|
224 |
<ul>
|
225 |
<?php
|
|
|
226 |
foreach ($social_widget_icon_array_order as $key => $value)
|
227 |
{
|
228 |
?>
|
229 |
<li id="recordsArray_<?php echo $value; ?>">
|
230 |
<?php
|
|
|
231 |
if ($value == 0)
|
232 |
{
|
233 |
echo "<img src=" . plugins_url('images/themes/'. $acx_widget_si_theme .'/twitter.png', __FILE__) . "
|
234 |
border='0'><br> Twitter";
|
235 |
} else
|
|
|
|
|
|
|
236 |
if ($value == 1)
|
237 |
{
|
238 |
echo "<img src=" . plugins_url('images/themes/'. $acx_widget_si_theme .'/facebook.png', __FILE__) . "
|
239 |
border='0'><br> Facebook";
|
240 |
} else
|
|
|
|
|
|
|
241 |
if ($value == 2)
|
242 |
{
|
243 |
echo "<img src=" . plugins_url('images/themes/'. $acx_widget_si_theme .'/googleplus.png', __FILE__) . "
|
244 |
border='0'><br> Google Plus";
|
245 |
} else
|
|
|
|
|
246 |
|
247 |
if ($value == 3)
|
248 |
{
|
249 |
echo "<img src=" . plugins_url('images/themes/'. $acx_widget_si_theme .'/pinterest.png', __FILE__) . "
|
250 |
border='0'><br> Pinterest";
|
251 |
} else
|
|
|
|
|
|
|
252 |
if ($value == 4)
|
253 |
{
|
254 |
echo "<img src=" . plugins_url('images/themes/'. $acx_widget_si_theme .'/youtube.png', __FILE__) . "
|
255 |
border='0'><br> Youtube";
|
256 |
} else
|
|
|
|
|
|
|
257 |
if ($value == 5)
|
258 |
{
|
259 |
echo "<img src=" . plugins_url('images/themes/'. $acx_widget_si_theme .'/linkedin.png', __FILE__) . "
|
265 |
echo "<img src=" . plugins_url('images/themes/'. $acx_widget_si_theme .'/feed.png', __FILE__) . "
|
266 |
border='0'><br> Rss Feed";
|
267 |
}
|
|
|
268 |
?>
|
269 |
</li> <?php
|
270 |
} ?>
|
|
|
271 |
</ul>
|
272 |
</div>
|
273 |
<div id="contentRight"></div> <!-- contentRight -->
|
274 |
<?php _e("Drag and Reorder Icons (It will automatically save on reorder)" ); ?>
|
275 |
</div>
|
|
|
276 |
<hr />
|
277 |
|
278 |
<?php echo "<h4>" . __( 'Social Media Settings', 'acx_widget_si_config' ) . "</h4>"; ?>
|
282 |
<input type="text" name="acx_widget_si_twitter" value="<?php echo $acx_widget_si_twitter; ?>" size="50">
|
283 |
<?php _e("<b>Eg:</b> acuraxdotcom" ); ?>
|
284 |
</p>
|
|
|
285 |
<p class="widefat" style="padding:8px;width:99%;">
|
286 |
<?php _e("Facebook Page/Profile URL: " ); ?>
|
287 |
<input type="text" name="acx_widget_si_facebook" value="<?php echo $acx_widget_si_facebook; ?>" size="50">
|
288 |
<?php _e("<b>Eg:</b> http://www.facebook.com/AcuraxInternational" ); ?>
|
289 |
</p>
|
|
|
290 |
<p class="widefat" style="padding:8px;width:99%;">
|
291 |
<?php _e("Google Plus URL: " ); ?>
|
292 |
<input type="text" name="acx_widget_si_gplus" value="<?php echo $acx_widget_si_gplus; ?>" size="50">
|
293 |
<?php _e("Enter Your Complete Google Plus Url Starting With http://" ); ?>
|
294 |
</p>
|
|
|
295 |
<p class="widefat" style="padding:8px;width:99%;">
|
296 |
<?php _e("Pinterest URL: " ); ?>
|
297 |
<input type="text" name="acx_widget_si_pinterest" value="<?php echo $acx_widget_si_pinterest; ?>" size="50">
|
298 |
<?php _e("Enter Your Complete Pinterest Url Starting With http://" ); ?>
|
299 |
</p>
|
|
|
300 |
<p class="widefat" style="padding:8px;width:99%;">
|
301 |
<?php _e("Youtube URL: " ); ?>
|
302 |
<input type="text" name="acx_widget_si_youtube" value="<?php echo $acx_widget_si_youtube; ?>" size="50">
|
303 |
<?php _e("<b>Eg:</b> http://www.youtube.com/user/acuraxdotcom" ); ?>
|
304 |
</p>
|
|
|
305 |
<p class="widefat" style="padding:8px;width:99%;">
|
306 |
<?php _e("Linkedin URL: " ); ?>
|
307 |
<input type="text" name="acx_widget_si_linkedin" value="<?php echo $acx_widget_si_linkedin; ?>" size="50">
|
313 |
<input type="text" name="acx_widget_si_feed" value="<?php echo $acx_widget_si_feed; ?>" size="50">
|
314 |
<?php _e("<b>Eg:</b> http://www.yourwebsite.com/feed" ); ?>
|
315 |
</p>
|
|
|
316 |
<p class="submit">
|
317 |
<input type="submit" name="Submit" value="<?php _e('Update Acurax Social Icon', 'acx_widget_si_config' ) ?>" />
|
318 |
<a name="updated">.</a>
|
319 |
</p>
|
|
|
320 |
</form>
|
|
|
|
|
321 |
<?php if($_GET["status"] == "updated") { ?>
|
322 |
<div style="display: block; background-color: rgb(255, 255, 224); padding: 10px; border: 1px solid rgb(230, 219, 85); font-family: arial; font-size: 13px; font-weight: bold; text-align: center; border-radius: 10px 10px 10px 10px;">Acurax Social Media Widget Update Successfully Completed - Thank You</div>
|
323 |
<?php
|
324 |
+
$acx_widget_si_current_version = "1.3.1"; // Current Version
|
325 |
update_option('acx_widget_si_current_version', $acx_widget_si_current_version);
|
326 |
} ?>
|
|
|
327 |
<hr/>
|
328 |
<?php if($acx_si_smw_hide_advert == "no")
|
329 |
{
|
330 |
socialicons_widget_comparison(1);
|
331 |
}
|
332 |
?>
|
|
|
333 |
<br>
|
334 |
<p class="widefat" style="padding:8px;width:99%;">
|
335 |
Something Not Working Well? Have a Doubt? Have a Suggestion? - <a href="http://www.acurax.com/contact.php" target="_blank">Contact us now</a> | Need a Custom Designed Theme For your Blog or Website? Need a Custom Header Image? - <a href="http://www.acurax.com/contact.php" target="_blank">Contact us now</a>
|