Version Description
= Social Media Floating Icons - 4.1.3 = * Fix - Perfomance Improvements * 6 New Icon Styles * Instagram Support Added * Code Improvements * Fixes for wordpress deprecated functions
= Social Media Floating Icons - 4.1.2 = * Fix - Perfomance Improvements * Stable Release
= Social Media Floating Icons - 4.1.1 = * Fix - Perfomance Improvements * Stable Release
= Social Media Floating Icons - 4.1 = * New - Added Translation Support * Fix - Perfomance Improvements * New - Addon Support * Stable Release
= Floating Social Media Icon - 4.0 = * Total Programming Logic Changes * Perfomance Improvements * Addon Support * Optimized Speed * Improved and Solid Structure * Stable Release
= Floating Social Media Icon - 3.0 = * Big Improvements on User Interface * Perfomance Improvements * Updated Twitter Icons * Updated Google Plus Icons * Icon Links No Follow Support * Stable Release
= Floating Social Media Icon - 2.3 = * Aug 25, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :) * Code Optimization * Stable Release
= Floating Social Media Icon - 2.2 = * Aug 19, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :) * Security Fix * Stable Release
= Floating Social Media Icon - 2.1 = * May 30, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :) * Optimized Codes * Performance Improvements * Stable Release
= Floating Social Media Icon - 2.0 = * April 18, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :) * Optimized Codes * Fixed Bugs With Facebook * Stable Release
= Floating Social Media Icon - 1.3.9 = * Feb 20, 2015 | NOTE: Updating Plugin Will Not Change Your Settings/Configuration.. Update With Confidence :) * Optimized Codes * Stable Release
= Floating Social Media Icon - 1.3.8 = * Dec 25, 2014 | NOTE: Updating Plugin Wwill Not Change Your Settings/Configuration.. Update With Confidence :) * UI Design Improvements * Improved Floating Icon Display Logic * Improved Programming * Fixed Icon Display CSS Bugs * Added Width and Height Attributes to Icons SRC * Completely Removed Green Menu Highlighting * Now you can align php/shortcode icons to left, right or centre * Stable Release
= Floating Social Media Icon - 1.3.7 = * Nov 02, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Minor Bug Fixes * Stable Release
= Floating Social Media Icon - 1.3.6 = * Sep 22, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Minor Bug Fixes * Stable Release
= Floating Social Media Icon - 1.3.5 = * June 04, 2014 | NOTE: Upgrading Will Not Make Any Changes to Settings/Configurations. Upgrade With Confidence :) * Added Option to Disable Floating Icons on Mobile Devices * Theme Warning Ignore Option * Added Troubleshooting Options * Improved User Interface * Stable Release
= Floating Social Media Icon - 1.3.4 = * March 07, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Added Theme Warning Ignore Option * Optimized Codes * Updated Option Description
= Floating Social Media Icon - 1.3.3 = * January 05, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Minor Bug Fixes * Optimized Codes * Spelling Corrections
= Floating Social Media Icon - 1.3.2 = * October 10, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Stable Release * Minor Bug Fixes * Optimized Codes
= Floating Social Media Icon - 1.3.1 = * August 28, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Stable Release * Security Improvements * Bug Fixes
= Floating Social Media Icon - 1.3 = * June 26, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Stable Release * Improved UI * Improved Programming Structure
= Floating Social Media Icon - 1.2 = * February 20, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Added Option to disable highlighting menu on admin area * Added Option to disable highlighting plugin on plugin list * Improved CSS Styling * Improved Programming Structure * Stable Release
= Floating Social Media Icon - 1.1.5 = * November 29, 2012 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :) * Added Misc settings. * Now in Misc settings - You have option to fix icons displaying in vertical issue. * Added alt tags to icons. * Fixed Missing Argument Issue. * Added title tags to icon links. * Graphics Improvements
= Floating Social Media Icon - 1.1.4 = * July 14, 2012 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :).. * Added Align Option In Widget Settings * Fixed Conflict With Other Plugins Settings Menu so Acx Social Icon Menu will not Disappear
= Floating Social Media Icon - 1.1.3 = * June 01, 2012 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :).. * Optimized Images * Stable Release
= Floating Social Media Icon - 1.1.2 = * May 08, 2012 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :).. * Added Rss Feed Support * Better Icon Quality
= Floating Social Media Icon - 1.1.1 = * April 20, 2012 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :).. * Fixed Minor Styling Problem * Fixed Icon Size Problem on Manual Icon Display via Php
= Floating Social Media Icon - 1.1 = * April 06, 2012 * Added Code Security * Now You can have as many widgets where you can define icon size and icon design for each widget. * Now You can have Shortcode customization where you can define icon size and icon design for each shortcodes (Check Faq for more info).
= Floating Social Media Icon - 1.0.9 = * March 21, 2012 * Added Pinterest * Added drag and drop reorder option * AFTER UPDATE YOU NEED TO VISIT THE PLUGIN SETTINGS PAGE TO START SHOWING THE ICONS (Upgrade Will Not Alter Your Settings).
= Floating Social Media Icon - 1.0.8 = * March 14, 2012 * Added More Icon Designs * Fixed Minor Layout Issues
= Floating Social Media Icon - 1.0.7 = * March 12, 2012 * More Icon Theme/Style * Updated User Interface * Updated Faq * Added Google Plus Support
= Floating Social Media Icon - 1.0.6 = * March 11, 2012 * Fixed Alignment Problem When Displaying All Icons With Bigger Size
= Floating Social Media Icon - 1.0.5 = * March 10, 2012 * Major Fix For More Theme Compatibility
= Floating Social Media Icon - 1.0.4 = * March 09, 2012 * Fixed Some Reported Bugs
= Floating Social Media Icon - 1.0.3 = * Major Fix to Support Older Versions of Wordpress
= Floating Social Media Icon - 1.0.2 = * Fixed Design Icon Clarity
Release Info
Developer | Acurax |
Plugin | Social Media Flying Icons | Floating Social Media Icon |
Version | 4.1.3 |
Comparing to | |
See all releases |
Code changes from version 4.1.2 to 4.1.3
- acurax-social-icon.php +7 -10
- css/style_admin.css +1 -1
- function.php +97 -161
- images/table_head_4.png +0 -0
- images/themes/1/instagram.png +0 -0
- images/themes/10/instagram.png +0 -0
- images/themes/11/instagram.png +0 -0
- images/themes/12/facebook.png +0 -0
- images/themes/12/feed.png +0 -0
- images/themes/12/instagram.png +0 -0
- images/themes/12/linkedin.png +0 -0
- images/themes/12/pinterest.png +0 -0
- images/themes/12/youtube.png +0 -0
- images/themes/13/instagram.png +0 -0
- images/themes/14/instagram.png +0 -0
- images/themes/14/youtube.png +0 -0
- images/themes/15/facebook.png +0 -0
- images/themes/15/feed.png +0 -0
- images/themes/15/googleplus.png +0 -0
- images/themes/15/instagram.png +0 -0
- images/themes/15/linkedin.png +0 -0
- images/themes/15/pinterest.png +0 -0
- images/themes/15/twitter.png +0 -0
- images/themes/15/youtube.png +0 -0
- images/themes/16/instagram.png +0 -0
- images/themes/16/linkedin.png +0 -0
- images/themes/17/feed.png +0 -0
- images/themes/17/instagram.png +0 -0
- images/themes/18/instagram.png +0 -0
- images/themes/19/instagram.png +0 -0
- images/themes/2/instagram.png +0 -0
- images/themes/20/instagram.png +0 -0
- images/themes/21/instagram.png +0 -0
- images/themes/22/instagram.png +0 -0
- images/themes/23/instagram.png +0 -0
- images/themes/24/instagram.png +0 -0
- images/themes/25/facebook.png +0 -0
- images/themes/25/feed.png +0 -0
- images/themes/25/googleplus.png +0 -0
- images/themes/25/index.html +6 -0
- images/themes/25/instagram.png +0 -0
- images/themes/25/linkedin.png +0 -0
- images/themes/25/pinterest.png +0 -0
- images/themes/25/twitter.png +0 -0
- images/themes/25/youtube.png +0 -0
- images/themes/26/facebook.png +0 -0
- images/themes/26/feed.png +0 -0
- images/themes/26/googleplus.png +0 -0
- images/themes/26/index.html +6 -0
- images/themes/26/instagram.png +0 -0
- images/themes/26/linkedin.png +0 -0
- images/themes/26/pinterest.png +0 -0
- images/themes/26/twitter.png +0 -0
- images/themes/26/youtube.png +0 -0
- images/themes/27/facebook.png +0 -0
- images/themes/27/feed.png +0 -0
- images/themes/27/googleplus.png +0 -0
- images/themes/27/index.html +6 -0
- images/themes/27/instagram.png +0 -0
- images/themes/27/linkedin.png +0 -0
- images/themes/27/pinterest.png +0 -0
- images/themes/27/twitter.png +0 -0
- images/themes/27/youtube.png +0 -0
- images/themes/28/facebook.png +0 -0
- images/themes/28/feed.png +0 -0
- images/themes/28/googleplus.png +0 -0
- images/themes/28/index.html +6 -0
- images/themes/28/instagram.png +0 -0
- images/themes/28/linkedin.png +0 -0
- images/themes/28/pinterest.png +0 -0
- images/themes/28/twitter.png +0 -0
- images/themes/28/youtube.png +0 -0
- images/themes/29/facebook.png +0 -0
- images/themes/29/feed.png +0 -0
- images/themes/29/googleplus.png +0 -0
- images/themes/29/index.html +6 -0
- images/themes/29/instagram.png +0 -0
- images/themes/29/linkedin.png +0 -0
- images/themes/29/pinterest.png +0 -0
- images/themes/29/twitter.png +0 -0
- images/themes/29/youtube.png +0 -0
- images/themes/3/instagram.png +0 -0
- images/themes/30/facebook.png +0 -0
- images/themes/30/feed.png +0 -0
- images/themes/30/googleplus.png +0 -0
- images/themes/30/index.html +6 -0
- images/themes/30/instagram.png +0 -0
- images/themes/30/linkedin.png +0 -0
- images/themes/30/pinterest.png +0 -0
- images/themes/30/twitter.png +0 -0
- images/themes/30/youtube.png +0 -0
- images/themes/4/instagram.png +0 -0
- images/themes/5/instagram.png +0 -0
- images/themes/5/linkedin.png +0 -0
- images/themes/5/youtube.png +0 -0
- images/themes/6/facebook.png +0 -0
- images/themes/6/feed.png +0 -0
- images/themes/6/instagram.png +0 -0
- images/themes/6/twitter.png +0 -0
- images/themes/6/youtube.png +0 -0
- images/themes/7/facebook.png +0 -0
- images/themes/7/feed.png +0 -0
- images/themes/7/googleplus.png +0 -0
- images/themes/7/instagram.png +0 -0
- images/themes/7/linkedin.png +0 -0
- images/themes/7/pinterest.png +0 -0
- images/themes/7/twitter.png +0 -0
- images/themes/7/youtube.png +0 -0
- images/themes/8/instagram.png +0 -0
- images/themes/8/youtube.png +0 -0
- images/themes/9/instagram.png +0 -0
- includes/hook_functions.php +39 -75
- includes/option_fields.php +98 -162
- readme.txt +30 -16
@@ -4,7 +4,7 @@ Plugin Name: Social Media Flying Icons | Floating Social Media Icon
|
|
4 |
Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
|
5 |
Description: Floating Social Media Icon / Social Media Floating Icons is a complete solution that help you to have Interactive Social Media Icons on your website which links to your social media profiles. The icons will catch your visitors attention by flying from top left to bottom right of your website.Its highly customizable with Drag and Drop Icon Reorder, Icon Size, Multiple Icon Styles etc.
|
6 |
Author: Acurax
|
7 |
-
Version: 4.1.
|
8 |
Author URI: http://www.acurax.com/home.php
|
9 |
License: GPLv2 or later
|
10 |
Text Domain: floating-social-media-icon
|
@@ -30,8 +30,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
30 |
*/
|
31 |
define("ACX_FSMI_BASE_LOCATION",plugin_dir_url( __FILE__ ));
|
32 |
define("ACX_FSMI_WP_SLUG","floating-social-media-icon");
|
33 |
-
define('ACX_FSMI_TOTAL_STATIC_SERVICES',
|
34 |
-
define('ACX_FSMI_C_VERSION', '4.1.
|
35 |
include_once(plugin_dir_path( __FILE__ ).'/function.php');
|
36 |
include_once(plugin_dir_path( __FILE__ ).'/includes/hooks.php');
|
37 |
include_once(plugin_dir_path( __FILE__ ).'/includes/hook_functions.php');
|
@@ -80,8 +80,6 @@ function acx_fsmi_social_icon_misc()
|
|
80 |
}
|
81 |
function acx_fsmi_admin_actions()
|
82 |
{
|
83 |
-
|
84 |
-
//global $acx_si_fsmi_hide_expert_support_menu;
|
85 |
$acx_si_fsmi_hide_expert_support_menu = get_option('acx_si_fsmi_hide_expert_support_menu');
|
86 |
add_menu_page( __( 'Acurax Social Icon Plugin Configuration', 'floating-social-media-icon' ), __( 'Floating Social Media Settings', 'floating-social-media-icon' ), 'manage_options', 'Acurax-Social-Icons-Settings','acx_fsmi_options',ACX_FSMI_BASE_LOCATION.'/images/admin.png' ); // manage_options for admin
|
87 |
|
@@ -93,11 +91,10 @@ function acx_fsmi_admin_actions()
|
|
93 |
if($acx_si_fsmi_hide_expert_support_menu == "no") {
|
94 |
add_submenu_page( 'Acurax-Social-Icons-Settings', __( 'Expert Wordpress Support From Acurax', 'floating-social-media-icon' ), __( 'Expert Support', 'floating-social-media-icon' ), 'manage_options', 'Acurax-Social-Icons-Expert-Support' ,'acx_fsmi_expert_support');
|
95 |
}
|
96 |
-
add_submenu_page( 'Acurax-Social-Icons-Settings', __( 'Acurax Social Icon Help and Support', 'floating-social-media-icon' ), __( 'Help', 'floating-social-media-icon' ), 'manage_options', 'Acurax-Social-Icons-Help' ,'acx_fsmi_social_icon_help');
|
97 |
-
|
98 |
}
|
99 |
if (is_admin())
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
?>
|
4 |
Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
|
5 |
Description: Floating Social Media Icon / Social Media Floating Icons is a complete solution that help you to have Interactive Social Media Icons on your website which links to your social media profiles. The icons will catch your visitors attention by flying from top left to bottom right of your website.Its highly customizable with Drag and Drop Icon Reorder, Icon Size, Multiple Icon Styles etc.
|
6 |
Author: Acurax
|
7 |
+
Version: 4.1.3
|
8 |
Author URI: http://www.acurax.com/home.php
|
9 |
License: GPLv2 or later
|
10 |
Text Domain: floating-social-media-icon
|
30 |
*/
|
31 |
define("ACX_FSMI_BASE_LOCATION",plugin_dir_url( __FILE__ ));
|
32 |
define("ACX_FSMI_WP_SLUG","floating-social-media-icon");
|
33 |
+
define('ACX_FSMI_TOTAL_STATIC_SERVICES', 8);
|
34 |
+
define('ACX_FSMI_C_VERSION', '4.1.3');
|
35 |
include_once(plugin_dir_path( __FILE__ ).'/function.php');
|
36 |
include_once(plugin_dir_path( __FILE__ ).'/includes/hooks.php');
|
37 |
include_once(plugin_dir_path( __FILE__ ).'/includes/hook_functions.php');
|
80 |
}
|
81 |
function acx_fsmi_admin_actions()
|
82 |
{
|
|
|
|
|
83 |
$acx_si_fsmi_hide_expert_support_menu = get_option('acx_si_fsmi_hide_expert_support_menu');
|
84 |
add_menu_page( __( 'Acurax Social Icon Plugin Configuration', 'floating-social-media-icon' ), __( 'Floating Social Media Settings', 'floating-social-media-icon' ), 'manage_options', 'Acurax-Social-Icons-Settings','acx_fsmi_options',ACX_FSMI_BASE_LOCATION.'/images/admin.png' ); // manage_options for admin
|
85 |
|
91 |
if($acx_si_fsmi_hide_expert_support_menu == "no") {
|
92 |
add_submenu_page( 'Acurax-Social-Icons-Settings', __( 'Expert Wordpress Support From Acurax', 'floating-social-media-icon' ), __( 'Expert Support', 'floating-social-media-icon' ), 'manage_options', 'Acurax-Social-Icons-Expert-Support' ,'acx_fsmi_expert_support');
|
93 |
}
|
94 |
+
add_submenu_page( 'Acurax-Social-Icons-Settings', __( 'Acurax Social Icon Help and Support', 'floating-social-media-icon' ), __( 'Help', 'floating-social-media-icon' ), 'manage_options', 'Acurax-Social-Icons-Help' ,'acx_fsmi_social_icon_help');
|
|
|
95 |
}
|
96 |
if (is_admin())
|
97 |
+
{
|
98 |
+
add_action('admin_menu', 'acx_fsmi_admin_actions');
|
99 |
+
}
|
100 |
?>
|
@@ -126,7 +126,7 @@ float:left;
|
|
126 |
{
|
127 |
border: 0 none;
|
128 |
margin-top: 6px;
|
129 |
-
width:
|
130 |
margin-left:1px;
|
131 |
}
|
132 |
#acx_help_page
|
126 |
{
|
127 |
border: 0 none;
|
128 |
margin-top: 6px;
|
129 |
+
width: 32px !important;
|
130 |
margin-left:1px;
|
131 |
}
|
132 |
#acx_help_page
|
@@ -8,120 +8,33 @@ function acx_fsmi_theme_array_filter_hook()
|
|
8 |
} add_action('init','acx_fsmi_theme_array_filter_hook');
|
9 |
function acx_fsmi_theme_array_filter_fn($acx_fsmi_themes_array)
|
10 |
{
|
11 |
-
|
12 |
} add_filter('acx_fsmi_theme_array_filter','acx_fsmi_theme_array_filter_fn',5);
|
13 |
|
14 |
function acx_fsmi_theme_add_filter_fn($acx_fsmi_themes_array)
|
15 |
{
|
16 |
-
$
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
$acx_fsmi_themes_array['1'] = array(
|
21 |
-
'id' => 1,
|
22 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
23 |
-
);
|
24 |
-
$acx_fsmi_themes_array['2'] = array(
|
25 |
-
'id' => 2,
|
26 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
27 |
-
);
|
28 |
-
$acx_fsmi_themes_array['3'] = array(
|
29 |
-
'id' => 3,
|
30 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
31 |
-
);
|
32 |
-
$acx_fsmi_themes_array['4'] = array(
|
33 |
-
'id' => 4,
|
34 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
35 |
-
);
|
36 |
-
$acx_fsmi_themes_array['5'] = array(
|
37 |
-
'id' => 5,
|
38 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
39 |
-
);
|
40 |
-
$acx_fsmi_themes_array['6'] = array(
|
41 |
-
'id' => 6,
|
42 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
43 |
-
);
|
44 |
-
$acx_fsmi_themes_array['7'] = array(
|
45 |
-
'id' => 7,
|
46 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
47 |
-
);$acx_fsmi_themes_array['8'] = array(
|
48 |
-
'id' => 8,
|
49 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
50 |
-
);$acx_fsmi_themes_array['9'] = array(
|
51 |
-
'id' => 9,
|
52 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
53 |
-
);
|
54 |
-
$acx_fsmi_themes_array['10'] = array(
|
55 |
-
'id' => 10,
|
56 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
57 |
-
);
|
58 |
-
$acx_fsmi_themes_array['11'] = array(
|
59 |
-
'id' => 11,
|
60 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
61 |
-
);
|
62 |
-
$acx_fsmi_themes_array['12'] = array(
|
63 |
-
'id' => 12,
|
64 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
65 |
-
);
|
66 |
-
$acx_fsmi_themes_array['13'] = array(
|
67 |
-
'id' => 13,
|
68 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
69 |
-
);
|
70 |
-
$acx_fsmi_themes_array['14'] = array(
|
71 |
-
'id' => 14,
|
72 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
73 |
-
);
|
74 |
-
$acx_fsmi_themes_array['15'] = array(
|
75 |
-
'id' => 15,
|
76 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
77 |
-
);
|
78 |
-
$acx_fsmi_themes_array['16'] = array(
|
79 |
-
'id' => 16,
|
80 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
81 |
-
);
|
82 |
-
$acx_fsmi_themes_array['17'] = array(
|
83 |
-
'id' => 17,
|
84 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
85 |
-
);
|
86 |
-
$acx_fsmi_themes_array['18'] = array(
|
87 |
-
'id' => 18,
|
88 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
89 |
-
);
|
90 |
-
$acx_fsmi_themes_array['19'] = array(
|
91 |
-
'id' => 19,
|
92 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
93 |
-
);
|
94 |
-
$acx_fsmi_themes_array['20'] = array(
|
95 |
-
'id' => 20,
|
96 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
97 |
-
);
|
98 |
-
$acx_fsmi_themes_array['21'] = array(
|
99 |
-
'id' => 21,
|
100 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
101 |
-
);
|
102 |
-
$acx_fsmi_themes_array['22'] = array(
|
103 |
-
'id' => 22,
|
104 |
-
'path' => ACX_FSMI_BASE_LOCATION
|
105 |
-
);
|
106 |
-
$acx_fsmi_themes_array['23'] = array(
|
107 |
-
'id' => 23,
|
108 |
'path' => ACX_FSMI_BASE_LOCATION
|
109 |
-
|
|
|
110 |
return $acx_fsmi_themes_array;
|
111 |
}
|
112 |
add_filter('acx_fsmi_theme_array_filter','acx_fsmi_theme_add_filter_fn',55);
|
113 |
function acx_fsmi_styles()
|
114 |
{
|
115 |
-
wp_register_style('acx_fsmi_admin_style', plugins_url('css/style_admin.css', __FILE__));
|
116 |
wp_enqueue_style('acx_fsmi_admin_style');
|
117 |
|
118 |
-
wp_register_style('acx_fsmi_box_style', plugins_url('css/layout.css', __FILE__));
|
119 |
wp_enqueue_style('acx_fsmi_box_style');
|
120 |
}
|
121 |
add_action('admin_enqueue_scripts', 'acx_fsmi_styles');
|
122 |
function acx_fsmi_css()
|
123 |
{
|
124 |
-
wp_register_style('acx_fsmi_styles', plugins_url('css/style.css', __FILE__));
|
125 |
wp_enqueue_style('acx_fsmi_styles');
|
126 |
}
|
127 |
add_action('admin_enqueue_scripts','acx_fsmi_css');
|
@@ -184,7 +97,7 @@ $acx_installation_url = "";
|
|
184 |
<div class="acx_fsmi_es_acx_content_area">
|
185 |
<div class="acx_fsmi_es_wp_left_area">
|
186 |
<div class="acx_fsmi_es_wp_left_content_inner">
|
187 |
-
<div class="acx_fsmi_es_wp_main_head"><?php _e('
|
188 |
<div class="acx_fsmi_es_wp_sub_para_des"><?php _e('Acurax offer a number of WordPress related services: Form installing WordPress on your domain to offering support for existing WordPress sites.','floating-social-media-icon'); ?></div> <!-- acx_fsmi_es_wp_sub_para_des -->
|
189 |
<div class="acx_fsmi_es_wp_acx_service_list">
|
190 |
<ul>
|
@@ -194,7 +107,7 @@ $acx_installation_url = "";
|
|
194 |
<li><?php _e('Explain Errors And Recommend Solutions','floating-social-media-icon'); ?></li>
|
195 |
<li><?php _e('Custom Plugin Development According To Your Needs','floating-social-media-icon'); ?></li>
|
196 |
<li><?php _e('Plugin Integration Support','floating-social-media-icon'); ?></li>
|
197 |
-
<li><?php _e('Many','floating-social-media-icon'); ?> <a href="http://
|
198 |
</ul>
|
199 |
</div> <!-- acx_fsmi_es_wp_acx_service_list -->
|
200 |
|
@@ -353,9 +266,6 @@ function acx_quick_fsmi_request_submit_callback()
|
|
353 |
die(); // this is required to return a proper result
|
354 |
}add_action('wp_ajax_acx_quick_fsmi_request_submit','acx_quick_fsmi_request_submit_callback');
|
355 |
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
//*************** Include style.css in Header ********
|
360 |
// Getting Option From DB *****************************
|
361 |
$acx_si_theme = get_option('acx_si_theme');
|
@@ -368,6 +278,7 @@ $acx_si_linkedin = get_option('acx_si_linkedin');
|
|
368 |
$acx_si_gplus = get_option('acx_si_gplus');
|
369 |
$acx_si_pinterest = get_option('acx_si_pinterest');
|
370 |
$acx_si_feed = get_option('acx_si_feed');
|
|
|
371 |
$acx_si_icon_size = get_option('acx_si_icon_size');
|
372 |
$acx_si_fsmi_float_fix = get_option('acx_si_fsmi_float_fix');
|
373 |
$acx_si_fsmi_theme_warning_ignore = get_option('acx_si_fsmi_theme_warning_ignore');
|
@@ -462,17 +373,13 @@ function acurax_si_simple($acx_array) // Added Default "" // Updated << and V (a
|
|
462 |
{
|
463 |
// Getting Globals *****************************
|
464 |
global $acx_si_theme, $acx_si_credit, $acx_si_display , $acx_si_twitter, $acx_si_facebook, $acx_si_youtube,
|
465 |
-
$acx_si_linkedin, $acx_si_gplus, $acx_si_pinterest, $acx_si_feed, $acx_si_icon_size;
|
466 |
// *****************************************************
|
467 |
-
|
468 |
if(is_array($acx_array) && array_key_exists('theme',$acx_array))
|
469 |
{
|
470 |
$theme = $acx_array['theme'];
|
471 |
}
|
472 |
-
else
|
473 |
-
{
|
474 |
-
$theme = '';
|
475 |
-
}
|
476 |
if(empty($acx_array))
|
477 |
{
|
478 |
$acx_array = array('theme' =>$acx_si_theme,
|
@@ -484,18 +391,14 @@ function acurax_si_simple($acx_array) // Added Default "" // Updated << and V (a
|
|
484 |
{
|
485 |
$size = $acx_array['size'];
|
486 |
}
|
487 |
-
else
|
488 |
-
{
|
489 |
-
$size = '';
|
490 |
-
}
|
491 |
if($size == "")
|
492 |
{
|
493 |
-
|
494 |
}
|
495 |
if($size != "")
|
496 |
{
|
497 |
-
|
498 |
-
|
499 |
} else
|
500 |
{
|
501 |
$acx_si_icon_height_width_attribute = "";
|
@@ -545,14 +448,22 @@ function acurax_si_simple($acx_array) // Added Default "" // Updated << and V (a
|
|
545 |
$alt_text_feed = __('Check Our Feed','floating-social-media-icon');
|
546 |
$feed_link = "<a href='". $acx_si_feed ."' target='_blank' ".$acx_si_fsmi_rel." title='".$alt_text_feed."'>" . "<img src='".ACX_FSMI_BASE_LOCATION."images/themes/". $acx_si_touse_theme ."/feed.png' style='border:0px;' alt='".$alt_text_feed."' ".$acx_si_icon_height_width_attribute." /></a>";
|
547 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
548 |
$social_icon_array_order = get_option('social_icon_array_order');
|
549 |
if(is_serialized($social_icon_array_order))
|
550 |
{
|
551 |
-
|
552 |
}
|
553 |
if($social_icon_array_order == "")
|
554 |
{
|
555 |
-
|
556 |
}
|
557 |
$html = '' ;
|
558 |
foreach ($social_icon_array_order as $key => $value)
|
@@ -565,6 +476,8 @@ function acurax_si_simple($acx_array) // Added Default "" // Updated << and V (a
|
|
565 |
else if ($value == 5) { $html .= $linkedin_link; }
|
566 |
|
567 |
else if ($value == 6) { $html .= $feed_link; }
|
|
|
|
|
568 |
}
|
569 |
$html = apply_filters('acx_fsmip_si_simple',$acx_array,$html);
|
570 |
|
@@ -628,10 +541,10 @@ add_action('admin_notices', 'acx_theme_check_wp_footer');
|
|
628 |
function acurax_icons()
|
629 |
{
|
630 |
global $acx_si_theme, $acx_si_credit, $acx_si_display , $acx_si_twitter, $acx_si_facebook, $acx_si_youtube,
|
631 |
-
$acx_si_linkedin, $acx_si_gplus, $acx_si_pinterest, $acx_si_feed
|
632 |
|
633 |
if($acx_si_twitter != "" || $acx_si_facebook != "" || $acx_si_youtube != "" || $acx_si_linkedin != "" ||
|
634 |
-
$acx_si_pinterest != "" || $acx_si_gplus != "" || $acx_si_feed != "")
|
635 |
{
|
636 |
//*********************** STARTED DISPLAYING THE ICONS ***********************
|
637 |
echo "\n\n\n<!-- Starting Icon Display Code For Social Media Icon From Acurax International www.acurax.com -->\n";
|
@@ -668,6 +581,7 @@ function acx_load_floating_js()
|
|
668 |
$acx_si_youtube = get_option('acx_si_youtube');
|
669 |
$acx_si_linkedin = get_option('acx_si_linkedin');
|
670 |
$acx_si_feed = get_option('acx_si_feed');
|
|
|
671 |
$acx_si_gplus = get_option('acx_si_gplus');
|
672 |
$acx_si_pinterest = get_option('acx_si_pinterest');
|
673 |
$count_check = 0;
|
@@ -678,6 +592,7 @@ function acx_load_floating_js()
|
|
678 |
$l5 = 0;
|
679 |
$l6 = 0;
|
680 |
$l7 = 0;
|
|
|
681 |
if ($acx_si_twitter != "") { $l1 = 1; }
|
682 |
if ($acx_si_facebook != "") { $l2 = 1; }
|
683 |
if ($acx_si_youtube != "") { $l3 = 1; }
|
@@ -685,7 +600,8 @@ function acx_load_floating_js()
|
|
685 |
if ($acx_si_gplus != "") { $l5 = 1; }
|
686 |
if ($acx_si_pinterest != "") { $l6 = 1; }
|
687 |
if ($acx_si_feed != "") { $l7 = 1; }
|
688 |
-
|
|
|
689 |
if ($acx_si_icon_size == $icon_size && $count_check == $count)
|
690 |
{
|
691 |
global $x;
|
@@ -707,6 +623,7 @@ function acx_load_floating_js()
|
|
707 |
acx_si_check_loaded_count(5,16,-170,-35);
|
708 |
acx_si_check_loaded_count(6,16,-170,-35);
|
709 |
acx_si_check_loaded_count(7,16,-170,-35);
|
|
|
710 |
// *********************************
|
711 |
// Icon Size 25 Starts Here
|
712 |
acx_si_check_loaded_count(1,25,-160,-50);
|
@@ -716,6 +633,7 @@ function acx_load_floating_js()
|
|
716 |
acx_si_check_loaded_count(5,25,-160,-50);
|
717 |
acx_si_check_loaded_count(6,25,-180,-50);
|
718 |
acx_si_check_loaded_count(7,25,-180,-50);
|
|
|
719 |
// *********************************
|
720 |
// Icon Size 32 Starts Here
|
721 |
acx_si_check_loaded_count(1,32,-170,-55);
|
@@ -725,6 +643,7 @@ function acx_load_floating_js()
|
|
725 |
acx_si_check_loaded_count(5,32,-190,-70);
|
726 |
acx_si_check_loaded_count(6,32,-160,-80);
|
727 |
acx_si_check_loaded_count(7,32,-160,-80);
|
|
|
728 |
// *********************************
|
729 |
// Icon Size 40 Starts Here
|
730 |
acx_si_check_loaded_count(1,40,-170,-65);
|
@@ -734,6 +653,7 @@ function acx_load_floating_js()
|
|
734 |
acx_si_check_loaded_count(5,40,-170,-105);
|
735 |
acx_si_check_loaded_count(6,40,-170,-105);
|
736 |
acx_si_check_loaded_count(7,40,-170,-145);
|
|
|
737 |
// *********************************
|
738 |
// Icon Size 48 Starts Here
|
739 |
acx_si_check_loaded_count(1,48,-170,-75);
|
@@ -743,6 +663,7 @@ function acx_load_floating_js()
|
|
743 |
acx_si_check_loaded_count(5,48,-170,-120);
|
744 |
acx_si_check_loaded_count(6,48,-170,-120);
|
745 |
acx_si_check_loaded_count(7,48,-170,-175);
|
|
|
746 |
// *********************************
|
747 |
// Icon Size 55 Starts Here
|
748 |
acx_si_check_loaded_count(1,55,-170,-80);
|
@@ -752,6 +673,7 @@ function acx_load_floating_js()
|
|
752 |
acx_si_check_loaded_count(5,55,-190,-135);
|
753 |
acx_si_check_loaded_count(6,55,-190,-135);
|
754 |
acx_si_check_loaded_count(7,55,-190,-200);
|
|
|
755 |
// *********************************
|
756 |
/**************************************************************************
|
757 |
CONDITIONS ENDING HERE
|
@@ -798,14 +720,14 @@ function acx_load_floating_js()
|
|
798 |
function pbl_footer()
|
799 |
{
|
800 |
global $acx_si_theme, $acx_si_credit, $acx_si_display , $acx_si_twitter, $acx_si_facebook, $acx_si_youtube,
|
801 |
-
$acx_si_linkedin, $acx_si_gplus, $acx_si_pinterest, $acx_si_feed;
|
802 |
//********** CHECKING CREDIT LINK STATUS ******************
|
803 |
-
if($acx_si_twitter != "" || $acx_si_facebook != "" || $acx_si_youtube != "" || $acx_si_linkedin != "" || $acx_si_pinterest != "" || $acx_si_gplus != "" || $acx_si_feed != "")
|
804 |
{
|
805 |
|
806 |
if($acx_si_credit == "yes")
|
807 |
{
|
808 |
-
$acx_fsmi_bl_style="text-align:center;
|
809 |
echo "<div style='".$acx_fsmi_bl_style."'>";
|
810 |
$acx_get_url = "http://";
|
811 |
$acx_get_url .= $_SERVER['HTTP_HOST'];
|
@@ -817,36 +739,40 @@ function pbl_footer()
|
|
817 |
$x = strlen($acx_get_url);
|
818 |
if(($x % 10) == 0)
|
819 |
{
|
820 |
-
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-plugin
|
821 |
-
} else if(($x % 9) == 0)
|
822 |
-
{
|
823 |
-
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-plugin
|
824 |
-
} else if(($x % 8) == 0)
|
825 |
-
{
|
826 |
-
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-plugin
|
827 |
-
} else if(($x % 7) == 0)
|
828 |
-
{
|
829 |
-
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-plugin
|
830 |
-
} else if(($x % 6) == 0)
|
831 |
-
{
|
832 |
-
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-plugin
|
833 |
-
|
834 |
-
|
835 |
-
{
|
836 |
-
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-plugin
|
837 |
-
}
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
-
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
-
|
|
|
|
|
|
|
|
|
850 |
// Ending Crediting
|
851 |
echo "</div>";
|
852 |
}
|
@@ -1021,7 +947,11 @@ $acx_si_current_page = "";
|
|
1021 |
//-- **************** CODE TO FIND PAGE ENDS HERE***********************************
|
1022 |
$total_arrays = ACX_FSMI_TOTAL_STATIC_SERVICES; // Number Of Services
|
1023 |
$social_icon_array_order = get_option('social_icon_array_order');
|
1024 |
-
|
|
|
|
|
|
|
|
|
1025 |
$social_icon_array_count = count($social_icon_array_order);
|
1026 |
if ($social_icon_array_count < $total_arrays)
|
1027 |
{
|
@@ -1041,7 +971,7 @@ function acx_si_pluign_not_configured()
|
|
1041 |
}
|
1042 |
if ($social_icon_array_count == $total_arrays)
|
1043 |
{
|
1044 |
-
if ($acx_si_twitter == "" && $acx_si_facebook == "" && $acx_si_youtube == "" && $acx_si_linkedin == "" && $acx_si_pinterest == "" && $acx_si_gplus == "" && $acx_si_feed == "")
|
1045 |
{
|
1046 |
if($acx_si_current_page != "Acurax-Social-Icons-Settings")
|
1047 |
{
|
@@ -1081,14 +1011,15 @@ $acx_fsmi_days_till_today_from_install = time()-$acx_si_installed_date;
|
|
1081 |
$acx_fsmi_days_till_today_from_install = round(($acx_fsmi_days_till_today_from_install/60/60/24))." Days";
|
1082 |
|
1083 |
global $current_user;
|
1084 |
-
get_currentuserinfo();
|
|
|
1085 |
$acx_fsmi_current_user = $current_user->display_name;
|
1086 |
if($acx_fsmi_current_user == "")
|
1087 |
{
|
1088 |
$acx_fsmi_current_user = "Webmaster";
|
1089 |
}
|
1090 |
|
1091 |
-
echo '<div id="acx_td_fsmi" class="notice">'. __("Hey","floating-social-media-icon").' <b>'.$acx_fsmi_current_user.'</b>'. __(", Do you know? You were using Floating Social Media Icon Wordpress Plugin for the last","floating-social-media-icon").' <b>'.$acx_fsmi_days_till_today_from_install.'</b>'. __(", We are sure, your visitors loved the flying icons.","floating-social-media-icon").'<br>'. __("From the bottom of our heart, we the team @ ","floating-social-media-icon").'<a href="http://
|
1092 |
}
|
1093 |
$acx_si_installed_date = get_option('acx_si_installed_date');
|
1094 |
if ($acx_si_installed_date=="") { $acx_si_installed_date = time();}
|
@@ -1105,11 +1036,11 @@ $acx_fsmi_next_date = get_option('acx_fsmi_next_date');
|
|
1105 |
|
1106 |
if(time() > $acx_fsmi_next_date)
|
1107 |
{
|
1108 |
-
$acx_fsmi_prom = true;
|
1109 |
}
|
1110 |
if ($acx_fsmi_prom == true && get_option('acx_si_td') == "show")
|
1111 |
{
|
1112 |
-
add_action('admin_notices', 'acx_si_pluign_promotion',1);
|
1113 |
}
|
1114 |
|
1115 |
// Starting Widget Code
|
@@ -1143,6 +1074,8 @@ class Acx_Social_Icons_Widget extends WP_Widget
|
|
1143 |
{
|
1144 |
echo $before_title . $title . $after_title;
|
1145 |
}
|
|
|
|
|
1146 |
echo "<style>\n";
|
1147 |
echo "." . $this->get_field_id('widget') . " img \n{\n";
|
1148 |
echo "width:" . $icon_size . "px; \n } \n";
|
@@ -1587,11 +1520,14 @@ add_action('acx_fsmi_comparison_premium','socialicons_comparison',1);
|
|
1587 |
function acx_fsmi_saveorder_callback()
|
1588 |
{
|
1589 |
if(!isset($_POST['acx_fsmi_saveorder_es'])) die("<br><br>".__('Unknown Error Occurred, Try Again... ','floating-social-media-icon')."<a href=''>".__('Click Here','floating-social-media-icon')."</a>");
|
1590 |
-
if(!wp_verify_nonce($_POST['acx_fsmi_saveorder_es'],'acx_fsmi_saveorder_es')) die("<br><br>".__('Sorry, You have no permission to do this action...','floating-social-media-icon')."</a>");
|
1591 |
global $wpdb;
|
1592 |
$social_icon_array_order = $_POST['recordsArray'];
|
1593 |
if (current_user_can('manage_options')) {
|
1594 |
-
|
|
|
|
|
|
|
1595 |
update_option('social_icon_array_order', $social_icon_array_order);
|
1596 |
echo "<div id='acurax_notice' align='center' style='width: 420px; font-family: arial; font-weight: normal; font-size: 22px;'>";
|
1597 |
_e("Social Media Icon's Order Saved","floating-social-media-icon");
|
8 |
} add_action('init','acx_fsmi_theme_array_filter_hook');
|
9 |
function acx_fsmi_theme_array_filter_fn($acx_fsmi_themes_array)
|
10 |
{
|
11 |
+
return $acx_fsmi_themes_array;
|
12 |
} add_filter('acx_fsmi_theme_array_filter','acx_fsmi_theme_array_filter_fn',5);
|
13 |
|
14 |
function acx_fsmi_theme_add_filter_fn($acx_fsmi_themes_array)
|
15 |
{
|
16 |
+
for($i = 0;$i < 30 ;$i++)
|
17 |
+
{
|
18 |
+
$acx_fsmi_themes_array[$i] = array(
|
19 |
+
'id' => $i,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
'path' => ACX_FSMI_BASE_LOCATION
|
21 |
+
);
|
22 |
+
}
|
23 |
return $acx_fsmi_themes_array;
|
24 |
}
|
25 |
add_filter('acx_fsmi_theme_array_filter','acx_fsmi_theme_add_filter_fn',55);
|
26 |
function acx_fsmi_styles()
|
27 |
{
|
28 |
+
wp_register_style('acx_fsmi_admin_style', plugins_url('css/style_admin.css?v='.ACX_FSMI_C_VERSION, __FILE__));
|
29 |
wp_enqueue_style('acx_fsmi_admin_style');
|
30 |
|
31 |
+
wp_register_style('acx_fsmi_box_style', plugins_url('css/layout.css?v='.ACX_FSMI_C_VERSION, __FILE__));
|
32 |
wp_enqueue_style('acx_fsmi_box_style');
|
33 |
}
|
34 |
add_action('admin_enqueue_scripts', 'acx_fsmi_styles');
|
35 |
function acx_fsmi_css()
|
36 |
{
|
37 |
+
wp_register_style('acx_fsmi_styles', plugins_url('css/style.css?v='.ACX_FSMI_C_VERSION, __FILE__));
|
38 |
wp_enqueue_style('acx_fsmi_styles');
|
39 |
}
|
40 |
add_action('admin_enqueue_scripts','acx_fsmi_css');
|
97 |
<div class="acx_fsmi_es_acx_content_area">
|
98 |
<div class="acx_fsmi_es_wp_left_area">
|
99 |
<div class="acx_fsmi_es_wp_left_content_inner">
|
100 |
+
<div class="acx_fsmi_es_wp_main_head"><?php _e('Get Expert Support For Your Website Needs Instantly','floating-social-media-icon');?></div> <!-- wp_main_head -->
|
101 |
<div class="acx_fsmi_es_wp_sub_para_des"><?php _e('Acurax offer a number of WordPress related services: Form installing WordPress on your domain to offering support for existing WordPress sites.','floating-social-media-icon'); ?></div> <!-- acx_fsmi_es_wp_sub_para_des -->
|
102 |
<div class="acx_fsmi_es_wp_acx_service_list">
|
103 |
<ul>
|
107 |
<li><?php _e('Explain Errors And Recommend Solutions','floating-social-media-icon'); ?></li>
|
108 |
<li><?php _e('Custom Plugin Development According To Your Needs','floating-social-media-icon'); ?></li>
|
109 |
<li><?php _e('Plugin Integration Support','floating-social-media-icon'); ?></li>
|
110 |
+
<li><?php _e('Many','floating-social-media-icon'); ?> <a href="http://www.acurax.com/?utm_source=fsmi&utm_campaign=expert_support" target="_blank"><?php _e('More...','floating-social-media-icon'); ?></a></li>
|
111 |
</ul>
|
112 |
</div> <!-- acx_fsmi_es_wp_acx_service_list -->
|
113 |
|
266 |
die(); // this is required to return a proper result
|
267 |
}add_action('wp_ajax_acx_quick_fsmi_request_submit','acx_quick_fsmi_request_submit_callback');
|
268 |
|
|
|
|
|
|
|
269 |
//*************** Include style.css in Header ********
|
270 |
// Getting Option From DB *****************************
|
271 |
$acx_si_theme = get_option('acx_si_theme');
|
278 |
$acx_si_gplus = get_option('acx_si_gplus');
|
279 |
$acx_si_pinterest = get_option('acx_si_pinterest');
|
280 |
$acx_si_feed = get_option('acx_si_feed');
|
281 |
+
$acx_si_instagram = get_option('acx_si_instagram');
|
282 |
$acx_si_icon_size = get_option('acx_si_icon_size');
|
283 |
$acx_si_fsmi_float_fix = get_option('acx_si_fsmi_float_fix');
|
284 |
$acx_si_fsmi_theme_warning_ignore = get_option('acx_si_fsmi_theme_warning_ignore');
|
373 |
{
|
374 |
// Getting Globals *****************************
|
375 |
global $acx_si_theme, $acx_si_credit, $acx_si_display , $acx_si_twitter, $acx_si_facebook, $acx_si_youtube,
|
376 |
+
$acx_si_linkedin, $acx_si_gplus, $acx_si_pinterest, $acx_si_feed,$acx_si_instagram, $acx_si_icon_size;
|
377 |
// *****************************************************
|
378 |
+
$theme = $size = '';
|
379 |
if(is_array($acx_array) && array_key_exists('theme',$acx_array))
|
380 |
{
|
381 |
$theme = $acx_array['theme'];
|
382 |
}
|
|
|
|
|
|
|
|
|
383 |
if(empty($acx_array))
|
384 |
{
|
385 |
$acx_array = array('theme' =>$acx_si_theme,
|
391 |
{
|
392 |
$size = $acx_array['size'];
|
393 |
}
|
|
|
|
|
|
|
|
|
394 |
if($size == "")
|
395 |
{
|
396 |
+
$size = $acx_si_icon_size;
|
397 |
}
|
398 |
if($size != "")
|
399 |
{
|
400 |
+
$size = $size."px";
|
401 |
+
$acx_si_icon_height_width_attribute = "height='".$size."' width='".$size."'";
|
402 |
} else
|
403 |
{
|
404 |
$acx_si_icon_height_width_attribute = "";
|
448 |
$alt_text_feed = __('Check Our Feed','floating-social-media-icon');
|
449 |
$feed_link = "<a href='". $acx_si_feed ."' target='_blank' ".$acx_si_fsmi_rel." title='".$alt_text_feed."'>" . "<img src='".ACX_FSMI_BASE_LOCATION."images/themes/". $acx_si_touse_theme ."/feed.png' style='border:0px;' alt='".$alt_text_feed."' ".$acx_si_icon_height_width_attribute." /></a>";
|
450 |
}
|
451 |
+
if ($acx_si_instagram == "") { $instagram_link = ""; } else
|
452 |
+
{
|
453 |
+
$alt_text_instagram = __('Visit Us On Instagram','floating-social-media-icon');
|
454 |
+
$instagram_link = "<a href='". $acx_si_instagram ."' target='_blank' ".$acx_si_fsmi_rel." title='".$alt_text_instagram."'>" . "<img src='".ACX_FSMI_BASE_LOCATION."images/themes/". $acx_si_touse_theme ."/instagram.png' style='border:0px;' alt='".$alt_text_instagram."' ".$acx_si_icon_height_width_attribute." /></a>";
|
455 |
+
}
|
456 |
+
|
457 |
+
|
458 |
+
|
459 |
$social_icon_array_order = get_option('social_icon_array_order');
|
460 |
if(is_serialized($social_icon_array_order))
|
461 |
{
|
462 |
+
$social_icon_array_order = unserialize($social_icon_array_order);
|
463 |
}
|
464 |
if($social_icon_array_order == "")
|
465 |
{
|
466 |
+
$social_icon_array_order = array();
|
467 |
}
|
468 |
$html = '' ;
|
469 |
foreach ($social_icon_array_order as $key => $value)
|
476 |
else if ($value == 5) { $html .= $linkedin_link; }
|
477 |
|
478 |
else if ($value == 6) { $html .= $feed_link; }
|
479 |
+
else if ($value == 7) { $html .= $instagram_link; }
|
480 |
+
|
481 |
}
|
482 |
$html = apply_filters('acx_fsmip_si_simple',$acx_array,$html);
|
483 |
|
541 |
function acurax_icons()
|
542 |
{
|
543 |
global $acx_si_theme, $acx_si_credit, $acx_si_display , $acx_si_twitter, $acx_si_facebook, $acx_si_youtube,
|
544 |
+
$acx_si_linkedin, $acx_si_gplus, $acx_si_pinterest, $acx_si_feed,$acx_si_instagram,$acx_si_icon_size;
|
545 |
|
546 |
if($acx_si_twitter != "" || $acx_si_facebook != "" || $acx_si_youtube != "" || $acx_si_linkedin != "" ||
|
547 |
+
$acx_si_pinterest != "" || $acx_si_gplus != "" || $acx_si_feed != "" || $acx_si_instagram != "" )
|
548 |
{
|
549 |
//*********************** STARTED DISPLAYING THE ICONS ***********************
|
550 |
echo "\n\n\n<!-- Starting Icon Display Code For Social Media Icon From Acurax International www.acurax.com -->\n";
|
581 |
$acx_si_youtube = get_option('acx_si_youtube');
|
582 |
$acx_si_linkedin = get_option('acx_si_linkedin');
|
583 |
$acx_si_feed = get_option('acx_si_feed');
|
584 |
+
$acx_si_instagram = get_option('acx_si_instagram');
|
585 |
$acx_si_gplus = get_option('acx_si_gplus');
|
586 |
$acx_si_pinterest = get_option('acx_si_pinterest');
|
587 |
$count_check = 0;
|
592 |
$l5 = 0;
|
593 |
$l6 = 0;
|
594 |
$l7 = 0;
|
595 |
+
$l8 = 0;
|
596 |
if ($acx_si_twitter != "") { $l1 = 1; }
|
597 |
if ($acx_si_facebook != "") { $l2 = 1; }
|
598 |
if ($acx_si_youtube != "") { $l3 = 1; }
|
600 |
if ($acx_si_gplus != "") { $l5 = 1; }
|
601 |
if ($acx_si_pinterest != "") { $l6 = 1; }
|
602 |
if ($acx_si_feed != "") { $l7 = 1; }
|
603 |
+
if ($acx_si_instagram != "") { $l8 = 1; }
|
604 |
+
$count_check = $l1 + $l2 + $l3 + $l4 + $l5 + $l6 + $l7 + $l8;
|
605 |
if ($acx_si_icon_size == $icon_size && $count_check == $count)
|
606 |
{
|
607 |
global $x;
|
623 |
acx_si_check_loaded_count(5,16,-170,-35);
|
624 |
acx_si_check_loaded_count(6,16,-170,-35);
|
625 |
acx_si_check_loaded_count(7,16,-170,-35);
|
626 |
+
acx_si_check_loaded_count(8,16,-170,-35);
|
627 |
// *********************************
|
628 |
// Icon Size 25 Starts Here
|
629 |
acx_si_check_loaded_count(1,25,-160,-50);
|
633 |
acx_si_check_loaded_count(5,25,-160,-50);
|
634 |
acx_si_check_loaded_count(6,25,-180,-50);
|
635 |
acx_si_check_loaded_count(7,25,-180,-50);
|
636 |
+
acx_si_check_loaded_count(8,25,-180,-50);
|
637 |
// *********************************
|
638 |
// Icon Size 32 Starts Here
|
639 |
acx_si_check_loaded_count(1,32,-170,-55);
|
643 |
acx_si_check_loaded_count(5,32,-190,-70);
|
644 |
acx_si_check_loaded_count(6,32,-160,-80);
|
645 |
acx_si_check_loaded_count(7,32,-160,-80);
|
646 |
+
acx_si_check_loaded_count(8,32,-160,-80);
|
647 |
// *********************************
|
648 |
// Icon Size 40 Starts Here
|
649 |
acx_si_check_loaded_count(1,40,-170,-65);
|
653 |
acx_si_check_loaded_count(5,40,-170,-105);
|
654 |
acx_si_check_loaded_count(6,40,-170,-105);
|
655 |
acx_si_check_loaded_count(7,40,-170,-145);
|
656 |
+
acx_si_check_loaded_count(8,40,-170,-145);
|
657 |
// *********************************
|
658 |
// Icon Size 48 Starts Here
|
659 |
acx_si_check_loaded_count(1,48,-170,-75);
|
663 |
acx_si_check_loaded_count(5,48,-170,-120);
|
664 |
acx_si_check_loaded_count(6,48,-170,-120);
|
665 |
acx_si_check_loaded_count(7,48,-170,-175);
|
666 |
+
acx_si_check_loaded_count(8,48,-170,-175);
|
667 |
// *********************************
|
668 |
// Icon Size 55 Starts Here
|
669 |
acx_si_check_loaded_count(1,55,-170,-80);
|
673 |
acx_si_check_loaded_count(5,55,-190,-135);
|
674 |
acx_si_check_loaded_count(6,55,-190,-135);
|
675 |
acx_si_check_loaded_count(7,55,-190,-200);
|
676 |
+
acx_si_check_loaded_count(8,55,-190,-200);
|
677 |
// *********************************
|
678 |
/**************************************************************************
|
679 |
CONDITIONS ENDING HERE
|
720 |
function pbl_footer()
|
721 |
{
|
722 |
global $acx_si_theme, $acx_si_credit, $acx_si_display , $acx_si_twitter, $acx_si_facebook, $acx_si_youtube,
|
723 |
+
$acx_si_linkedin, $acx_si_gplus, $acx_si_pinterest, $acx_si_feed,$acx_si_instagram;
|
724 |
//********** CHECKING CREDIT LINK STATUS ******************
|
725 |
+
if($acx_si_twitter != "" || $acx_si_facebook != "" || $acx_si_youtube != "" || $acx_si_linkedin != "" || $acx_si_pinterest != "" || $acx_si_gplus != "" || $acx_si_feed != "" || $acx_si_instagram != "")
|
726 |
{
|
727 |
|
728 |
if($acx_si_credit == "yes")
|
729 |
{
|
730 |
+
$acx_fsmi_bl_style="text-align:center;font-family:arial;font-size:12px;text-decoration:none;";
|
731 |
echo "<div style='".$acx_fsmi_bl_style."'>";
|
732 |
$acx_get_url = "http://";
|
733 |
$acx_get_url .= $_SERVER['HTTP_HOST'];
|
739 |
$x = strlen($acx_get_url);
|
740 |
if(($x % 10) == 0)
|
741 |
{
|
742 |
+
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-wordpress-plugin/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>".__('Animated Social Media Icons','floating-social-media-icon')."</a> ".__(' by ','floating-social-media-icon')."<a href='http://www.acurax.com/webdesigning/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>".__('Acurax Wordpress Development Company','floating-social-media-icon')."</a>";
|
743 |
+
} else if(($x % 9) == 0)
|
744 |
+
{
|
745 |
+
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-wordpress-plugin/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>".__('Floating Social Media Icons','floating-social-media-icon')."</a> ".__(' by ','floating-social-media-icon')."<a href='http://www.acurax.com/webdesigning/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>".__('Acurax Wordpress Designers','floating-social-media-icon')."</a>";
|
746 |
+
} else if(($x % 8) == 0)
|
747 |
+
{
|
748 |
+
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-wordpress-plugin/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>".__('Social Media Integration','floating-social-media-icon')."</a>".__(' by ','floating-social-media-icon')." <a href='http://www.acurax.com/webdesigning/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>".__('Acurax Wordpress Developers','floating-social-media-icon')."</a>";
|
749 |
+
} else if(($x % 7) == 0)
|
750 |
+
{
|
751 |
+
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-wordpress-plugin/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>".__('Plugin for Social Media','floating-social-media-icon')."</a>". __(' by ','floating-social-media-icon')."<a href='http://www.acurax.com/webdesigning/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>".__('Acurax Wordpress Design Studio','floating-social-media-icon')."</a>";
|
752 |
+
} else if(($x % 6) == 0)
|
753 |
+
{
|
754 |
+
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-wordpress-plugin/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>". __('Social Media Widget','floating-social-media-icon')."</a>". __(' Powered by','floating-social-media-icon')." <a href='http://www.acurax.com/webdevelopment/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>".__('Acurax Web Development Company','floating-social-media-icon')."</a>";
|
755 |
+
}
|
756 |
+
else if(($x % 5) == 0)
|
757 |
+
{
|
758 |
+
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-wordpress-plugin/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>". __('Social Media Icons','floating-social-media-icon')."</a> ". __(' Powered by ','floating-social-media-icon')."<a href='http://www.acurax.com/webdesigning/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>".__('Acurax Web Design Company','floating-social-media-icon')."</a>";
|
759 |
+
}
|
760 |
+
else if(($x % 4) == 0)
|
761 |
+
{
|
762 |
+
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-wordpress-plugin/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>". __('Social Network Integration','floating-social-media-icon')."</a> ". __(' by','floating-social-media-icon')." <a href='http://www.acurax.com/social-profile-design/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>". __('Acurax Social Media Branding Company','floating-social-media-icon')."</a>";
|
763 |
+
} else if(($x % 3) == 0)
|
764 |
+
{
|
765 |
+
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-wordpress-plugin/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>". __('Social Network Widget','floating-social-media-icon')."</a>". __(' by ','floating-social-media-icon')."<a href='http://www.acurax.com/web-solution-consultation/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>". __('Acurax Small Business Website Designers','floating-social-media-icon')."</a>";
|
766 |
+
} else if(($x % 2) == 0)
|
767 |
+
{
|
768 |
+
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-wordpress-plugin/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>". __('Customized Social Media Icons','floating-social-media-icon')."</a>". __(' from ','floating-social-media-icon')."<a href='http://www.acurax.com/digital-marketing/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>". __('Acurax Digital Marketing Agency','floating-social-media-icon')."</a>";
|
769 |
+
} else if(($x % 1) == 0)
|
770 |
+
{
|
771 |
+
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-wordpress-plugin/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>". __('Animated Social Media Icons','floating-social-media-icon')."</a>". __(' by','floating-social-media-icon')." <a href='http://www.acurax.com/webdesigning/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>". __('Acurax Responsive Web Designing Company','floating-social-media-icon')."</a>";
|
772 |
+
} else
|
773 |
+
{
|
774 |
+
echo "<a href='http://www.acurax.com/products/floating-social-media-icon-wordpress-plugin/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>". __('SocialMedia Integration','floating-social-media-icon')."</a> ". __('Powered by','floating-social-media-icon')." <a href='http://www.acurax.com/ecommerce/?utm_source=fsmi&utm_campaign=blink' target='_blank' style='".$acx_fsmi_bl_style."'>". __('Acurax ecommerce Website Design Company','floating-social-media-icon')."</a>";
|
775 |
+
}
|
776 |
// Ending Crediting
|
777 |
echo "</div>";
|
778 |
}
|
947 |
//-- **************** CODE TO FIND PAGE ENDS HERE***********************************
|
948 |
$total_arrays = ACX_FSMI_TOTAL_STATIC_SERVICES; // Number Of Services
|
949 |
$social_icon_array_order = get_option('social_icon_array_order');
|
950 |
+
if(is_serialized($social_icon_array_order))
|
951 |
+
{
|
952 |
+
$social_icon_array_order = unserialize($social_icon_array_order);
|
953 |
+
}
|
954 |
+
|
955 |
$social_icon_array_count = count($social_icon_array_order);
|
956 |
if ($social_icon_array_count < $total_arrays)
|
957 |
{
|
971 |
}
|
972 |
if ($social_icon_array_count == $total_arrays)
|
973 |
{
|
974 |
+
if ($acx_si_twitter == "" && $acx_si_facebook == "" && $acx_si_youtube == "" && $acx_si_linkedin == "" && $acx_si_pinterest == "" && $acx_si_gplus == "" && $acx_si_feed == "" && $acx_si_instagram == "")
|
975 |
{
|
976 |
if($acx_si_current_page != "Acurax-Social-Icons-Settings")
|
977 |
{
|
1011 |
$acx_fsmi_days_till_today_from_install = round(($acx_fsmi_days_till_today_from_install/60/60/24))." Days";
|
1012 |
|
1013 |
global $current_user;
|
1014 |
+
//get_currentuserinfo();
|
1015 |
+
wp_get_current_user();
|
1016 |
$acx_fsmi_current_user = $current_user->display_name;
|
1017 |
if($acx_fsmi_current_user == "")
|
1018 |
{
|
1019 |
$acx_fsmi_current_user = "Webmaster";
|
1020 |
}
|
1021 |
|
1022 |
+
echo '<div id="acx_td_fsmi" class="notice">'. __("Hey","floating-social-media-icon").' <b>'.$acx_fsmi_current_user.'</b>'. __(", Do you know? You were using Floating Social Media Icon Wordpress Plugin for the last","floating-social-media-icon").' <b>'.$acx_fsmi_days_till_today_from_install.'</b>'. __(", We are sure, your visitors loved the flying icons.","floating-social-media-icon").'<br>'. __("From the bottom of our heart, we the team @ ","floating-social-media-icon").'<a href="http://www.acurax.com/?utm_source=fsmi&utm_campaign=days" style="font-weight: normal; margin-left: 0px; color: rgb(68, 68, 68);" target="_blank">'. __("Acurax Technologies","floating-social-media-icon").'</a>'. __(" thank you for being with us, and we appreciate your feedback,reviews and support.","floating-social-media-icon").'<br><a href="https://wordpress.org/support/view/plugin-reviews/floating-social-media-icon?filter=5" target="_blank">'. __("Rate 5★'s on wordpress","floating-social-media-icon").'</a><a href="https://twitter.com/share?url=http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/&text='.$acx_tweet_text.' -" target="_blank">'. __("Tell Your Followers","floating-social-media-icon").'</a><a href="admin.php?page=Acurax-Social-Icons-Premium">'. __("Premium Version Benefits","floating-social-media-icon").'</a><a href="admin.php?page=Acurax-Social-Icons-Premium&td=hide">'. __("Hide for Now","floating-social-media-icon").'</a></div>';
|
1023 |
}
|
1024 |
$acx_si_installed_date = get_option('acx_si_installed_date');
|
1025 |
if ($acx_si_installed_date=="") { $acx_si_installed_date = time();}
|
1036 |
|
1037 |
if(time() > $acx_fsmi_next_date)
|
1038 |
{
|
1039 |
+
$acx_fsmi_prom = true;
|
1040 |
}
|
1041 |
if ($acx_fsmi_prom == true && get_option('acx_si_td') == "show")
|
1042 |
{
|
1043 |
+
add_action('admin_notices', 'acx_si_pluign_promotion',1);
|
1044 |
}
|
1045 |
|
1046 |
// Starting Widget Code
|
1074 |
{
|
1075 |
echo $before_title . $title . $after_title;
|
1076 |
}
|
1077 |
+
|
1078 |
+
do_action('acx_fsmi_add_icon_customize_style',$instance,$this->get_field_id('widget'));
|
1079 |
echo "<style>\n";
|
1080 |
echo "." . $this->get_field_id('widget') . " img \n{\n";
|
1081 |
echo "width:" . $icon_size . "px; \n } \n";
|
1520 |
function acx_fsmi_saveorder_callback()
|
1521 |
{
|
1522 |
if(!isset($_POST['acx_fsmi_saveorder_es'])) die("<br><br>".__('Unknown Error Occurred, Try Again... ','floating-social-media-icon')."<a href=''>".__('Click Here','floating-social-media-icon')."</a>");
|
1523 |
+
if(!wp_verify_nonce($_POST['acx_fsmi_saveorder_es'],'acx_fsmi_saveorder_es')) die("<br><br>".__('Sorry, You have no permission to do this action...','floating-social-media-icon')."<a href=''>".__('Click Here','floating-social-media-icon')."</a>");
|
1524 |
global $wpdb;
|
1525 |
$social_icon_array_order = $_POST['recordsArray'];
|
1526 |
if (current_user_can('manage_options')) {
|
1527 |
+
if(!is_serialized($social_icon_array_order))
|
1528 |
+
{
|
1529 |
+
$social_icon_array_order = serialize($social_icon_array_order);
|
1530 |
+
}
|
1531 |
update_option('social_icon_array_order', $social_icon_array_order);
|
1532 |
echo "<div id='acurax_notice' align='center' style='width: 420px; font-family: arial; font-weight: normal; font-size: 22px;'>";
|
1533 |
_e("Social Media Icon's Order Saved","floating-social-media-icon");
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<head><title>What are you trying to do?</title></head>
|
3 |
+
<body>
|
4 |
+
Anyway thats not allowed here :)
|
5 |
+
</body>
|
6 |
+
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<head><title>What are you trying to do?</title></head>
|
3 |
+
<body>
|
4 |
+
Anyway thats not allowed here :)
|
5 |
+
</body>
|
6 |
+
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<head><title>What are you trying to do?</title></head>
|
3 |
+
<body>
|
4 |
+
Anyway thats not allowed here :)
|
5 |
+
</body>
|
6 |
+
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<head><title>What are you trying to do?</title></head>
|
3 |
+
<body>
|
4 |
+
Anyway thats not allowed here :)
|
5 |
+
</body>
|
6 |
+
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<head><title>What are you trying to do?</title></head>
|
3 |
+
<body>
|
4 |
+
Anyway thats not allowed here :)
|
5 |
+
</body>
|
6 |
+
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<head><title>What are you trying to do?</title></head>
|
3 |
+
<body>
|
4 |
+
Anyway thats not allowed here :)
|
5 |
+
</body>
|
6 |
+
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,51 +1,40 @@
|
|
1 |
<?php
|
2 |
function acx_fsmi_nonce_check()
|
3 |
{
|
4 |
-
if (!isset($_POST['acx_fsmi_nonce'])) die("<br><br>".__('Unknown Error Occurred, Try Again... ','floating-social-media-icon')."<a href=''>Click Here</a>");
|
5 |
-
if (!wp_verify_nonce($_POST['acx_fsmi_nonce'],'acx_fsmi_nonce')) die("<br><br>".__('Sorry, You have no permission to do this action...','floating-social-media-icon')."</a>");
|
6 |
if(!current_user_can('manage_options')) die("<br><br>".__('Sorry, You have no permission to do this action...','floating-social-media-icon')."</a>");
|
7 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_nonce_check',1);
|
8 |
-
|
9 |
function acx_fsmi_nonce_field()
|
10 |
{
|
11 |
echo "<input name='acx_fsmi_nonce' type='hidden' value='".wp_create_nonce('acx_fsmi_nonce')."' />";
|
12 |
echo "<input name='acx_fsmi_hidden' type='hidden' value='Y' />";
|
13 |
} add_action('acx_fsmi_hook_option_fields','acx_fsmi_nonce_field',10);
|
14 |
-
|
15 |
function acx_fsmi_option_form_start()
|
16 |
{
|
17 |
echo "<form name='acx_fsmi_form' id='acx_fsmi_form' method='post' action='".str_replace( '%7E', '~',$_SERVER['REQUEST_URI'])."'>";
|
18 |
} add_action('acx_fsmi_hook_option_form_head','acx_fsmi_option_form_start',100);
|
19 |
-
|
20 |
-
|
21 |
function acx_fsmi_option_form_end()
|
22 |
{
|
23 |
echo "</form>";
|
24 |
} add_action('acx_fsmi_hook_option_form_footer','acx_fsmi_option_form_end',100);
|
25 |
-
|
26 |
-
|
27 |
function acx_fsmi_option_div_start()
|
28 |
{
|
29 |
echo "<div id=\"acx_fsmi_option_page_holder\"> \n";
|
30 |
acx_fsmi_hook_function('acx_fsmi_hook_option_above_page_left');
|
31 |
echo "<div class=\"acx_fsmi_option_page_left\"> \n";
|
32 |
} add_action('acx_fsmi_hook_option_form_head','acx_fsmi_option_div_start',30);
|
33 |
-
|
34 |
-
|
35 |
function acx_fsmi_option_sidebar_start()
|
36 |
{
|
37 |
echo "</div> <!-- acx_fsmi_option_page_left --> \n";
|
38 |
echo "<div class=\"acx_fsmi_option_page_right\"> \n";
|
39 |
} add_action('acx_fsmi_hook_option_sidebar','acx_fsmi_option_sidebar_start',10);
|
40 |
-
|
41 |
-
|
42 |
function acx_fsmi_option_sidebar_end()
|
43 |
{
|
44 |
echo "</div> <!-- acx_fsmi_option_page_right --> \n";
|
45 |
acx_fsmi_hook_function('acx_fsmi_hook_option_footer');
|
46 |
echo "</div> <!-- acx_fsmi_option_page_holder --> \n";
|
47 |
} add_action('acx_fsmi_hook_option_sidebar','acx_fsmi_option_sidebar_end',500);
|
48 |
-
|
49 |
function acx_print_option_page_title()
|
50 |
{
|
51 |
$acx_string = __("Acurax Social Icons Options","floating-social-media-icon");
|
@@ -64,32 +53,26 @@ function display_acx_fsmi_saved_success()
|
|
64 |
</script>
|
65 |
<?php
|
66 |
} add_action('acx_fsmi_hook_option_onpost','display_acx_fsmi_saved_success',5000);
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
function acx_fsmi_lb_infobox()
|
71 |
{ ?>
|
72 |
<script type="text/javascript">
|
73 |
jQuery( ".fsmi_info_lb" ).click(function() {
|
74 |
-
var lb_title = jQuery(this).attr('lb_title');
|
75 |
-
var lb_content = jQuery(this).attr('lb_content');
|
76 |
-
var html= '<div id="acx_fsmi_c_icon_p_info_lb_h" style="display:none;"><div class="acx_fsmi_c_icon_p_info_c"><span class="acx_fsmi_c_icon_p_info_close" onclick="fsmi_remove_info()"></span><h4>'+lb_title+'</h4><div class="acx_fsmi_c_icon_p_info_content">'+lb_content+'</div></div></div> <!-- acx_fsmi_c_icon_p_info_lb_h -->';
|
77 |
-
jQuery( "body" ).append(html)
|
78 |
-
jQuery( "#acx_fsmi_c_icon_p_info_lb_h" ).fadeIn();
|
79 |
});
|
80 |
|
81 |
function fsmi_remove_info()
|
82 |
{
|
83 |
-
jQuery( "#acx_fsmi_c_icon_p_info_lb_h" ).fadeOut()
|
84 |
-
jQuery( "#acx_fsmi_c_icon_p_info_lb_h" ).remove();
|
85 |
};
|
86 |
</script>
|
87 |
<?php
|
88 |
} add_action('acx_fsmi_hook_option_footer','acx_fsmi_lb_infobox');
|
89 |
-
|
90 |
add_action('acx_fsmi_misc_hook_option_footer','acx_fsmi_lb_infobox');
|
91 |
-
|
92 |
-
|
93 |
function acx_fsmi_service_banners()
|
94 |
{
|
95 |
?>
|
@@ -97,59 +80,61 @@ function acx_fsmi_service_banners()
|
|
97 |
<?php $acx_fsmi_service_banners = get_option('acx_fsmi_acx_service_banners');
|
98 |
if ($acx_fsmi_service_banners != "no") { ?>
|
99 |
<div id="acx_ad_banners_fsmi">
|
100 |
-
<a href="http://
|
101 |
<div class="acx_ad_fsmi_title"><?php _e('Need Help on Wordpress?','floating-social-media-icon'); ?></div> <!-- acx_ad_fsmi_title -->
|
102 |
<div class="acx_ad_fsmi_desc"><?php _e('Instant Solutions for your wordpress Issues','floating-social-media-icon'); ?></div> <!-- acx_ad_fsmi_desc -->
|
103 |
</a> <!-- acx_ad_fsmi_1 -->
|
104 |
|
105 |
-
<a href="http://
|
106 |
<div class="acx_ad_fsmi_title"><?php _e('Unique Design For Better Branding','floating-social-media-icon'); ?></div> <!-- acx_ad_fsmi_title -->
|
107 |
<div class="acx_ad_fsmi_desc acx_ad_fsmi_desc2" style="padding-top: 0px; padding-left: 50px; height: 41px; font-size: 13px; text-align: center;"><?php _e('Get Responsive Custom Designed Website For High Conversion','floating-social-media-icon'); ?></div> <!-- acx_ad_fsmi_desc -->
|
108 |
</a> <!-- acx_ad_fsmi_1 -->
|
109 |
|
110 |
-
<a href="http://
|
111 |
-
<div class="acx_ad_fsmi_title"><?php _e('
|
112 |
-
<div class="acx_ad_fsmi_desc acx_ad_fsmi_desc3" style="padding-top: 0px; height:
|
113 |
</a> <!-- acx_ad_fsmi_1 -->
|
114 |
|
115 |
</div> <!-- acx_ad_banners_fsmi -->
|
116 |
<?php } else { ?>
|
117 |
-
|
118 |
-
|
119 |
<div class="acx_fsmi_sidebar_widget">
|
120 |
-
<div class="acx_fsmi_sidebar_w_title"><?php _e('
|
121 |
<div class="acx_fsmi_sidebar_w_content">
|
122 |
-
<?php _e('We know you are in the process of improving your website, and we the team at Acurax is always available for
|
123 |
</div>
|
124 |
</div> <!-- acx_fsmi_sidebar_widget -->
|
125 |
-
|
126 |
-
|
127 |
<div class="acx_fsmi_sidebar_widget">
|
128 |
-
<div class="acx_fsmi_sidebar_w_title"><?php _e('
|
|
|
|
|
|
|
|
|
129 |
<div class="acx_fsmi_sidebar_w_content acx_fsmi_sidebar_w_content_p_slide">
|
130 |
</div>
|
131 |
</div> <!-- acx_fsmi_sidebar_widget -->
|
132 |
<script type="text/javascript">
|
133 |
-
|
134 |
-
var
|
135 |
-
|
136 |
-
// jQuery(".acx_fsmi_sidebar_w_content_p_slide p").height('30px');
|
137 |
function acx_fsmi_t_rotate()
|
138 |
{
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
}
|
144 |
jQuery(document).ready(function() {
|
145 |
-
acx_fsmi_t_rotate();
|
146 |
-
|
147 |
});
|
148 |
</script>
|
149 |
-
<div class="acx_fsmi_sidebar_widget">
|
150 |
-
<div class="acx_fsmi_sidebar_w_title"><?php _e('Grab The Blending Creativity','floating-social-media-icon');?></div>
|
151 |
-
<div class="acx_fsmi_sidebar_w_content"><?php _e('Make your website user friendly and optimized for mobile devices for better user interaction and satisfaction','floating-social-media-icon');?> <a href="http://wordpress.acurax.com/?utm_source=fsmi&utm_campaign=sidebar_text_2" target="_blank"><?php _e('Click Here','floating-social-media-icon'); ?></a></div>
|
152 |
-
</div> <!-- acx_fsmi_sidebar_widget -->
|
153 |
<?php } ?>
|
154 |
<div class="acx_fsmi_sidebar_widget">
|
155 |
<div class="acx_fsmi_sidebar_w_title"><?php _e('Rate us on wordpress.org','floating-social-media-icon'); ?></div>
|
@@ -171,56 +156,43 @@ acx_fsmi_t_rotate();
|
|
171 |
<?php
|
172 |
} add_action('acx_fsmi_hook_option_sidebar','acx_fsmi_service_banners',100);
|
173 |
add_action('acx_fsmi_misc_hook_option_sidebar','acx_fsmi_service_banners',100);
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
/********************************************** MISC Page*********************************************/
|
178 |
function acx_fsmi_misc_nonce_check()
|
179 |
{
|
180 |
-
if (!isset($_POST['acx_fsmi_misc_nonce'])) die("<br><br>".__('Unknown Error Occurred, Try Again... ','floating-social-media-icon')."<a href=''>Click Here</a>");
|
181 |
-
if (!wp_verify_nonce($_POST['acx_fsmi_misc_nonce'],'acx_fsmi_misc_nonce')) die("<br><br>".__('Unknown Error Occurred, Try Again... ','floating-social-media-icon')."<a href=''>Click Here</a>");
|
182 |
if(!current_user_can('manage_options')) die("<br><br>".__('Sorry, You have no permission to do this action...','floating-social-media-icon')."</a>");
|
183 |
} add_action('acx_fsmi_misc_hook_option_onpost','acx_fsmi_misc_nonce_check',1);
|
184 |
-
|
185 |
-
|
186 |
function acx_fsmi_misc_nonce_field()
|
187 |
{
|
188 |
echo "<input name='acx_fsmi_misc_nonce' type='hidden' value='".wp_create_nonce('acx_fsmi_misc_nonce')."' />";
|
189 |
echo "<input name='acx_fsmi_misc_hidden' type='hidden' value='Y' />";
|
190 |
} add_action('acx_fsmi_misc_hook_option_fields','acx_fsmi_misc_nonce_field',10);
|
191 |
-
|
192 |
function acx_fsmi_misc_option_form_start()
|
193 |
{
|
194 |
echo "<form name='acx_fsmi_misc_form' id='acx_fsmi_form' method='post' action='".str_replace( '%7E', '~',$_SERVER['REQUEST_URI'])."'>";
|
195 |
} add_action('acx_fsmi_misc_hook_option_form_head','acx_fsmi_misc_option_form_start',100);
|
196 |
-
|
197 |
-
|
198 |
function acx_fsmi_misc_option_form_end()
|
199 |
{
|
200 |
echo "</form>";
|
201 |
} add_action('acx_fsmi_misc_hook_option_form_footer','acx_fsmi_misc_option_form_end',100);
|
202 |
-
|
203 |
function acx_fsmi_misc_option_div_start()
|
204 |
{
|
205 |
echo "<div id=\"acx_fsmi_option_page_holder\"> \n";
|
206 |
acx_fsmi_hook_function('acx_fsmi_misc_hook_option_above_page_left');
|
207 |
echo "<div class=\"acx_fsmi_option_page_left\"> \n";
|
208 |
} add_action('acx_fsmi_misc_hook_option_form_head','acx_fsmi_misc_option_div_start',30);
|
209 |
-
|
210 |
function acx_fsmi_misc_option_sidebar_start()
|
211 |
{
|
212 |
echo "</div> <!-- acx_fsmi_option_page_left --> \n";
|
213 |
echo "<div class=\"acx_fsmi_option_page_right\"> \n";
|
214 |
} add_action('acx_fsmi_misc_hook_option_sidebar','acx_fsmi_misc_option_sidebar_start',10);
|
215 |
-
|
216 |
-
|
217 |
function acx_fsmi_misc_option_sidebar_end()
|
218 |
{
|
219 |
echo "</div> <!-- acx_fsmi_option_page_right --> \n";
|
220 |
acx_fsmi_hook_function('acx_fsmi_misc_hook_option_footer');
|
221 |
echo "</div> <!-- acx_fsmi_option_page_holder --> \n";
|
222 |
} add_action('acx_fsmi_misc_hook_option_sidebar','acx_fsmi_misc_option_sidebar_end',500);
|
223 |
-
|
224 |
function acx_misc_print_option_page_title()
|
225 |
{
|
226 |
$acx_string = __("Acurax Social Icons Misc Settings","floating-social-media-icon");
|
@@ -240,35 +212,27 @@ function display_acx_fsmi_misc_saved_success()
|
|
240 |
|
241 |
<?php
|
242 |
} add_action('acx_fsmi_misc_hook_option_onpost','display_acx_fsmi_misc_saved_success',5000);
|
243 |
-
|
244 |
-
|
245 |
/******************************************************* HELP *****************************************************/
|
246 |
function acx_fsmi_help_option_div_start()
|
247 |
{
|
248 |
echo "<div id=\"acx_fsmi_option_page_holder\"> \n";
|
249 |
acx_fsmi_hook_function('acx_fsmi_help_hook_option_above_page_left');
|
250 |
} add_action('acx_fsmi_help_hook_option_form_head','acx_fsmi_help_option_div_start',100);
|
251 |
-
|
252 |
-
|
253 |
function acx_fsmi_help_option_sidebar_end()
|
254 |
{
|
255 |
|
256 |
echo "</div> <!-- acx_fsmi_option_page_holder --> \n";
|
257 |
} add_action('acx_fsmi_help_hook_option_sidebar','acx_fsmi_help_option_sidebar_end',500);
|
258 |
-
|
259 |
/*********************************************** Expert Support *************************************************/
|
260 |
function acx_fsmi_exprt_option_div_start()
|
261 |
{
|
262 |
echo "<div id=\"acx_fsmi_option_page_holder\"> \n";
|
263 |
|
264 |
} add_action('acx_fsmi_exprt_hook_option_form_head','acx_fsmi_exprt_option_div_start',100);
|
265 |
-
|
266 |
-
|
267 |
function acx_fsmi_exprt_option_sidebar_end()
|
268 |
{
|
269 |
acx_fsmi_hook_function('acx_fsmi_exprt_hook_option_above_page_left');
|
270 |
echo "</div> <!-- acx_fsmi_option_page_holder --> \n";
|
271 |
}
|
272 |
add_action('acx_fsmi_exprt_hook_option_sidebar','acx_fsmi_exprt_option_sidebar_end',500);
|
273 |
-
|
274 |
?>
|
1 |
<?php
|
2 |
function acx_fsmi_nonce_check()
|
3 |
{
|
4 |
+
if (!isset($_POST['acx_fsmi_nonce'])) die("<br><br>".__('Unknown Error Occurred, Try Again... ','floating-social-media-icon')."<a href=''>".__('Click Here','floating-social-media-icon')."</a>");
|
5 |
+
if (!wp_verify_nonce($_POST['acx_fsmi_nonce'],'acx_fsmi_nonce')) die("<br><br>".__('Sorry, You have no permission to do this action...','floating-social-media-icon')."<a href=''>".__('Click Here','floating-social-media-icon')."</a>");
|
6 |
if(!current_user_can('manage_options')) die("<br><br>".__('Sorry, You have no permission to do this action...','floating-social-media-icon')."</a>");
|
7 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_nonce_check',1);
|
|
|
8 |
function acx_fsmi_nonce_field()
|
9 |
{
|
10 |
echo "<input name='acx_fsmi_nonce' type='hidden' value='".wp_create_nonce('acx_fsmi_nonce')."' />";
|
11 |
echo "<input name='acx_fsmi_hidden' type='hidden' value='Y' />";
|
12 |
} add_action('acx_fsmi_hook_option_fields','acx_fsmi_nonce_field',10);
|
|
|
13 |
function acx_fsmi_option_form_start()
|
14 |
{
|
15 |
echo "<form name='acx_fsmi_form' id='acx_fsmi_form' method='post' action='".str_replace( '%7E', '~',$_SERVER['REQUEST_URI'])."'>";
|
16 |
} add_action('acx_fsmi_hook_option_form_head','acx_fsmi_option_form_start',100);
|
|
|
|
|
17 |
function acx_fsmi_option_form_end()
|
18 |
{
|
19 |
echo "</form>";
|
20 |
} add_action('acx_fsmi_hook_option_form_footer','acx_fsmi_option_form_end',100);
|
|
|
|
|
21 |
function acx_fsmi_option_div_start()
|
22 |
{
|
23 |
echo "<div id=\"acx_fsmi_option_page_holder\"> \n";
|
24 |
acx_fsmi_hook_function('acx_fsmi_hook_option_above_page_left');
|
25 |
echo "<div class=\"acx_fsmi_option_page_left\"> \n";
|
26 |
} add_action('acx_fsmi_hook_option_form_head','acx_fsmi_option_div_start',30);
|
|
|
|
|
27 |
function acx_fsmi_option_sidebar_start()
|
28 |
{
|
29 |
echo "</div> <!-- acx_fsmi_option_page_left --> \n";
|
30 |
echo "<div class=\"acx_fsmi_option_page_right\"> \n";
|
31 |
} add_action('acx_fsmi_hook_option_sidebar','acx_fsmi_option_sidebar_start',10);
|
|
|
|
|
32 |
function acx_fsmi_option_sidebar_end()
|
33 |
{
|
34 |
echo "</div> <!-- acx_fsmi_option_page_right --> \n";
|
35 |
acx_fsmi_hook_function('acx_fsmi_hook_option_footer');
|
36 |
echo "</div> <!-- acx_fsmi_option_page_holder --> \n";
|
37 |
} add_action('acx_fsmi_hook_option_sidebar','acx_fsmi_option_sidebar_end',500);
|
|
|
38 |
function acx_print_option_page_title()
|
39 |
{
|
40 |
$acx_string = __("Acurax Social Icons Options","floating-social-media-icon");
|
53 |
</script>
|
54 |
<?php
|
55 |
} add_action('acx_fsmi_hook_option_onpost','display_acx_fsmi_saved_success',5000);
|
|
|
|
|
|
|
56 |
function acx_fsmi_lb_infobox()
|
57 |
{ ?>
|
58 |
<script type="text/javascript">
|
59 |
jQuery( ".fsmi_info_lb" ).click(function() {
|
60 |
+
var lb_title = jQuery(this).attr('lb_title');
|
61 |
+
var lb_content = jQuery(this).attr('lb_content');
|
62 |
+
var html= '<div id="acx_fsmi_c_icon_p_info_lb_h" style="display:none;"><div class="acx_fsmi_c_icon_p_info_c"><span class="acx_fsmi_c_icon_p_info_close" onclick="fsmi_remove_info()"></span><h4>'+lb_title+'</h4><div class="acx_fsmi_c_icon_p_info_content">'+lb_content+'</div></div></div> <!-- acx_fsmi_c_icon_p_info_lb_h -->';
|
63 |
+
jQuery( "body" ).append(html)
|
64 |
+
jQuery( "#acx_fsmi_c_icon_p_info_lb_h" ).fadeIn();
|
65 |
});
|
66 |
|
67 |
function fsmi_remove_info()
|
68 |
{
|
69 |
+
jQuery( "#acx_fsmi_c_icon_p_info_lb_h" ).fadeOut()
|
70 |
+
jQuery( "#acx_fsmi_c_icon_p_info_lb_h" ).remove();
|
71 |
};
|
72 |
</script>
|
73 |
<?php
|
74 |
} add_action('acx_fsmi_hook_option_footer','acx_fsmi_lb_infobox');
|
|
|
75 |
add_action('acx_fsmi_misc_hook_option_footer','acx_fsmi_lb_infobox');
|
|
|
|
|
76 |
function acx_fsmi_service_banners()
|
77 |
{
|
78 |
?>
|
80 |
<?php $acx_fsmi_service_banners = get_option('acx_fsmi_acx_service_banners');
|
81 |
if ($acx_fsmi_service_banners != "no") { ?>
|
82 |
<div id="acx_ad_banners_fsmi">
|
83 |
+
<a href="http://www.acurax.com/?utm_source=fsmi&utm_campaign=sidebar_banner_1" target="_blank" class="acx_ad_fsmi_1">
|
84 |
<div class="acx_ad_fsmi_title"><?php _e('Need Help on Wordpress?','floating-social-media-icon'); ?></div> <!-- acx_ad_fsmi_title -->
|
85 |
<div class="acx_ad_fsmi_desc"><?php _e('Instant Solutions for your wordpress Issues','floating-social-media-icon'); ?></div> <!-- acx_ad_fsmi_desc -->
|
86 |
</a> <!-- acx_ad_fsmi_1 -->
|
87 |
|
88 |
+
<a href="http://www.acurax.com/branding/?utm_source=fsmi&utm_campaign=sidebar_banner_2" target="_blank" class="acx_ad_fsmi_1">
|
89 |
<div class="acx_ad_fsmi_title"><?php _e('Unique Design For Better Branding','floating-social-media-icon'); ?></div> <!-- acx_ad_fsmi_title -->
|
90 |
<div class="acx_ad_fsmi_desc acx_ad_fsmi_desc2" style="padding-top: 0px; padding-left: 50px; height: 41px; font-size: 13px; text-align: center;"><?php _e('Get Responsive Custom Designed Website For High Conversion','floating-social-media-icon'); ?></div> <!-- acx_ad_fsmi_desc -->
|
91 |
</a> <!-- acx_ad_fsmi_1 -->
|
92 |
|
93 |
+
<a href="http://www.acurax.com/social-profile-design/?utm_source=fsmi&utm_campaign=sidebar_banner_3" target="_blank" class="acx_ad_fsmi_1">
|
94 |
+
<div class="acx_ad_fsmi_title"><?php _e('Brand Your Social Media Profiles','floating-social-media-icon'); ?></div> <!-- acx_ad_fsmi_title -->
|
95 |
+
<div class="acx_ad_fsmi_desc acx_ad_fsmi_desc3" style="padding-top: 0px; height: 110px; text-align: left; font-size: 12px; line-height: 20px;"><?php _e('Social Profile Design means customizing and designing your online presence across many social networks in a professional way to maximize your customer engagement.<br><br>Order and Get Social Media Elements in 24 Hours','floating-social-media-icon'); ?></div> <!-- acx_ad_fsmi_desc -->
|
96 |
</a> <!-- acx_ad_fsmi_1 -->
|
97 |
|
98 |
</div> <!-- acx_ad_banners_fsmi -->
|
99 |
<?php } else { ?>
|
|
|
|
|
100 |
<div class="acx_fsmi_sidebar_widget">
|
101 |
+
<div class="acx_fsmi_sidebar_w_title"><?php _e('Affordable Website Services','floating-social-media-icon');?></div> <!-- acx_ad_fsmi_title -->
|
102 |
<div class="acx_fsmi_sidebar_w_content">
|
103 |
+
<?php _e('We know you are in the process of improving your website, and we the team at Acurax is always available for hire. ','floating-social-media-icon'); ?><a href="http://www.acurax.com/webdesigning/?utm_source=fsmi&utm_campaign=sidebar_text_1" target="_blank"><?php _e('Get in touch','floating-social-media-icon') ;?></a>
|
104 |
</div>
|
105 |
</div> <!-- acx_fsmi_sidebar_widget -->
|
|
|
|
|
106 |
<div class="acx_fsmi_sidebar_widget">
|
107 |
+
<div class="acx_fsmi_sidebar_w_title"><?php _e('Brand Your Social Media Profiles','floating-social-media-icon');?></div>
|
108 |
+
<div class="acx_fsmi_sidebar_w_content"><?php _e('Social Profile Design means customizing and designing your online presence across many social networks in a professional way to maximize your customer engagement.','floating-social-media-icon');?> <br><br><a href="http://www.acurax.com/social-profile-design/?utm_source=fsmi&utm_campaign=sidebar_text_2" target="_blank"><?php _e('Order and Get Social Media Elements in 24 Hours','floating-social-media-icon'); ?></a></div>
|
109 |
+
</div> <!-- acx_fsmi_sidebar_widget -->
|
110 |
+
<div class="acx_fsmi_sidebar_widget">
|
111 |
+
<div class="acx_fsmi_sidebar_w_title"><?php _e('Partner With Us','floating-social-media-icon'); ?></div> <!-- acx_ad_fsmi_title -->
|
112 |
<div class="acx_fsmi_sidebar_w_content acx_fsmi_sidebar_w_content_p_slide">
|
113 |
</div>
|
114 |
</div> <!-- acx_fsmi_sidebar_widget -->
|
115 |
<script type="text/javascript">
|
116 |
+
var acx_fsmi = new Array("<?php _e('<b>Are you an Agency?</b>, You can Outsource your projects to the team at Acurax...<br><br><a href=\'http://www.acurax.com/partner-with-us/?utm_source=fsmi&utm_campaign=sidebar_text_partner\' target=\'_blank\'>Know More...</a>','floating-social-media-icon'); ?>","<?php _e('<ul><li>- Expert team with timely delivery</li><li>- Reducing the project cost</li><li>- Single Point of contact</li><li>- 100% White-label + Non disclosed agreement</li></ul><a href=\'http://www.acurax.com/partner-with-us/?utm_source=fsmi&utm_campaign=sidebar_text_partner\' target=\'_blank\'>Know More...</a>','floating-social-media-icon'); ?>","<?php _e('<ul><li>- Ability to handle multiple projects at a time</li><li>- Well documented project management on project management system</li><li>- No Communication Barriers. Email/support ticket/IM via Skype, Yahoo, Hangouts and Phone etc...</li></ul><a href=\'http://www.acurax.com/partner-with-us/?utm_source=fsmi&utm_campaign=sidebar_text_partner\' target=\'_blank\'>Know More...</a>','floating-social-media-icon'); ?>");
|
117 |
+
var current_loaded = 0;
|
|
|
|
|
118 |
function acx_fsmi_t_rotate()
|
119 |
{
|
120 |
+
console.log(current_loaded);
|
121 |
+
// acx_fsmi_text = acx_fsmi[Math.floor(Math.random()*acx_fsmi.length)];
|
122 |
+
acx_fsmi_count = (acx_fsmi.length-1);
|
123 |
+
acx_fsmi_text = acx_fsmi[current_loaded];
|
124 |
+
jQuery(".acx_fsmi_sidebar_w_content_p_slide").fadeOut('fast');
|
125 |
+
jQuery(".acx_fsmi_sidebar_w_content_p_slide").html(acx_fsmi_text);
|
126 |
+
jQuery(".acx_fsmi_sidebar_w_content_p_slide").fadeIn('slow');
|
127 |
+
current_loaded = current_loaded+1;
|
128 |
+
if(current_loaded > acx_fsmi_count)
|
129 |
+
{
|
130 |
+
current_loaded = 0;
|
131 |
+
}
|
132 |
}
|
133 |
jQuery(document).ready(function() {
|
134 |
+
acx_fsmi_t_rotate();
|
135 |
+
setInterval(function(){ acx_fsmi_t_rotate(); }, 4000);
|
136 |
});
|
137 |
</script>
|
|
|
|
|
|
|
|
|
138 |
<?php } ?>
|
139 |
<div class="acx_fsmi_sidebar_widget">
|
140 |
<div class="acx_fsmi_sidebar_w_title"><?php _e('Rate us on wordpress.org','floating-social-media-icon'); ?></div>
|
156 |
<?php
|
157 |
} add_action('acx_fsmi_hook_option_sidebar','acx_fsmi_service_banners',100);
|
158 |
add_action('acx_fsmi_misc_hook_option_sidebar','acx_fsmi_service_banners',100);
|
|
|
|
|
|
|
159 |
/********************************************** MISC Page*********************************************/
|
160 |
function acx_fsmi_misc_nonce_check()
|
161 |
{
|
162 |
+
if (!isset($_POST['acx_fsmi_misc_nonce'])) die("<br><br>".__('Unknown Error Occurred, Try Again... ','floating-social-media-icon')."<a href=''>".__('Click Here','floating-social-media-icon')."</a>");
|
163 |
+
if (!wp_verify_nonce($_POST['acx_fsmi_misc_nonce'],'acx_fsmi_misc_nonce')) die("<br><br>".__('Unknown Error Occurred, Try Again... ','floating-social-media-icon')."<a href=''>".__('Click Here','floating-social-media-icon')."</a>");
|
164 |
if(!current_user_can('manage_options')) die("<br><br>".__('Sorry, You have no permission to do this action...','floating-social-media-icon')."</a>");
|
165 |
} add_action('acx_fsmi_misc_hook_option_onpost','acx_fsmi_misc_nonce_check',1);
|
|
|
|
|
166 |
function acx_fsmi_misc_nonce_field()
|
167 |
{
|
168 |
echo "<input name='acx_fsmi_misc_nonce' type='hidden' value='".wp_create_nonce('acx_fsmi_misc_nonce')."' />";
|
169 |
echo "<input name='acx_fsmi_misc_hidden' type='hidden' value='Y' />";
|
170 |
} add_action('acx_fsmi_misc_hook_option_fields','acx_fsmi_misc_nonce_field',10);
|
|
|
171 |
function acx_fsmi_misc_option_form_start()
|
172 |
{
|
173 |
echo "<form name='acx_fsmi_misc_form' id='acx_fsmi_form' method='post' action='".str_replace( '%7E', '~',$_SERVER['REQUEST_URI'])."'>";
|
174 |
} add_action('acx_fsmi_misc_hook_option_form_head','acx_fsmi_misc_option_form_start',100);
|
|
|
|
|
175 |
function acx_fsmi_misc_option_form_end()
|
176 |
{
|
177 |
echo "</form>";
|
178 |
} add_action('acx_fsmi_misc_hook_option_form_footer','acx_fsmi_misc_option_form_end',100);
|
|
|
179 |
function acx_fsmi_misc_option_div_start()
|
180 |
{
|
181 |
echo "<div id=\"acx_fsmi_option_page_holder\"> \n";
|
182 |
acx_fsmi_hook_function('acx_fsmi_misc_hook_option_above_page_left');
|
183 |
echo "<div class=\"acx_fsmi_option_page_left\"> \n";
|
184 |
} add_action('acx_fsmi_misc_hook_option_form_head','acx_fsmi_misc_option_div_start',30);
|
|
|
185 |
function acx_fsmi_misc_option_sidebar_start()
|
186 |
{
|
187 |
echo "</div> <!-- acx_fsmi_option_page_left --> \n";
|
188 |
echo "<div class=\"acx_fsmi_option_page_right\"> \n";
|
189 |
} add_action('acx_fsmi_misc_hook_option_sidebar','acx_fsmi_misc_option_sidebar_start',10);
|
|
|
|
|
190 |
function acx_fsmi_misc_option_sidebar_end()
|
191 |
{
|
192 |
echo "</div> <!-- acx_fsmi_option_page_right --> \n";
|
193 |
acx_fsmi_hook_function('acx_fsmi_misc_hook_option_footer');
|
194 |
echo "</div> <!-- acx_fsmi_option_page_holder --> \n";
|
195 |
} add_action('acx_fsmi_misc_hook_option_sidebar','acx_fsmi_misc_option_sidebar_end',500);
|
|
|
196 |
function acx_misc_print_option_page_title()
|
197 |
{
|
198 |
$acx_string = __("Acurax Social Icons Misc Settings","floating-social-media-icon");
|
212 |
|
213 |
<?php
|
214 |
} add_action('acx_fsmi_misc_hook_option_onpost','display_acx_fsmi_misc_saved_success',5000);
|
|
|
|
|
215 |
/******************************************************* HELP *****************************************************/
|
216 |
function acx_fsmi_help_option_div_start()
|
217 |
{
|
218 |
echo "<div id=\"acx_fsmi_option_page_holder\"> \n";
|
219 |
acx_fsmi_hook_function('acx_fsmi_help_hook_option_above_page_left');
|
220 |
} add_action('acx_fsmi_help_hook_option_form_head','acx_fsmi_help_option_div_start',100);
|
|
|
|
|
221 |
function acx_fsmi_help_option_sidebar_end()
|
222 |
{
|
223 |
|
224 |
echo "</div> <!-- acx_fsmi_option_page_holder --> \n";
|
225 |
} add_action('acx_fsmi_help_hook_option_sidebar','acx_fsmi_help_option_sidebar_end',500);
|
|
|
226 |
/*********************************************** Expert Support *************************************************/
|
227 |
function acx_fsmi_exprt_option_div_start()
|
228 |
{
|
229 |
echo "<div id=\"acx_fsmi_option_page_holder\"> \n";
|
230 |
|
231 |
} add_action('acx_fsmi_exprt_hook_option_form_head','acx_fsmi_exprt_option_div_start',100);
|
|
|
|
|
232 |
function acx_fsmi_exprt_option_sidebar_end()
|
233 |
{
|
234 |
acx_fsmi_hook_function('acx_fsmi_exprt_hook_option_above_page_left');
|
235 |
echo "</div> <!-- acx_fsmi_option_page_holder --> \n";
|
236 |
}
|
237 |
add_action('acx_fsmi_exprt_hook_option_sidebar','acx_fsmi_exprt_option_sidebar_end',500);
|
|
|
238 |
?>
|
@@ -21,7 +21,6 @@ echo "<span class='acx_fsmi_q_sep'></span>";?>
|
|
21 |
<?php _e('Please do a favour by enabling back-link to our site. ','floating-social-media-icon'); ?><a href="admin.php?page=Acurax-Social-Icons-Settings&backlink=enable"><?php _e('Okay, Enable.','floating-social-media-icon'); ?></a>
|
22 |
</div>
|
23 |
<?php
|
24 |
-
|
25 |
}
|
26 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
27 |
} add_action('acx_fsmi_hook_option_above_page_left','acx_fsmi_premium_advert_above_form',50);
|
@@ -48,15 +47,14 @@ function acx_fsmi_current_icon_html()
|
|
48 |
".$acx_si_icon_size."px'>
|
49 |
<img src='".ACX_FSMI_BASE_LOCATION."images/themes/".$acx_si_theme."/feed.png' style='height:
|
50 |
".$acx_si_icon_size."px'>
|
|
|
|
|
51 |
</div>";
|
52 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
53 |
print_acx_fsmi_option_block_end();
|
54 |
} add_action('acx_fsmi_hook_option_fields','acx_fsmi_current_icon_html',100);
|
55 |
-
|
56 |
/* Current Theme Save - Get - Set Default Logic Ends Here */
|
57 |
-
|
58 |
/* Icon Theme Settings - Save - Get - Set Default Logic Starts Here */
|
59 |
-
|
60 |
function acx_fsmi_icon_theme_settings_html()
|
61 |
{
|
62 |
global $acx_si_theme,$social_icon_array_order,$acx_fsmi_themes_array;
|
@@ -67,8 +65,6 @@ function acx_fsmi_icon_theme_settings_html()
|
|
67 |
$acx_string = __('Icon Theme Settings','floating-social-media-icon');
|
68 |
print_acx_fsmi_option_block_start($acx_string);
|
69 |
?>
|
70 |
-
|
71 |
-
<!--div class="acx_fsmi_admin_left_section_c"-->
|
72 |
<div id="acx_si_theme_display">
|
73 |
<?php
|
74 |
|
@@ -107,11 +103,15 @@ function acx_fsmi_icon_theme_settings_html()
|
|
107 |
{
|
108 |
echo "<img src='".$v['path']."images/themes/". $k ."/linkedin.png'>";
|
109 |
}
|
110 |
-
|
111 |
if ($value == 6)
|
112 |
{
|
113 |
echo "<img src='".$v['path']."images/themes/". $k ."/feed.png'>";
|
114 |
}
|
|
|
|
|
|
|
|
|
115 |
}
|
116 |
?>
|
117 |
</div>
|
@@ -120,41 +120,39 @@ function acx_fsmi_icon_theme_settings_html()
|
|
120 |
}
|
121 |
?>
|
122 |
</div> <!-- acx_si_theme_display -->
|
123 |
-
<!--/div> <!-- acx_fsmi_admin_left_section_c -->
|
124 |
<?php
|
125 |
echo "<span class='note'></span>";
|
126 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
127 |
print_acx_fsmi_option_block_end();
|
128 |
} add_action('acx_fsmi_hook_option_fields','acx_fsmi_icon_theme_settings_html',200);
|
129 |
-
|
130 |
function acx_fsmi_icon_theme_settings_ifpost()
|
131 |
{
|
132 |
global $acx_si_theme;
|
133 |
$acx_si_theme = sanitize_text_field(acx_fsmi_post_isset_check('acx_si_theme'));
|
134 |
if(!is_numeric($acx_si_theme))
|
135 |
{
|
136 |
-
|
137 |
}
|
138 |
update_option('acx_si_theme', $acx_si_theme);
|
139 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_icon_theme_settings_ifpost');
|
140 |
function acx_fsmi_icon_theme_settings_else()
|
141 |
{
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
$social_icon_array_order = unserialize($social_icon_array_order);
|
148 |
-
|
149 |
|
150 |
} add_action('acx_fsmi_hook_option_postelse','acx_fsmi_icon_theme_settings_else');
|
151 |
function acx_fsmi_icon_theme_settings_after_else()
|
152 |
{
|
153 |
global $acx_si_theme;
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
} add_action('acx_fsmi_hook_option_after_else','acx_fsmi_icon_theme_settings_after_else');
|
159 |
/* Icon Theme Settings Save - Get - Set Default Logic Ends Here */
|
160 |
/* Icon Theme Size - Save - Get - Set Default Logic Starts Here */
|
@@ -185,28 +183,25 @@ function acx_fsmi_icon_theme_size_ifpost()
|
|
185 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_icon_theme_size_ifpost');
|
186 |
function acx_fsmi_icon_theme_size_else()
|
187 |
{
|
188 |
-
|
189 |
-
|
190 |
|
191 |
} add_action('acx_fsmi_hook_option_postelse','acx_fsmi_icon_theme_size_else');
|
192 |
function acx_fsmi_icon_theme_size_after_else()
|
193 |
{
|
194 |
global $acx_si_icon_size;
|
195 |
-
|
196 |
|
197 |
} add_action('acx_fsmi_hook_option_after_else','acx_fsmi_icon_theme_size_after_else');
|
198 |
|
199 |
/* Icon Theme Size Save - Get - Set Default Logic Ends Here */
|
200 |
-
|
201 |
/* Icon Theme Order - Save - Get - Set Default Logic Starts Here */
|
202 |
-
|
203 |
-
|
204 |
function acx_fsmi_icon_theme_order_html()
|
205 |
{
|
206 |
global $acx_si_icon_size,$social_icon_array_order,$acx_si_theme;
|
207 |
if(is_serialized($social_icon_array_order))
|
208 |
{
|
209 |
-
|
210 |
}
|
211 |
$acx_string = __("Social Media Icon Display Order - Drag and Drop to Reorder","floating-social-media-icon");
|
212 |
print_acx_fsmi_option_block_start($acx_string);
|
@@ -234,12 +229,9 @@ function acx_fsmi_icon_theme_order_html()
|
|
234 |
echo "<div class='acx_fsmi_admin_left_section_c'>
|
235 |
<div id='contentLeft'>
|
236 |
<ul>";
|
237 |
-
|
238 |
foreach ($social_icon_array_order as $key => $value)
|
239 |
{
|
240 |
-
|
241 |
echo "<li id='recordsArray_$value'>";
|
242 |
-
|
243 |
if ($value == 0)
|
244 |
{
|
245 |
echo "<img src='".ACX_FSMI_BASE_LOCATION."images/themes/". $acx_si_theme ."/twitter.png' border='0'><br> Twitter";
|
@@ -265,13 +257,17 @@ function acx_fsmi_icon_theme_order_html()
|
|
265 |
{
|
266 |
echo "<img src='".ACX_FSMI_BASE_LOCATION."images/themes/". $acx_si_theme ."/linkedin.png' border='0'><br> Linkedin";
|
267 |
}
|
268 |
-
|
269 |
if ($value == 6)
|
270 |
{
|
271 |
echo "<img src='".ACX_FSMI_BASE_LOCATION."images/themes/". $acx_si_theme ."/feed.png' border='0'><br> Rss Feed";
|
272 |
}
|
273 |
-
|
274 |
-
|
|
|
|
|
|
|
|
|
275 |
}
|
276 |
echo "</ul>
|
277 |
</div>
|
@@ -293,8 +289,6 @@ function acx_fsmi_social_media_config_html()
|
|
293 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
294 |
print_acx_fsmi_option_block_end();
|
295 |
} add_action('acx_fsmi_hook_option_fields','acx_fsmi_social_media_config_html',500);
|
296 |
-
|
297 |
-
|
298 |
/* Social Media Icon Settings field Starts here */
|
299 |
function acx_fsmi_social_media_twitter_icon_field()
|
300 |
{
|
@@ -304,22 +298,18 @@ function acx_fsmi_social_media_twitter_icon_field()
|
|
304 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
305 |
}
|
306 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_twitter_icon_field',100);
|
307 |
-
|
308 |
-
|
309 |
function acx_fsmi_twitter_post_if()
|
310 |
{
|
311 |
global $acx_si_twitter;
|
312 |
$acx_si_twitter = acx_fsmi_post_isset_check('acx_si_twitter');
|
313 |
update_option('acx_si_twitter', $acx_si_twitter);
|
314 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_twitter_post_if');
|
315 |
-
|
316 |
function acx_fsmi_twitter_post_else()
|
317 |
{
|
318 |
global $acx_si_twitter;
|
319 |
$acx_si_twitter = get_option('acx_si_twitter');
|
320 |
}
|
321 |
add_action('acx_fsmi_hook_option_postelse','acx_fsmi_twitter_post_else');
|
322 |
-
|
323 |
function acx_fsmi_social_media_facebook_icon_field()
|
324 |
{
|
325 |
global $acx_si_facebook;
|
@@ -329,7 +319,6 @@ function acx_fsmi_social_media_facebook_icon_field()
|
|
329 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
330 |
}
|
331 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_facebook_icon_field',200);
|
332 |
-
|
333 |
function acx_fsmi_facebook_post_if()
|
334 |
{
|
335 |
global $acx_si_facebook;
|
@@ -355,14 +344,12 @@ function acx_fsmi_social_media_gplus_icon_field()
|
|
355 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
356 |
}
|
357 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_gplus_icon_field',300);
|
358 |
-
|
359 |
function acx_fsmi_gplus_post_if()
|
360 |
{
|
361 |
global $acx_si_gplus;
|
362 |
$acx_si_gplus = esc_url_raw(acx_fsmi_post_isset_check('acx_si_gplus'));
|
363 |
update_option('acx_si_gplus', $acx_si_gplus);
|
364 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_gplus_post_if');
|
365 |
-
|
366 |
function acx_fsmi_gplus_post_else()
|
367 |
{
|
368 |
global $acx_si_gplus;
|
@@ -376,21 +363,18 @@ function acx_fsmi_social_media_pinterest_icon_field()
|
|
376 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
377 |
}
|
378 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_pinterest_icon_field',400);
|
379 |
-
|
380 |
function acx_fsmi_pinterest_post_if()
|
381 |
{
|
382 |
global $acx_si_pinterest;
|
383 |
$acx_si_pinterest = esc_url_raw(acx_fsmi_post_isset_check('acx_si_pinterest'));
|
384 |
update_option('acx_si_pinterest', $acx_si_pinterest);
|
385 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_pinterest_post_if');
|
386 |
-
|
387 |
function acx_fsmi_pinterest_post_else()
|
388 |
{
|
389 |
global $acx_si_pinterest;
|
390 |
$acx_si_pinterest = get_option('acx_si_pinterest');
|
391 |
}
|
392 |
add_action('acx_fsmi_hook_option_postelse','acx_fsmi_pinterest_post_else');
|
393 |
-
|
394 |
function acx_fsmi_social_media_youtube_icon_field()
|
395 |
{
|
396 |
global $acx_si_youtube;
|
@@ -399,21 +383,18 @@ function acx_fsmi_social_media_youtube_icon_field()
|
|
399 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
400 |
}
|
401 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_youtube_icon_field',500);
|
402 |
-
|
403 |
function acx_fsmi_youtube_post_if()
|
404 |
{
|
405 |
global $acx_si_youtube;
|
406 |
$acx_si_youtube = esc_url_raw(acx_fsmi_post_isset_check('acx_si_youtube'));
|
407 |
update_option('acx_si_youtube', $acx_si_youtube);
|
408 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_youtube_post_if');
|
409 |
-
|
410 |
function acx_fsmi_youtube_post_else()
|
411 |
{
|
412 |
global $acx_si_youtube;
|
413 |
$acx_si_youtube = get_option('acx_si_youtube');
|
414 |
}
|
415 |
add_action('acx_fsmi_hook_option_postelse','acx_fsmi_youtube_post_else');
|
416 |
-
|
417 |
function acx_fsmi_social_media_linkedin_icon_field()
|
418 |
{
|
419 |
global $acx_si_linkedin;
|
@@ -422,14 +403,12 @@ function acx_fsmi_social_media_linkedin_icon_field()
|
|
422 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
423 |
}
|
424 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_linkedin_icon_field',600);
|
425 |
-
|
426 |
function acx_fsmi_linkedin_post_if()
|
427 |
{
|
428 |
global $acx_si_linkedin;
|
429 |
$acx_si_linkedin = esc_url_raw(acx_fsmi_post_isset_check('acx_si_linkedin'));
|
430 |
update_option('acx_si_linkedin', $acx_si_linkedin);
|
431 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_linkedin_post_if');
|
432 |
-
|
433 |
function acx_fsmi_linkedin_post_else()
|
434 |
{
|
435 |
global $acx_si_linkedin;
|
@@ -444,14 +423,12 @@ function acx_fsmi_social_media_feed_field()
|
|
444 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
445 |
}
|
446 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_feed_field',700);
|
447 |
-
|
448 |
function acx_fsmi_feed_post_if()
|
449 |
{
|
450 |
global $acx_si_feed;
|
451 |
$acx_si_feed = esc_url_raw(acx_fsmi_post_isset_check('acx_si_feed'));
|
452 |
update_option('acx_si_feed', $acx_si_feed);
|
453 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_feed_post_if');
|
454 |
-
|
455 |
function acx_fsmi_feed_post_else()
|
456 |
{
|
457 |
global $acx_si_feed;
|
@@ -459,15 +436,43 @@ function acx_fsmi_feed_post_else()
|
|
459 |
}
|
460 |
add_action('acx_fsmi_hook_option_postelse','acx_fsmi_feed_post_else');
|
461 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
462 |
function acx_fsmi_custom_icon_btn_field()
|
463 |
{
|
464 |
?><span class='button fsmi_info_premium fsmi_info_lb' lb_title='<?php _e('Adding Extra Icons Feature','floating-social-media-icon'); ?>' lb_content='<?php _e('Its possible to add any number of extra icons by uploading them and you can link them to anywhere you need.','floating-social-media-icon'); ?><br><br><?php _e('Lets say, you needs to have an icon which links to your contact page or services page, you can do that.','floating-social-media-icon'); ?><br><br><i><?php _e('This feature is only available in our premium version - ','floating-social-media-icon'); ?><a href="http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/?feature=compare&utm_source=extra-icon&utm_medium=fsmi&utm_campaign=plugin" target="_blank"><?php _e('Compare Features','floating-social-media-icon'); ?></a> / <a href="http://clients.acurax.com/order.php?pid=fsmi_power&utm_source=fsmi&utm_campaign=premium-info" target="_blank"><?php _e('Order Now','floating-social-media-icon'); ?></a>'><?php _e('Add Custom Icon','floating-social-media-icon'); ?></span><?php
|
465 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
466 |
}
|
467 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_custom_icon_btn_field',800);
|
468 |
-
|
469 |
/* Social Media Icon Settings field Ends here */
|
470 |
-
|
471 |
/* Social Media Integration Settings Save - Get - Set Default Logic Starts Here
|
472 |
*/
|
473 |
function acx_fsmi_social_media_integration_html()
|
@@ -481,20 +486,17 @@ function acx_fsmi_social_media_integration_html()
|
|
481 |
<option value="manual"<?php if ($acx_si_display == "manual") { echo 'selected="selected"'; } ?>><?php _e('Manual Only (Using Shortcode or PHP Code - Will not float)','floating-social-media-icon'); ?></option>
|
482 |
<option value="both"<?php if ($acx_si_display == "both") { echo 'selected="selected"'; } ?>><?php _e('Automatic and Manual (Shortcode/PHP will not float but Automatic will Float)','floating-social-media-icon'); ?></option>
|
483 |
</select>
|
484 |
-
<span class='acx_fsmi_q_sep'></span>
|
485 |
-
|
486 |
<?php $code = ' <?php if (function_exists("DISPLAY_ACURAX_ICONS")) { DISPLAY_ACURAX_ICONS(); } ?>';
|
487 |
?><span class='acx_fsmi_q_sep'></span>
|
488 |
<span class='note'><?php _e('If you select display mode as "Automatic Only" , it will show automatically but will not show anything for shortcode or php code, If you select as "Manual Only", It will not automatically show floating icons but you can place','floating-social-media-icon');?></span>
|
489 |
<span class='acx_fsmi_q_sep'></span>
|
490 |
<?php highlight_string($code); ?><span class='acx_fsmi_q_sep'></span>
|
491 |
<span class='note'><?php _e('in your theme file or use the shortcode','floating-social-media-icon');?> <span style="color: #000000;background:rgba(0, 0, 0, 0.07) none repeat scroll 0 0;" class="code"> [DISPLAY_ACURAX_ICONS]</span><?php _e(', to display the Social Icons where ever you want, If you select "Automatic and Manual", It will automatically show floating icons and will also show icons for shortcode and php code.','floating-social-media-icon');?></span>
|
492 |
-
<?php
|
493 |
-
|
494 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
495 |
print_acx_fsmi_option_block_end();
|
496 |
} add_action('acx_fsmi_hook_option_fields','acx_fsmi_social_media_integration_html',600);
|
497 |
-
|
498 |
function acx_fsmi_social_media_integration_ifpost()
|
499 |
{
|
500 |
global $acx_si_display ;
|
@@ -510,22 +512,18 @@ function acx_fsmi_social_media_integration_else()
|
|
510 |
function acx_fsmi_social_media_integration_after_else()
|
511 |
{
|
512 |
global $acx_si_display;
|
513 |
-
|
514 |
if ($acx_si_display == "") { $acx_si_display = "both"; }
|
515 |
} add_action('acx_fsmi_hook_option_after_else','acx_fsmi_social_media_integration_after_else');
|
516 |
|
517 |
/* Social Media Integration Settings Save - Get - Set Default Logic Ends Here */
|
518 |
-
|
519 |
/* Define Fly Animation Start and End Position Save - Get - Set Default Logic Starts Here
|
520 |
*/
|
521 |
function acx_fsmi_animation_position_html()
|
522 |
{
|
523 |
$acx_string = __('Define Fly Animation Start and End Position','floating-social-media-icon');
|
524 |
print_acx_fsmi_option_block_start($acx_string);
|
525 |
-
|
526 |
?>
|
527 |
<span class="fsmi_p_info_start_end fsmi_info_premium fsmi_info_lb" lb_title="<?php _e('Configure Fly Animation Start and End Position','floating-social-media-icon');?>" lb_content="<?php _e('You can configure the floating social media icons fly animation start and end position, By default it fly from top left to bottom right.','floating-social-media-icon');?><br><br><i><?php _e('This feature is only available in our premium version - ','floating-social-media-icon');?><a href='http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/?feature=compare&utm_source=fly-animation&utm_medium=fsmi&utm_campaign=plugin' target='_blank'><?php _e('Compare Features','floating-social-media-icon');?></a> / <a href='http://clients.acurax.com/order.php?pid=fsmi_power&utm_source=fsmi&utm_campaign=premium-info' target='_blank'><?php _e('Order Now','floating-social-media-icon');?></a>"></span>
|
528 |
-
|
529 |
<?php
|
530 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
531 |
print_acx_fsmi_option_block_end();
|
@@ -541,7 +539,6 @@ function acx_fsmi_credit_link_html()
|
|
541 |
global $acx_si_credit;
|
542 |
$acx_string = __('Credit Link Settings','floating-social-media-icon');
|
543 |
print_acx_fsmi_option_block_start($acx_string);
|
544 |
-
|
545 |
?>
|
546 |
<select name="acx_si_credit">
|
547 |
<option value="yes"<?php if ($acx_si_credit == "yes") { echo 'selected="selected"'; } ?>><?php _e('Yes, Its Okay to Show Credit Link','floating-social-media-icon');?> </option>
|
@@ -565,7 +562,6 @@ function acx_fsmi_social_media_credit_ifpost()
|
|
565 |
|
566 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_social_media_credit_ifpost');
|
567 |
/* Credit Link Save - Get - Set Default Logic Starts Here */
|
568 |
-
|
569 |
/* Define Submit Button Starts Here */
|
570 |
function acx_fsmi_submit_button_html()
|
571 |
{
|
@@ -584,13 +580,10 @@ function acx_fsmi_options_above_if()
|
|
584 |
if ($acx_si_credit == "") { $acx_si_credit = 'no'; }
|
585 |
$acx_si_fsmi_hide_advert = get_option('acx_si_fsmi_hide_advert');
|
586 |
if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = 'no'; }
|
587 |
-
|
588 |
if(ISSET($_GET["backlink"]))
|
589 |
{
|
590 |
$get_backlink = sanitize_text_field($_GET["backlink"]);
|
591 |
-
} else
|
592 |
-
{
|
593 |
-
$get_backlink = "";
|
594 |
}
|
595 |
if($get_backlink == "enable") {
|
596 |
update_option('acx_si_credit', 'yes');
|
@@ -615,12 +608,12 @@ function acx_fsmi_social_media_else()
|
|
615 |
global $acx_si_installed_date,$acx_si_credit,$social_icon_array_order,$acx_si_fsmi_hide_advert;
|
616 |
$acx_si_installed_date = get_option('acx_si_installed_date');
|
617 |
if ($acx_si_installed_date=="")
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
|
622 |
-
|
623 |
-
|
624 |
$acx_si_fsmi_hide_advert = get_option('acx_si_fsmi_hide_advert');
|
625 |
if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = 'no'; }
|
626 |
do_action('acx_fsmi_array_refresh');
|
@@ -635,15 +628,13 @@ function acx_fsmi_social_media_else()
|
|
635 |
global $acx_si_fsmi_hide_advert;
|
636 |
if($acx_si_fsmi_hide_advert == "no")
|
637 |
{
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
}
|
642 |
}
|
643 |
add_action('acx_fsmi_hook_option_footer','acx_fsmi_show_comparison',400);
|
644 |
-
|
645 |
/* Comparison HTML Ends Here */
|
646 |
-
|
647 |
/* Footer HTML Starts Here */
|
648 |
function acx_fsmi_show_footer_contact_section()
|
649 |
{
|
@@ -687,14 +678,12 @@ function acx_fsmi_misc_premium_advert_above_form()
|
|
687 |
/* Theme Conflict/Misc Settings HTML - Save - Get - Set Default Logic Starts Here */
|
688 |
function acx_fsmi_misc_theme_conflict_html()
|
689 |
{
|
690 |
-
$acx_string = __('Acurax Theme Conflict/Misc Settings','floating-social-media-icon');
|
691 |
print_acx_fsmi_option_block_start($acx_string);
|
692 |
do_action('acx_fsmi_misc_theme_conflict_option_field');
|
693 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
694 |
print_acx_fsmi_option_block_end();
|
695 |
} add_action('acx_fsmi_misc_hook_option_fields','acx_fsmi_misc_theme_conflict_html',100);
|
696 |
-
|
697 |
-
|
698 |
function acx_fsmi_icon_vertical_field()
|
699 |
{
|
700 |
global $acx_si_fsmi_float_fix;?>
|
@@ -708,8 +697,6 @@ function acx_fsmi_icon_vertical_field()
|
|
708 |
<?php echo "<span class='acx_fsmi_q_sep'></span>";
|
709 |
}
|
710 |
add_action('acx_fsmi_misc_theme_conflict_option_field','acx_fsmi_icon_vertical_field',100);
|
711 |
-
|
712 |
-
|
713 |
function acx_fsmi_float_fix_if()
|
714 |
{
|
715 |
global $acx_si_fsmi_float_fix;
|
@@ -758,18 +745,15 @@ add_action('acx_fsmi_misc_hook_option_postelse','acx_fsmi_theme_warning_ignore_e
|
|
758 |
function acx_fsmi_theme_warning_ignore_after_else()
|
759 |
{
|
760 |
global $acx_si_fsmi_theme_warning_ignore;
|
761 |
-
|
762 |
if ($acx_si_fsmi_theme_warning_ignore == "") { $acx_si_fsmi_theme_warning_ignore = "no"; }
|
763 |
} add_action('acx_fsmi_misc_hook_option_after_else','acx_fsmi_theme_warning_ignore_after_else');
|
764 |
function acx_fsmi_set_icons_vertical()
|
765 |
{
|
766 |
-
|
767 |
echo "<span class='label' style='width:50%;'>". __('Set Icons Vertical?','floating-social-media-icon')."";
|
768 |
?>
|
769 |
<a style="cursor:pointer;" class="fsmi_info_premium fsmi_info_lb" lb_title="<?php _e("Display Icons Vertically","floating-social-media-icon"); ?>" lb_content="<?php _e("Its possible to make the social icons align vertical or horizontal, You can set the number of icons to have a in a row, by adjusting the slider, So you can set # of icons in a row to 1 makes it looks vertical.","floating-social-media-icon"); ?><br><br><i><?php _e("This feature is only available in our premium version - ","floating-social-media-icon"); ?><a href='http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/?feature=compare&utm_source=vertical-icon&utm_medium=fsmi&utm_campaign=plugin' target='_blank'><?php _e("Compare Features","floating-social-media-icon"); ?></a> / <a href='http://clients.acurax.com/order.php?pid=fsmi_power&utm_source=fsmi&utm_campaign=premium-info' target='_blank'><?php _e("Order Now","floating-social-media-icon"); ?></a>">[?]</a></span>
|
770 |
<span name="acx_si_fsmi_theme_demo_vertical" class="fsmi_p_info_icon_h fsmi_info_premium fsmi_info_lb" lb_title="<?php _e("Display Icons Vertically","floating-social-media-icon"); ?>" lb_content="<?php _e("Its possible to make the social icons align vertical or horizontal, You can set the number of icons to have a in a row, by adjusting the slider, So you can set # of icons in a row to 1 makes it looks vertical.","floating-social-media-icon"); ?><br><br><i><?php _e("This feature is only available in our premium version - ","floating-social-media-icon"); ?><a href='http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/?feature=compare&utm_source=vertical-icon&utm_medium=fsmi&utm_campaign=plugin' target='_blank'><?php _e("Compare Features","floating-social-media-icon"); ?></a> / <a href='http://clients.acurax.com/order.php?pid=fsmi_power&utm_source=fsmi&utm_campaign=premium-info' target='_blank'><?php _e("Order Now","floating-social-media-icon"); ?></a>">
|
771 |
</span>
|
772 |
-
|
773 |
<?php echo "<span class='acx_fsmi_q_sep'></span>";
|
774 |
}
|
775 |
global $acx_si_fsmi_hide_advert;
|
@@ -787,19 +771,15 @@ function acx_fsmi_disable_mob_float()
|
|
787 |
<option value="yes"<?php if ($acx_si_fsmi_disable_mobile == "yes") { echo 'selected="selected"'; } ?>><?php _e('Yes, Lets disable it','floating-social-media-icon');?> </option>
|
788 |
<option value="no"<?php if ($acx_si_fsmi_disable_mobile == "no") { echo 'selected="selected"'; } ?>><?php _e('No, Thats fine','floating-social-media-icon' ); ?></option>
|
789 |
</select>
|
790 |
-
|
791 |
<?php echo "<span class='acx_fsmi_q_sep'></span>";
|
792 |
}
|
793 |
add_action('acx_fsmi_misc_theme_conflict_option_field','acx_fsmi_disable_mob_float',400);
|
794 |
-
|
795 |
-
|
796 |
function acx_fsmi_disable_mob_float_if()
|
797 |
{
|
798 |
global $acx_si_fsmi_disable_mobile;
|
799 |
$acx_si_fsmi_disable_mobile = sanitize_text_field(acx_fsmi_post_isset_check('acx_si_fsmi_disable_mobile'));
|
800 |
update_option('acx_si_fsmi_disable_mobile', $acx_si_fsmi_disable_mobile);
|
801 |
} add_action('acx_fsmi_misc_hook_option_onpost','acx_fsmi_disable_mob_float_if');
|
802 |
-
|
803 |
function acx_fsmi_disable_mob_float_else()
|
804 |
{
|
805 |
global $acx_si_fsmi_disable_mobile;
|
@@ -812,16 +792,11 @@ function acx_fsmi_disable_mob_float_after_else()
|
|
812 |
|
813 |
if ($acx_si_fsmi_disable_mobile == "") { $acx_si_fsmi_disable_mobile = "no"; }
|
814 |
} add_action('acx_fsmi_misc_hook_option_after_else','acx_fsmi_disable_mob_float_after_else');
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
function acx_fsmi_no_follow_link()
|
819 |
{
|
820 |
global $acx_si_fsmi_no_follow;
|
821 |
-
echo "<span class='label' style='width:50%;'>". __('No follow links? ','floating-social-media-icon')."<a style='cursor:pointer;' class='fsmi_info_premium fsmi_info_lb' lb_title='Icon Link No Follow Settings' lb_content='Would you like to disable Nofollow on Icon links? You can configure this option to Yes'>[?]</a></span>";
|
822 |
?>
|
823 |
-
|
824 |
-
|
825 |
<select name="acx_si_fsmi_no_follow" style="width:49%;">
|
826 |
<option value="yes"<?php if ($acx_si_fsmi_no_follow == "yes") { echo 'selected="selected"'; } ?>><?php _e('No,Thats fine','floating-social-media-icon'); ?></option>
|
827 |
<option value="no"<?php if ($acx_si_fsmi_no_follow == "no") { echo 'selected="selected"'; } ?>><?php _e('Yes, Lets Disable No Follow','floating-social-media-icon'); ?> </option>
|
@@ -829,15 +804,12 @@ function acx_fsmi_no_follow_link()
|
|
829 |
<?php echo "<span class='acx_fsmi_q_sep'></span>";
|
830 |
}
|
831 |
add_action('acx_fsmi_misc_theme_conflict_option_field','acx_fsmi_no_follow_link',500);
|
832 |
-
|
833 |
-
|
834 |
function acx_fsmi_no_follow_if()
|
835 |
{
|
836 |
global $acx_si_fsmi_no_follow;
|
837 |
$acx_si_fsmi_no_follow = sanitize_text_field(acx_fsmi_post_isset_check('acx_si_fsmi_no_follow'));
|
838 |
update_option('acx_si_fsmi_no_follow', $acx_si_fsmi_no_follow);
|
839 |
} add_action('acx_fsmi_misc_hook_option_onpost','acx_fsmi_no_follow_if');
|
840 |
-
|
841 |
function acx_fsmi_no_follow_else()
|
842 |
{
|
843 |
global $acx_si_fsmi_no_follow;
|
@@ -847,8 +819,7 @@ add_action('acx_fsmi_misc_hook_option_postelse','acx_fsmi_no_follow_else');
|
|
847 |
function acx_fsmi_no_follow_after_else()
|
848 |
{
|
849 |
global $acx_si_fsmi_no_follow;
|
850 |
-
|
851 |
-
if ($acx_si_fsmi_no_follow == "") { $acx_si_fsmi_no_follow = "no"; }
|
852 |
} add_action('acx_fsmi_misc_hook_option_after_else','acx_fsmi_no_follow_after_else');
|
853 |
/* Theme Conflict/Misc Settings HTML - Get - Set Default Logic Ends Here */
|
854 |
/* Acurax Service/Info Settings HTML - Get - Set Default Logic Starts Here */
|
@@ -860,7 +831,6 @@ function acx_fsmi_misc_service_info_html()
|
|
860 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
861 |
print_acx_fsmi_option_block_end();
|
862 |
} add_action('acx_fsmi_misc_hook_option_fields','acx_fsmi_misc_service_info_html',200);
|
863 |
-
|
864 |
function acx_fsmi_service_info_option()
|
865 |
{
|
866 |
global $acx_fsmi_acx_service_banners;
|
@@ -871,18 +841,14 @@ function acx_fsmi_service_info_option()
|
|
871 |
</select>
|
872 |
<?php
|
873 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
874 |
-
|
875 |
}
|
876 |
add_action('acx_fsmi_misc_service_info','acx_fsmi_service_info_option',100);
|
877 |
-
|
878 |
-
|
879 |
function acx_fsmi_service_info_if()
|
880 |
{
|
881 |
global $acx_fsmi_acx_service_banners;
|
882 |
$acx_fsmi_acx_service_banners = sanitize_text_field(acx_fsmi_post_isset_check('acx_fsmi_acx_service_banners'));
|
883 |
update_option('acx_fsmi_acx_service_banners', $acx_fsmi_acx_service_banners);
|
884 |
} add_action('acx_fsmi_misc_hook_option_onpost','acx_fsmi_service_info_if');
|
885 |
-
|
886 |
function acx_fsmi_service_info_else()
|
887 |
{
|
888 |
global $acx_fsmi_acx_service_banners;
|
@@ -895,7 +861,6 @@ function acx_fsmi_service_info_after_else()
|
|
895 |
|
896 |
if ($acx_fsmi_acx_service_banners == "") { $acx_fsmi_acx_service_banners = "yes"; }
|
897 |
} add_action('acx_fsmi_misc_hook_option_after_else','acx_fsmi_service_info_after_else');
|
898 |
-
|
899 |
/* Acurax Service/Info Settings HTML - Get - Set Default Logic Ends Here */
|
900 |
|
901 |
/* Premium Version Info Settings HTML - Get - Set Default Logic Starts Here */
|
@@ -909,7 +874,6 @@ function acx_fsmi_misc_premium_info_option()
|
|
909 |
</select>
|
910 |
<?php
|
911 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
912 |
-
|
913 |
}
|
914 |
add_action('acx_fsmi_misc_service_info','acx_fsmi_misc_premium_info_option',200);
|
915 |
function acx_fsmi_premium_info_if()
|
@@ -933,8 +897,6 @@ if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = "no"; }
|
|
933 |
|
934 |
/* Premium Version Info Settings Settings HTML - Get - Set Default Logic Ends Here */
|
935 |
/* Expert Support Menu Settings HTML - Get - Set Default Logic Starts Here */
|
936 |
-
|
937 |
-
|
938 |
function acx_fsmi_misc_expert_support_option()
|
939 |
{
|
940 |
global $acx_si_fsmi_hide_expert_support_menu;
|
@@ -945,18 +907,14 @@ function acx_fsmi_misc_expert_support_option()
|
|
945 |
</select>
|
946 |
<?php
|
947 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
948 |
-
|
949 |
}
|
950 |
add_action('acx_fsmi_misc_service_info','acx_fsmi_misc_expert_support_option',300);
|
951 |
-
|
952 |
-
|
953 |
function acx_fsmi_expert_support_if()
|
954 |
{
|
955 |
global $acx_si_fsmi_hide_expert_support_menu;
|
956 |
$acx_si_fsmi_hide_expert_support_menu = sanitize_text_field(acx_fsmi_post_isset_check('acx_si_fsmi_hide_expert_support_menu'));
|
957 |
update_option('acx_si_fsmi_hide_expert_support_menu', $acx_si_fsmi_hide_expert_support_menu);
|
958 |
} add_action('acx_fsmi_misc_hook_option_onpost','acx_fsmi_expert_support_if');
|
959 |
-
|
960 |
function acx_fsmi_expert_support_else()
|
961 |
{
|
962 |
global $acx_si_fsmi_hide_expert_support_menu;
|
@@ -969,7 +927,6 @@ function acx_fsmi_expert_support_after_else()
|
|
969 |
|
970 |
if ($acx_si_fsmi_hide_expert_support_menu == "") { $acx_si_fsmi_hide_expert_support_menu = "no"; }
|
971 |
} add_action('acx_fsmi_misc_hook_option_after_else','acx_fsmi_expert_support_after_else');
|
972 |
-
|
973 |
/* Expert Support Menu Settings Settings HTML - Get - Set Default Logic Ends Here */
|
974 |
|
975 |
/* Define Misc Submit Button Starts Here */
|
@@ -994,7 +951,6 @@ add_action('acx_fsmi_misc_hook_option_fields','acx_fsmi_misc_submit_button_html'
|
|
994 |
}
|
995 |
}
|
996 |
add_action('acx_fsmi_misc_hook_option_footer','acx_fsmi_misc_show_comparison',100);
|
997 |
-
|
998 |
/* Comparison HTML Starts Here */
|
999 |
|
1000 |
/* Footer HTML Starts Here */
|
@@ -1007,35 +963,32 @@ function acx_fsmi_misc_show_footer_contact_section()
|
|
1007 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
1008 |
}
|
1009 |
add_action('acx_fsmi_misc_hook_option_footer','acx_fsmi_misc_show_footer_contact_section',200);
|
1010 |
-
|
1011 |
/* Footer HTML Ends Here */
|
1012 |
-
|
1013 |
/*********************************** PREMIUM *****************************************************************/
|
1014 |
/* Premium Updation HTML Starts Here */
|
1015 |
function acx_fsmi_premium_html()
|
1016 |
{
|
1017 |
-
|
1018 |
-
$
|
1019 |
-
if(ISSET($_GET['td']))
|
1020 |
-
{
|
1021 |
-
$td_get = $_GET['td'];
|
1022 |
-
}
|
1023 |
-
if($td_get == 'hide')
|
1024 |
-
{
|
1025 |
-
update_option('acx_si_td', "hide");
|
1026 |
-
?>
|
1027 |
-
<style type='text/css'>
|
1028 |
-
#acx_td_fsmi
|
1029 |
{
|
1030 |
-
|
1031 |
}
|
1032 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1033 |
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
}
|
1039 |
}
|
1040 |
add_action('acx_fsmi_premium_hook_option_footer','acx_fsmi_premium_html',100);
|
1041 |
/* Premium Updation HTML Ends Here */
|
@@ -1045,11 +998,9 @@ function acx_fsmi_premium_comparison_html()
|
|
1045 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
1046 |
do_action('acx_fsmi_comparison_premium',1);
|
1047 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
1048 |
-
|
1049 |
}
|
1050 |
add_action('acx_fsmi_premium_hook_option_footer','acx_fsmi_premium_comparison_html',200);
|
1051 |
/* Comparison HTML Ends Here */
|
1052 |
-
|
1053 |
/********************************************************* Help Page *****************************************************/
|
1054 |
/* Premium Ad on the top starts Here*/
|
1055 |
function acx_fsmi_help_html()
|
@@ -1103,7 +1054,6 @@ function acx_fsmi_quick_fix_applied()
|
|
1103 |
}
|
1104 |
}
|
1105 |
add_action('acx_fsmi_exprt_hook_option_form_head','acx_fsmi_quick_fix_applied',120);
|
1106 |
-
|
1107 |
function acx_fsmi_expert_icon_select_html()
|
1108 |
{
|
1109 |
global $page;
|
@@ -1118,10 +1068,8 @@ function acx_fsmi_expert_icon_select_html()
|
|
1118 |
<p class="widefat" style="background: none repeat scroll 0% 0% menu; border-bottom: 2px dashed lavender; border-right: 2px dashed lavender; margin-bottom: 15px; margin-top: 8px; padding: 8px; width: 99%;"> <?php _e("1) Icon Selection Display Fix: ","floating-social-media-icon" );
|
1119 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
1120 |
}
|
1121 |
-
|
1122 |
}
|
1123 |
add_action('acx_fsmi_exprt_hook_option_above_page_left','acx_fsmi_expert_icon_select_html',200);
|
1124 |
-
|
1125 |
function acx_fsmi_expert_quick_fix_html()
|
1126 |
{
|
1127 |
global $page;
|
@@ -1143,35 +1091,26 @@ function acx_fsmi_exprt_quick_fix_add()
|
|
1143 |
{
|
1144 |
$social_icon_array_order = unserialize($social_icon_array_order);
|
1145 |
}
|
|
|
1146 |
if(ISSET($_GET['page']))
|
1147 |
{
|
1148 |
$page = $_GET['page'];
|
1149 |
}
|
1150 |
-
else{
|
1151 |
-
$page = '';
|
1152 |
-
}
|
1153 |
-
|
1154 |
if(ISSET($_GET['quickfix']))
|
1155 |
{
|
1156 |
-
|
1157 |
-
}
|
1158 |
-
{
|
1159 |
-
$quick_fix = "";
|
1160 |
-
}
|
1161 |
if(ISSET($_GET['sid']))
|
1162 |
{
|
1163 |
-
|
1164 |
-
}
|
1165 |
-
{
|
1166 |
-
$sid = "";
|
1167 |
-
}
|
1168 |
if (!wp_verify_nonce($sid,'acx_fsmi_qfix'))
|
1169 |
{
|
1170 |
-
|
1171 |
}
|
1172 |
if(!current_user_can('manage_options'))
|
1173 |
{
|
1174 |
-
|
1175 |
}
|
1176 |
|
1177 |
$fix_applied = 0;
|
@@ -1185,8 +1124,6 @@ function acx_fsmi_exprt_quick_fix_add()
|
|
1185 |
}
|
1186 |
}
|
1187 |
add_action('acx_fsmi_exprt_hook_option_exprt_quick','acx_fsmi_exprt_quick_fix_add',100);
|
1188 |
-
|
1189 |
-
|
1190 |
function acx_fsmi_expert_down_note_html()
|
1191 |
{
|
1192 |
global $page;
|
@@ -1200,6 +1137,5 @@ function acx_fsmi_expert_down_note_html()
|
|
1200 |
}
|
1201 |
}
|
1202 |
add_action('acx_fsmi_exprt_hook_option_above_page_left','acx_fsmi_expert_down_note_html',400);
|
1203 |
-
|
1204 |
/* Troubleshooter page options Ends Here*/
|
1205 |
?>
|
21 |
<?php _e('Please do a favour by enabling back-link to our site. ','floating-social-media-icon'); ?><a href="admin.php?page=Acurax-Social-Icons-Settings&backlink=enable"><?php _e('Okay, Enable.','floating-social-media-icon'); ?></a>
|
22 |
</div>
|
23 |
<?php
|
|
|
24 |
}
|
25 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
26 |
} add_action('acx_fsmi_hook_option_above_page_left','acx_fsmi_premium_advert_above_form',50);
|
47 |
".$acx_si_icon_size."px'>
|
48 |
<img src='".ACX_FSMI_BASE_LOCATION."images/themes/".$acx_si_theme."/feed.png' style='height:
|
49 |
".$acx_si_icon_size."px'>
|
50 |
+
<img src='".ACX_FSMI_BASE_LOCATION."images/themes/".$acx_si_theme."/instagram.png' style='height:
|
51 |
+
".$acx_si_icon_size."px'>
|
52 |
</div>";
|
53 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
54 |
print_acx_fsmi_option_block_end();
|
55 |
} add_action('acx_fsmi_hook_option_fields','acx_fsmi_current_icon_html',100);
|
|
|
56 |
/* Current Theme Save - Get - Set Default Logic Ends Here */
|
|
|
57 |
/* Icon Theme Settings - Save - Get - Set Default Logic Starts Here */
|
|
|
58 |
function acx_fsmi_icon_theme_settings_html()
|
59 |
{
|
60 |
global $acx_si_theme,$social_icon_array_order,$acx_fsmi_themes_array;
|
65 |
$acx_string = __('Icon Theme Settings','floating-social-media-icon');
|
66 |
print_acx_fsmi_option_block_start($acx_string);
|
67 |
?>
|
|
|
|
|
68 |
<div id="acx_si_theme_display">
|
69 |
<?php
|
70 |
|
103 |
{
|
104 |
echo "<img src='".$v['path']."images/themes/". $k ."/linkedin.png'>";
|
105 |
}
|
106 |
+
else
|
107 |
if ($value == 6)
|
108 |
{
|
109 |
echo "<img src='".$v['path']."images/themes/". $k ."/feed.png'>";
|
110 |
}
|
111 |
+
else if($value == 7)
|
112 |
+
{
|
113 |
+
echo "<img src='".$v['path']."images/themes/". $k ."/instagram.png'>";
|
114 |
+
}
|
115 |
}
|
116 |
?>
|
117 |
</div>
|
120 |
}
|
121 |
?>
|
122 |
</div> <!-- acx_si_theme_display -->
|
|
|
123 |
<?php
|
124 |
echo "<span class='note'></span>";
|
125 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
126 |
print_acx_fsmi_option_block_end();
|
127 |
} add_action('acx_fsmi_hook_option_fields','acx_fsmi_icon_theme_settings_html',200);
|
|
|
128 |
function acx_fsmi_icon_theme_settings_ifpost()
|
129 |
{
|
130 |
global $acx_si_theme;
|
131 |
$acx_si_theme = sanitize_text_field(acx_fsmi_post_isset_check('acx_si_theme'));
|
132 |
if(!is_numeric($acx_si_theme))
|
133 |
{
|
134 |
+
$acx_si_theme = 1;
|
135 |
}
|
136 |
update_option('acx_si_theme', $acx_si_theme);
|
137 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_icon_theme_settings_ifpost');
|
138 |
function acx_fsmi_icon_theme_settings_else()
|
139 |
{
|
140 |
+
global $acx_si_theme,$social_icon_array_order;
|
141 |
+
$acx_si_theme = get_option('acx_si_theme');
|
142 |
+
$social_icon_array_order = get_option('social_icon_array_order');
|
143 |
+
if(is_serialized($social_icon_array_order))
|
144 |
+
{
|
145 |
$social_icon_array_order = unserialize($social_icon_array_order);
|
146 |
+
}
|
147 |
|
148 |
} add_action('acx_fsmi_hook_option_postelse','acx_fsmi_icon_theme_settings_else');
|
149 |
function acx_fsmi_icon_theme_settings_after_else()
|
150 |
{
|
151 |
global $acx_si_theme;
|
152 |
+
if ($acx_si_theme == "")
|
153 |
+
{
|
154 |
+
$acx_si_theme = "1";
|
155 |
+
}
|
156 |
} add_action('acx_fsmi_hook_option_after_else','acx_fsmi_icon_theme_settings_after_else');
|
157 |
/* Icon Theme Settings Save - Get - Set Default Logic Ends Here */
|
158 |
/* Icon Theme Size - Save - Get - Set Default Logic Starts Here */
|
183 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_icon_theme_size_ifpost');
|
184 |
function acx_fsmi_icon_theme_size_else()
|
185 |
{
|
186 |
+
global $acx_si_icon_size;
|
187 |
+
$acx_si_icon_size = get_option('acx_si_icon_size');
|
188 |
|
189 |
} add_action('acx_fsmi_hook_option_postelse','acx_fsmi_icon_theme_size_else');
|
190 |
function acx_fsmi_icon_theme_size_after_else()
|
191 |
{
|
192 |
global $acx_si_icon_size;
|
193 |
+
if ($acx_si_icon_size == "") { $acx_si_icon_size = "32"; }
|
194 |
|
195 |
} add_action('acx_fsmi_hook_option_after_else','acx_fsmi_icon_theme_size_after_else');
|
196 |
|
197 |
/* Icon Theme Size Save - Get - Set Default Logic Ends Here */
|
|
|
198 |
/* Icon Theme Order - Save - Get - Set Default Logic Starts Here */
|
|
|
|
|
199 |
function acx_fsmi_icon_theme_order_html()
|
200 |
{
|
201 |
global $acx_si_icon_size,$social_icon_array_order,$acx_si_theme;
|
202 |
if(is_serialized($social_icon_array_order))
|
203 |
{
|
204 |
+
$social_icon_array_order = unserialize($social_icon_array_order);
|
205 |
}
|
206 |
$acx_string = __("Social Media Icon Display Order - Drag and Drop to Reorder","floating-social-media-icon");
|
207 |
print_acx_fsmi_option_block_start($acx_string);
|
229 |
echo "<div class='acx_fsmi_admin_left_section_c'>
|
230 |
<div id='contentLeft'>
|
231 |
<ul>";
|
|
|
232 |
foreach ($social_icon_array_order as $key => $value)
|
233 |
{
|
|
|
234 |
echo "<li id='recordsArray_$value'>";
|
|
|
235 |
if ($value == 0)
|
236 |
{
|
237 |
echo "<img src='".ACX_FSMI_BASE_LOCATION."images/themes/". $acx_si_theme ."/twitter.png' border='0'><br> Twitter";
|
257 |
{
|
258 |
echo "<img src='".ACX_FSMI_BASE_LOCATION."images/themes/". $acx_si_theme ."/linkedin.png' border='0'><br> Linkedin";
|
259 |
}
|
260 |
+
else
|
261 |
if ($value == 6)
|
262 |
{
|
263 |
echo "<img src='".ACX_FSMI_BASE_LOCATION."images/themes/". $acx_si_theme ."/feed.png' border='0'><br> Rss Feed";
|
264 |
}
|
265 |
+
else
|
266 |
+
if ($value == 7)
|
267 |
+
{
|
268 |
+
echo "<img src='".ACX_FSMI_BASE_LOCATION."images/themes/". $acx_si_theme ."/instagram.png' border='0'><br> Instagram";
|
269 |
+
}
|
270 |
+
echo "</li> ";
|
271 |
}
|
272 |
echo "</ul>
|
273 |
</div>
|
289 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
290 |
print_acx_fsmi_option_block_end();
|
291 |
} add_action('acx_fsmi_hook_option_fields','acx_fsmi_social_media_config_html',500);
|
|
|
|
|
292 |
/* Social Media Icon Settings field Starts here */
|
293 |
function acx_fsmi_social_media_twitter_icon_field()
|
294 |
{
|
298 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
299 |
}
|
300 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_twitter_icon_field',100);
|
|
|
|
|
301 |
function acx_fsmi_twitter_post_if()
|
302 |
{
|
303 |
global $acx_si_twitter;
|
304 |
$acx_si_twitter = acx_fsmi_post_isset_check('acx_si_twitter');
|
305 |
update_option('acx_si_twitter', $acx_si_twitter);
|
306 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_twitter_post_if');
|
|
|
307 |
function acx_fsmi_twitter_post_else()
|
308 |
{
|
309 |
global $acx_si_twitter;
|
310 |
$acx_si_twitter = get_option('acx_si_twitter');
|
311 |
}
|
312 |
add_action('acx_fsmi_hook_option_postelse','acx_fsmi_twitter_post_else');
|
|
|
313 |
function acx_fsmi_social_media_facebook_icon_field()
|
314 |
{
|
315 |
global $acx_si_facebook;
|
319 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
320 |
}
|
321 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_facebook_icon_field',200);
|
|
|
322 |
function acx_fsmi_facebook_post_if()
|
323 |
{
|
324 |
global $acx_si_facebook;
|
344 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
345 |
}
|
346 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_gplus_icon_field',300);
|
|
|
347 |
function acx_fsmi_gplus_post_if()
|
348 |
{
|
349 |
global $acx_si_gplus;
|
350 |
$acx_si_gplus = esc_url_raw(acx_fsmi_post_isset_check('acx_si_gplus'));
|
351 |
update_option('acx_si_gplus', $acx_si_gplus);
|
352 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_gplus_post_if');
|
|
|
353 |
function acx_fsmi_gplus_post_else()
|
354 |
{
|
355 |
global $acx_si_gplus;
|
363 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
364 |
}
|
365 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_pinterest_icon_field',400);
|
|
|
366 |
function acx_fsmi_pinterest_post_if()
|
367 |
{
|
368 |
global $acx_si_pinterest;
|
369 |
$acx_si_pinterest = esc_url_raw(acx_fsmi_post_isset_check('acx_si_pinterest'));
|
370 |
update_option('acx_si_pinterest', $acx_si_pinterest);
|
371 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_pinterest_post_if');
|
|
|
372 |
function acx_fsmi_pinterest_post_else()
|
373 |
{
|
374 |
global $acx_si_pinterest;
|
375 |
$acx_si_pinterest = get_option('acx_si_pinterest');
|
376 |
}
|
377 |
add_action('acx_fsmi_hook_option_postelse','acx_fsmi_pinterest_post_else');
|
|
|
378 |
function acx_fsmi_social_media_youtube_icon_field()
|
379 |
{
|
380 |
global $acx_si_youtube;
|
383 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
384 |
}
|
385 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_youtube_icon_field',500);
|
|
|
386 |
function acx_fsmi_youtube_post_if()
|
387 |
{
|
388 |
global $acx_si_youtube;
|
389 |
$acx_si_youtube = esc_url_raw(acx_fsmi_post_isset_check('acx_si_youtube'));
|
390 |
update_option('acx_si_youtube', $acx_si_youtube);
|
391 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_youtube_post_if');
|
|
|
392 |
function acx_fsmi_youtube_post_else()
|
393 |
{
|
394 |
global $acx_si_youtube;
|
395 |
$acx_si_youtube = get_option('acx_si_youtube');
|
396 |
}
|
397 |
add_action('acx_fsmi_hook_option_postelse','acx_fsmi_youtube_post_else');
|
|
|
398 |
function acx_fsmi_social_media_linkedin_icon_field()
|
399 |
{
|
400 |
global $acx_si_linkedin;
|
403 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
404 |
}
|
405 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_linkedin_icon_field',600);
|
|
|
406 |
function acx_fsmi_linkedin_post_if()
|
407 |
{
|
408 |
global $acx_si_linkedin;
|
409 |
$acx_si_linkedin = esc_url_raw(acx_fsmi_post_isset_check('acx_si_linkedin'));
|
410 |
update_option('acx_si_linkedin', $acx_si_linkedin);
|
411 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_linkedin_post_if');
|
|
|
412 |
function acx_fsmi_linkedin_post_else()
|
413 |
{
|
414 |
global $acx_si_linkedin;
|
423 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
424 |
}
|
425 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_feed_field',700);
|
|
|
426 |
function acx_fsmi_feed_post_if()
|
427 |
{
|
428 |
global $acx_si_feed;
|
429 |
$acx_si_feed = esc_url_raw(acx_fsmi_post_isset_check('acx_si_feed'));
|
430 |
update_option('acx_si_feed', $acx_si_feed);
|
431 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_feed_post_if');
|
|
|
432 |
function acx_fsmi_feed_post_else()
|
433 |
{
|
434 |
global $acx_si_feed;
|
436 |
}
|
437 |
add_action('acx_fsmi_hook_option_postelse','acx_fsmi_feed_post_else');
|
438 |
|
439 |
+
function acx_fsmi_social_media_insta_field()
|
440 |
+
{
|
441 |
+
global $acx_si_instagram;
|
442 |
+
if (defined('ACX_FSMIP_VERSION') == false) {
|
443 |
+
|
444 |
+
echo "<span class='label' style='width:50%;'>". __('Instagram URL:','floating-social-media-icon')."</span>";
|
445 |
+
echo "<input type='text' name='acx_si_instagram' style='width:49%;' value='".esc_url($acx_si_instagram)."' placeholder='".__('https://www.instagram.com/username','floating-social-media-icon')."'>";
|
446 |
+
echo "<span class='acx_fsmi_q_sep'></span>";
|
447 |
+
}
|
448 |
+
else if( defined('ACX_FSMIP_VERSION') == true && ACX_FSMIP_VERSION >= "3.0")
|
449 |
+
{
|
450 |
+
echo "<span class='label' style='width:50%;'>". __('Instagram URL:','floating-social-media-icon')."</span>";
|
451 |
+
echo "<input type='text' name='acx_si_instagram' style='width:49%;' value='".esc_url($acx_si_instagram)."' placeholder='".__('https://www.instagram.com/username','floating-social-media-icon')."'>";
|
452 |
+
echo "<span class='acx_fsmi_q_sep'></span>";
|
453 |
+
}
|
454 |
+
|
455 |
+
}
|
456 |
+
add_action('acx_fsmi_icons_option_field','acx_fsmi_social_media_insta_field',800);
|
457 |
+
|
458 |
+
function acx_fsmi_instagram_post_if()
|
459 |
+
{
|
460 |
+
global $acx_si_instagram;
|
461 |
+
$acx_si_instagram = esc_url_raw(acx_fsmi_post_isset_check('acx_si_instagram'));
|
462 |
+
update_option('acx_si_instagram', $acx_si_instagram);
|
463 |
+
}add_action('acx_fsmi_hook_option_onpost','acx_fsmi_instagram_post_if');
|
464 |
+
function acx_fsmi_instagram_post_else()
|
465 |
+
{
|
466 |
+
global $acx_si_instagram;
|
467 |
+
$acx_si_instagram = get_option('acx_si_instagram');
|
468 |
+
} add_action('acx_fsmi_hook_option_postelse','acx_fsmi_instagram_post_else');
|
469 |
function acx_fsmi_custom_icon_btn_field()
|
470 |
{
|
471 |
?><span class='button fsmi_info_premium fsmi_info_lb' lb_title='<?php _e('Adding Extra Icons Feature','floating-social-media-icon'); ?>' lb_content='<?php _e('Its possible to add any number of extra icons by uploading them and you can link them to anywhere you need.','floating-social-media-icon'); ?><br><br><?php _e('Lets say, you needs to have an icon which links to your contact page or services page, you can do that.','floating-social-media-icon'); ?><br><br><i><?php _e('This feature is only available in our premium version - ','floating-social-media-icon'); ?><a href="http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/?feature=compare&utm_source=extra-icon&utm_medium=fsmi&utm_campaign=plugin" target="_blank"><?php _e('Compare Features','floating-social-media-icon'); ?></a> / <a href="http://clients.acurax.com/order.php?pid=fsmi_power&utm_source=fsmi&utm_campaign=premium-info" target="_blank"><?php _e('Order Now','floating-social-media-icon'); ?></a>'><?php _e('Add Custom Icon','floating-social-media-icon'); ?></span><?php
|
472 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
473 |
}
|
474 |
add_action('acx_fsmi_icons_option_field','acx_fsmi_custom_icon_btn_field',800);
|
|
|
475 |
/* Social Media Icon Settings field Ends here */
|
|
|
476 |
/* Social Media Integration Settings Save - Get - Set Default Logic Starts Here
|
477 |
*/
|
478 |
function acx_fsmi_social_media_integration_html()
|
486 |
<option value="manual"<?php if ($acx_si_display == "manual") { echo 'selected="selected"'; } ?>><?php _e('Manual Only (Using Shortcode or PHP Code - Will not float)','floating-social-media-icon'); ?></option>
|
487 |
<option value="both"<?php if ($acx_si_display == "both") { echo 'selected="selected"'; } ?>><?php _e('Automatic and Manual (Shortcode/PHP will not float but Automatic will Float)','floating-social-media-icon'); ?></option>
|
488 |
</select>
|
489 |
+
<span class='acx_fsmi_q_sep'></span>
|
|
|
490 |
<?php $code = ' <?php if (function_exists("DISPLAY_ACURAX_ICONS")) { DISPLAY_ACURAX_ICONS(); } ?>';
|
491 |
?><span class='acx_fsmi_q_sep'></span>
|
492 |
<span class='note'><?php _e('If you select display mode as "Automatic Only" , it will show automatically but will not show anything for shortcode or php code, If you select as "Manual Only", It will not automatically show floating icons but you can place','floating-social-media-icon');?></span>
|
493 |
<span class='acx_fsmi_q_sep'></span>
|
494 |
<?php highlight_string($code); ?><span class='acx_fsmi_q_sep'></span>
|
495 |
<span class='note'><?php _e('in your theme file or use the shortcode','floating-social-media-icon');?> <span style="color: #000000;background:rgba(0, 0, 0, 0.07) none repeat scroll 0 0;" class="code"> [DISPLAY_ACURAX_ICONS]</span><?php _e(', to display the Social Icons where ever you want, If you select "Automatic and Manual", It will automatically show floating icons and will also show icons for shortcode and php code.','floating-social-media-icon');?></span>
|
496 |
+
<?php
|
|
|
497 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
498 |
print_acx_fsmi_option_block_end();
|
499 |
} add_action('acx_fsmi_hook_option_fields','acx_fsmi_social_media_integration_html',600);
|
|
|
500 |
function acx_fsmi_social_media_integration_ifpost()
|
501 |
{
|
502 |
global $acx_si_display ;
|
512 |
function acx_fsmi_social_media_integration_after_else()
|
513 |
{
|
514 |
global $acx_si_display;
|
|
|
515 |
if ($acx_si_display == "") { $acx_si_display = "both"; }
|
516 |
} add_action('acx_fsmi_hook_option_after_else','acx_fsmi_social_media_integration_after_else');
|
517 |
|
518 |
/* Social Media Integration Settings Save - Get - Set Default Logic Ends Here */
|
|
|
519 |
/* Define Fly Animation Start and End Position Save - Get - Set Default Logic Starts Here
|
520 |
*/
|
521 |
function acx_fsmi_animation_position_html()
|
522 |
{
|
523 |
$acx_string = __('Define Fly Animation Start and End Position','floating-social-media-icon');
|
524 |
print_acx_fsmi_option_block_start($acx_string);
|
|
|
525 |
?>
|
526 |
<span class="fsmi_p_info_start_end fsmi_info_premium fsmi_info_lb" lb_title="<?php _e('Configure Fly Animation Start and End Position','floating-social-media-icon');?>" lb_content="<?php _e('You can configure the floating social media icons fly animation start and end position, By default it fly from top left to bottom right.','floating-social-media-icon');?><br><br><i><?php _e('This feature is only available in our premium version - ','floating-social-media-icon');?><a href='http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/?feature=compare&utm_source=fly-animation&utm_medium=fsmi&utm_campaign=plugin' target='_blank'><?php _e('Compare Features','floating-social-media-icon');?></a> / <a href='http://clients.acurax.com/order.php?pid=fsmi_power&utm_source=fsmi&utm_campaign=premium-info' target='_blank'><?php _e('Order Now','floating-social-media-icon');?></a>"></span>
|
|
|
527 |
<?php
|
528 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
529 |
print_acx_fsmi_option_block_end();
|
539 |
global $acx_si_credit;
|
540 |
$acx_string = __('Credit Link Settings','floating-social-media-icon');
|
541 |
print_acx_fsmi_option_block_start($acx_string);
|
|
|
542 |
?>
|
543 |
<select name="acx_si_credit">
|
544 |
<option value="yes"<?php if ($acx_si_credit == "yes") { echo 'selected="selected"'; } ?>><?php _e('Yes, Its Okay to Show Credit Link','floating-social-media-icon');?> </option>
|
562 |
|
563 |
} add_action('acx_fsmi_hook_option_onpost','acx_fsmi_social_media_credit_ifpost');
|
564 |
/* Credit Link Save - Get - Set Default Logic Starts Here */
|
|
|
565 |
/* Define Submit Button Starts Here */
|
566 |
function acx_fsmi_submit_button_html()
|
567 |
{
|
580 |
if ($acx_si_credit == "") { $acx_si_credit = 'no'; }
|
581 |
$acx_si_fsmi_hide_advert = get_option('acx_si_fsmi_hide_advert');
|
582 |
if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = 'no'; }
|
583 |
+
$get_backlink = "";
|
584 |
if(ISSET($_GET["backlink"]))
|
585 |
{
|
586 |
$get_backlink = sanitize_text_field($_GET["backlink"]);
|
|
|
|
|
|
|
587 |
}
|
588 |
if($get_backlink == "enable") {
|
589 |
update_option('acx_si_credit', 'yes');
|
608 |
global $acx_si_installed_date,$acx_si_credit,$social_icon_array_order,$acx_si_fsmi_hide_advert;
|
609 |
$acx_si_installed_date = get_option('acx_si_installed_date');
|
610 |
if ($acx_si_installed_date=="")
|
611 |
+
{ $acx_si_installed_date = time();
|
612 |
+
update_option('acx_si_installed_date', $acx_si_installed_date);
|
613 |
+
}
|
614 |
|
615 |
+
$acx_si_credit = get_option('acx_si_credit');
|
616 |
+
if ($acx_si_credit == "") { $acx_si_credit = 'no'; }
|
617 |
$acx_si_fsmi_hide_advert = get_option('acx_si_fsmi_hide_advert');
|
618 |
if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = 'no'; }
|
619 |
do_action('acx_fsmi_array_refresh');
|
628 |
global $acx_si_fsmi_hide_advert;
|
629 |
if($acx_si_fsmi_hide_advert == "no")
|
630 |
{
|
631 |
+
echo "<span class='acx_fsmi_q_sep'></span>";
|
632 |
+
do_action('acx_fsmi_comparison_premium',1);
|
633 |
+
echo "<span class='acx_fsmi_q_sep'></span>";
|
634 |
}
|
635 |
}
|
636 |
add_action('acx_fsmi_hook_option_footer','acx_fsmi_show_comparison',400);
|
|
|
637 |
/* Comparison HTML Ends Here */
|
|
|
638 |
/* Footer HTML Starts Here */
|
639 |
function acx_fsmi_show_footer_contact_section()
|
640 |
{
|
678 |
/* Theme Conflict/Misc Settings HTML - Save - Get - Set Default Logic Starts Here */
|
679 |
function acx_fsmi_misc_theme_conflict_html()
|
680 |
{
|
681 |
+
$acx_string = __('Acurax Theme Conflict/Misc Settings','floating-social-media-icon');
|
682 |
print_acx_fsmi_option_block_start($acx_string);
|
683 |
do_action('acx_fsmi_misc_theme_conflict_option_field');
|
684 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
685 |
print_acx_fsmi_option_block_end();
|
686 |
} add_action('acx_fsmi_misc_hook_option_fields','acx_fsmi_misc_theme_conflict_html',100);
|
|
|
|
|
687 |
function acx_fsmi_icon_vertical_field()
|
688 |
{
|
689 |
global $acx_si_fsmi_float_fix;?>
|
697 |
<?php echo "<span class='acx_fsmi_q_sep'></span>";
|
698 |
}
|
699 |
add_action('acx_fsmi_misc_theme_conflict_option_field','acx_fsmi_icon_vertical_field',100);
|
|
|
|
|
700 |
function acx_fsmi_float_fix_if()
|
701 |
{
|
702 |
global $acx_si_fsmi_float_fix;
|
745 |
function acx_fsmi_theme_warning_ignore_after_else()
|
746 |
{
|
747 |
global $acx_si_fsmi_theme_warning_ignore;
|
|
|
748 |
if ($acx_si_fsmi_theme_warning_ignore == "") { $acx_si_fsmi_theme_warning_ignore = "no"; }
|
749 |
} add_action('acx_fsmi_misc_hook_option_after_else','acx_fsmi_theme_warning_ignore_after_else');
|
750 |
function acx_fsmi_set_icons_vertical()
|
751 |
{
|
|
|
752 |
echo "<span class='label' style='width:50%;'>". __('Set Icons Vertical?','floating-social-media-icon')."";
|
753 |
?>
|
754 |
<a style="cursor:pointer;" class="fsmi_info_premium fsmi_info_lb" lb_title="<?php _e("Display Icons Vertically","floating-social-media-icon"); ?>" lb_content="<?php _e("Its possible to make the social icons align vertical or horizontal, You can set the number of icons to have a in a row, by adjusting the slider, So you can set # of icons in a row to 1 makes it looks vertical.","floating-social-media-icon"); ?><br><br><i><?php _e("This feature is only available in our premium version - ","floating-social-media-icon"); ?><a href='http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/?feature=compare&utm_source=vertical-icon&utm_medium=fsmi&utm_campaign=plugin' target='_blank'><?php _e("Compare Features","floating-social-media-icon"); ?></a> / <a href='http://clients.acurax.com/order.php?pid=fsmi_power&utm_source=fsmi&utm_campaign=premium-info' target='_blank'><?php _e("Order Now","floating-social-media-icon"); ?></a>">[?]</a></span>
|
755 |
<span name="acx_si_fsmi_theme_demo_vertical" class="fsmi_p_info_icon_h fsmi_info_premium fsmi_info_lb" lb_title="<?php _e("Display Icons Vertically","floating-social-media-icon"); ?>" lb_content="<?php _e("Its possible to make the social icons align vertical or horizontal, You can set the number of icons to have a in a row, by adjusting the slider, So you can set # of icons in a row to 1 makes it looks vertical.","floating-social-media-icon"); ?><br><br><i><?php _e("This feature is only available in our premium version - ","floating-social-media-icon"); ?><a href='http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/?feature=compare&utm_source=vertical-icon&utm_medium=fsmi&utm_campaign=plugin' target='_blank'><?php _e("Compare Features","floating-social-media-icon"); ?></a> / <a href='http://clients.acurax.com/order.php?pid=fsmi_power&utm_source=fsmi&utm_campaign=premium-info' target='_blank'><?php _e("Order Now","floating-social-media-icon"); ?></a>">
|
756 |
</span>
|
|
|
757 |
<?php echo "<span class='acx_fsmi_q_sep'></span>";
|
758 |
}
|
759 |
global $acx_si_fsmi_hide_advert;
|
771 |
<option value="yes"<?php if ($acx_si_fsmi_disable_mobile == "yes") { echo 'selected="selected"'; } ?>><?php _e('Yes, Lets disable it','floating-social-media-icon');?> </option>
|
772 |
<option value="no"<?php if ($acx_si_fsmi_disable_mobile == "no") { echo 'selected="selected"'; } ?>><?php _e('No, Thats fine','floating-social-media-icon' ); ?></option>
|
773 |
</select>
|
|
|
774 |
<?php echo "<span class='acx_fsmi_q_sep'></span>";
|
775 |
}
|
776 |
add_action('acx_fsmi_misc_theme_conflict_option_field','acx_fsmi_disable_mob_float',400);
|
|
|
|
|
777 |
function acx_fsmi_disable_mob_float_if()
|
778 |
{
|
779 |
global $acx_si_fsmi_disable_mobile;
|
780 |
$acx_si_fsmi_disable_mobile = sanitize_text_field(acx_fsmi_post_isset_check('acx_si_fsmi_disable_mobile'));
|
781 |
update_option('acx_si_fsmi_disable_mobile', $acx_si_fsmi_disable_mobile);
|
782 |
} add_action('acx_fsmi_misc_hook_option_onpost','acx_fsmi_disable_mob_float_if');
|
|
|
783 |
function acx_fsmi_disable_mob_float_else()
|
784 |
{
|
785 |
global $acx_si_fsmi_disable_mobile;
|
792 |
|
793 |
if ($acx_si_fsmi_disable_mobile == "") { $acx_si_fsmi_disable_mobile = "no"; }
|
794 |
} add_action('acx_fsmi_misc_hook_option_after_else','acx_fsmi_disable_mob_float_after_else');
|
|
|
|
|
|
|
795 |
function acx_fsmi_no_follow_link()
|
796 |
{
|
797 |
global $acx_si_fsmi_no_follow;
|
798 |
+
echo "<span class='label' style='width:50%;'>". __('No follow links? ','floating-social-media-icon')."<a style='cursor:pointer;' class='fsmi_info_premium fsmi_info_lb' lb_title='". __('Icon Link No Follow Settings','floating-social-media-icon')."' lb_content='". __('Would you like to disable Nofollow on Icon links? You can configure this option to Yes','floating-social-media-icon')."'>[?]</a></span>";
|
799 |
?>
|
|
|
|
|
800 |
<select name="acx_si_fsmi_no_follow" style="width:49%;">
|
801 |
<option value="yes"<?php if ($acx_si_fsmi_no_follow == "yes") { echo 'selected="selected"'; } ?>><?php _e('No,Thats fine','floating-social-media-icon'); ?></option>
|
802 |
<option value="no"<?php if ($acx_si_fsmi_no_follow == "no") { echo 'selected="selected"'; } ?>><?php _e('Yes, Lets Disable No Follow','floating-social-media-icon'); ?> </option>
|
804 |
<?php echo "<span class='acx_fsmi_q_sep'></span>";
|
805 |
}
|
806 |
add_action('acx_fsmi_misc_theme_conflict_option_field','acx_fsmi_no_follow_link',500);
|
|
|
|
|
807 |
function acx_fsmi_no_follow_if()
|
808 |
{
|
809 |
global $acx_si_fsmi_no_follow;
|
810 |
$acx_si_fsmi_no_follow = sanitize_text_field(acx_fsmi_post_isset_check('acx_si_fsmi_no_follow'));
|
811 |
update_option('acx_si_fsmi_no_follow', $acx_si_fsmi_no_follow);
|
812 |
} add_action('acx_fsmi_misc_hook_option_onpost','acx_fsmi_no_follow_if');
|
|
|
813 |
function acx_fsmi_no_follow_else()
|
814 |
{
|
815 |
global $acx_si_fsmi_no_follow;
|
819 |
function acx_fsmi_no_follow_after_else()
|
820 |
{
|
821 |
global $acx_si_fsmi_no_follow;
|
822 |
+
if ($acx_si_fsmi_no_follow == "") { $acx_si_fsmi_no_follow = "no"; }
|
|
|
823 |
} add_action('acx_fsmi_misc_hook_option_after_else','acx_fsmi_no_follow_after_else');
|
824 |
/* Theme Conflict/Misc Settings HTML - Get - Set Default Logic Ends Here */
|
825 |
/* Acurax Service/Info Settings HTML - Get - Set Default Logic Starts Here */
|
831 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
832 |
print_acx_fsmi_option_block_end();
|
833 |
} add_action('acx_fsmi_misc_hook_option_fields','acx_fsmi_misc_service_info_html',200);
|
|
|
834 |
function acx_fsmi_service_info_option()
|
835 |
{
|
836 |
global $acx_fsmi_acx_service_banners;
|
841 |
</select>
|
842 |
<?php
|
843 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
|
|
844 |
}
|
845 |
add_action('acx_fsmi_misc_service_info','acx_fsmi_service_info_option',100);
|
|
|
|
|
846 |
function acx_fsmi_service_info_if()
|
847 |
{
|
848 |
global $acx_fsmi_acx_service_banners;
|
849 |
$acx_fsmi_acx_service_banners = sanitize_text_field(acx_fsmi_post_isset_check('acx_fsmi_acx_service_banners'));
|
850 |
update_option('acx_fsmi_acx_service_banners', $acx_fsmi_acx_service_banners);
|
851 |
} add_action('acx_fsmi_misc_hook_option_onpost','acx_fsmi_service_info_if');
|
|
|
852 |
function acx_fsmi_service_info_else()
|
853 |
{
|
854 |
global $acx_fsmi_acx_service_banners;
|
861 |
|
862 |
if ($acx_fsmi_acx_service_banners == "") { $acx_fsmi_acx_service_banners = "yes"; }
|
863 |
} add_action('acx_fsmi_misc_hook_option_after_else','acx_fsmi_service_info_after_else');
|
|
|
864 |
/* Acurax Service/Info Settings HTML - Get - Set Default Logic Ends Here */
|
865 |
|
866 |
/* Premium Version Info Settings HTML - Get - Set Default Logic Starts Here */
|
874 |
</select>
|
875 |
<?php
|
876 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
|
|
877 |
}
|
878 |
add_action('acx_fsmi_misc_service_info','acx_fsmi_misc_premium_info_option',200);
|
879 |
function acx_fsmi_premium_info_if()
|
897 |
|
898 |
/* Premium Version Info Settings Settings HTML - Get - Set Default Logic Ends Here */
|
899 |
/* Expert Support Menu Settings HTML - Get - Set Default Logic Starts Here */
|
|
|
|
|
900 |
function acx_fsmi_misc_expert_support_option()
|
901 |
{
|
902 |
global $acx_si_fsmi_hide_expert_support_menu;
|
907 |
</select>
|
908 |
<?php
|
909 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
|
|
910 |
}
|
911 |
add_action('acx_fsmi_misc_service_info','acx_fsmi_misc_expert_support_option',300);
|
|
|
|
|
912 |
function acx_fsmi_expert_support_if()
|
913 |
{
|
914 |
global $acx_si_fsmi_hide_expert_support_menu;
|
915 |
$acx_si_fsmi_hide_expert_support_menu = sanitize_text_field(acx_fsmi_post_isset_check('acx_si_fsmi_hide_expert_support_menu'));
|
916 |
update_option('acx_si_fsmi_hide_expert_support_menu', $acx_si_fsmi_hide_expert_support_menu);
|
917 |
} add_action('acx_fsmi_misc_hook_option_onpost','acx_fsmi_expert_support_if');
|
|
|
918 |
function acx_fsmi_expert_support_else()
|
919 |
{
|
920 |
global $acx_si_fsmi_hide_expert_support_menu;
|
927 |
|
928 |
if ($acx_si_fsmi_hide_expert_support_menu == "") { $acx_si_fsmi_hide_expert_support_menu = "no"; }
|
929 |
} add_action('acx_fsmi_misc_hook_option_after_else','acx_fsmi_expert_support_after_else');
|
|
|
930 |
/* Expert Support Menu Settings Settings HTML - Get - Set Default Logic Ends Here */
|
931 |
|
932 |
/* Define Misc Submit Button Starts Here */
|
951 |
}
|
952 |
}
|
953 |
add_action('acx_fsmi_misc_hook_option_footer','acx_fsmi_misc_show_comparison',100);
|
|
|
954 |
/* Comparison HTML Starts Here */
|
955 |
|
956 |
/* Footer HTML Starts Here */
|
963 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
964 |
}
|
965 |
add_action('acx_fsmi_misc_hook_option_footer','acx_fsmi_misc_show_footer_contact_section',200);
|
|
|
966 |
/* Footer HTML Ends Here */
|
|
|
967 |
/*********************************** PREMIUM *****************************************************************/
|
968 |
/* Premium Updation HTML Starts Here */
|
969 |
function acx_fsmi_premium_html()
|
970 |
{
|
971 |
+
$td_get = "";
|
972 |
+
if(ISSET($_GET['td']))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
973 |
{
|
974 |
+
$td_get = $_GET['td'];
|
975 |
}
|
976 |
+
if($td_get == 'hide')
|
977 |
+
{
|
978 |
+
update_option('acx_si_td', "hide");
|
979 |
+
?>
|
980 |
+
<style type='text/css'>
|
981 |
+
#acx_td_fsmi
|
982 |
+
{
|
983 |
+
display:none;
|
984 |
+
}
|
985 |
+
</style>
|
986 |
|
987 |
+
<div class="error" style="background: none repeat scroll 0pt 0pt infobackground; border: 1px solid inactivecaption; padding: 5px;line-height:16px;">
|
988 |
+
<?php _e('Thanks again for using the plugin.','floating-social-media-icon');?>
|
989 |
+
</div>
|
990 |
+
<?php
|
991 |
+
}
|
992 |
}
|
993 |
add_action('acx_fsmi_premium_hook_option_footer','acx_fsmi_premium_html',100);
|
994 |
/* Premium Updation HTML Ends Here */
|
998 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
999 |
do_action('acx_fsmi_comparison_premium',1);
|
1000 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
|
|
1001 |
}
|
1002 |
add_action('acx_fsmi_premium_hook_option_footer','acx_fsmi_premium_comparison_html',200);
|
1003 |
/* Comparison HTML Ends Here */
|
|
|
1004 |
/********************************************************* Help Page *****************************************************/
|
1005 |
/* Premium Ad on the top starts Here*/
|
1006 |
function acx_fsmi_help_html()
|
1054 |
}
|
1055 |
}
|
1056 |
add_action('acx_fsmi_exprt_hook_option_form_head','acx_fsmi_quick_fix_applied',120);
|
|
|
1057 |
function acx_fsmi_expert_icon_select_html()
|
1058 |
{
|
1059 |
global $page;
|
1068 |
<p class="widefat" style="background: none repeat scroll 0% 0% menu; border-bottom: 2px dashed lavender; border-right: 2px dashed lavender; margin-bottom: 15px; margin-top: 8px; padding: 8px; width: 99%;"> <?php _e("1) Icon Selection Display Fix: ","floating-social-media-icon" );
|
1069 |
echo "<span class='acx_fsmi_q_sep'></span>";
|
1070 |
}
|
|
|
1071 |
}
|
1072 |
add_action('acx_fsmi_exprt_hook_option_above_page_left','acx_fsmi_expert_icon_select_html',200);
|
|
|
1073 |
function acx_fsmi_expert_quick_fix_html()
|
1074 |
{
|
1075 |
global $page;
|
1091 |
{
|
1092 |
$social_icon_array_order = unserialize($social_icon_array_order);
|
1093 |
}
|
1094 |
+
$page = $quick_fix = $sid = "";
|
1095 |
if(ISSET($_GET['page']))
|
1096 |
{
|
1097 |
$page = $_GET['page'];
|
1098 |
}
|
|
|
|
|
|
|
|
|
1099 |
if(ISSET($_GET['quickfix']))
|
1100 |
{
|
1101 |
+
$quick_fix = sanitize_text_field($_GET['quickfix']);
|
1102 |
+
}
|
|
|
|
|
|
|
1103 |
if(ISSET($_GET['sid']))
|
1104 |
{
|
1105 |
+
$sid = sanitize_text_field($_GET['sid']);
|
1106 |
+
}
|
|
|
|
|
|
|
1107 |
if (!wp_verify_nonce($sid,'acx_fsmi_qfix'))
|
1108 |
{
|
1109 |
+
$sid = "";
|
1110 |
}
|
1111 |
if(!current_user_can('manage_options'))
|
1112 |
{
|
1113 |
+
$sid = "";
|
1114 |
}
|
1115 |
|
1116 |
$fix_applied = 0;
|
1124 |
}
|
1125 |
}
|
1126 |
add_action('acx_fsmi_exprt_hook_option_exprt_quick','acx_fsmi_exprt_quick_fix_add',100);
|
|
|
|
|
1127 |
function acx_fsmi_expert_down_note_html()
|
1128 |
{
|
1129 |
global $page;
|
1137 |
}
|
1138 |
}
|
1139 |
add_action('acx_fsmi_exprt_hook_option_above_page_left','acx_fsmi_expert_down_note_html',400);
|
|
|
1140 |
/* Troubleshooter page options Ends Here*/
|
1141 |
?>
|
@@ -2,21 +2,21 @@
|
|
2 |
Contributors: Acurax
|
3 |
Donate link: http://www.acurax.com/happy-clients.php
|
4 |
|
5 |
-
Tags: social media, floating social media, social network icon, social media widget, social media icon, socialmedia, social
|
6 |
Requires at least: 3.0
|
7 |
Tested up to: 4.7
|
8 |
Stable tag: trunk
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
-
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
[Floating Social Media Icon / Social Media Floating Icons](http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/ "Floating Social Media Icon / Social Media Floating Icons") Links Social Media Icons to Your Social Media Profiles Twitter,Facebook,Pinterest,Youtube,
|
16 |
|
17 |
-
|
18 |
|
19 |
-
★
|
20 |
|
21 |
★ Set Icon Size & Order
|
22 |
|
@@ -24,20 +24,20 @@ A Quicklook
|
|
24 |
|
25 |
★ Multiple Widget & Shortcode Support
|
26 |
|
27 |
-
★
|
28 |
|
29 |
★ Enable/Disable Floating
|
30 |
|
31 |
-
★ Most Downloaded Floating Social
|
32 |
|
33 |
-
★ Less Load - Essential Social Media Only
|
34 |
|
35 |
★ Detailed Help Documentation
|
36 |
|
37 |
★ Featured Plugin On Many Developer Portals
|
38 |
|
39 |
-
You can
|
40 |
-
short-code or PHP code
|
41 |
|
42 |
If you choose to show Social Media Icon automatically.
|
43 |
The icons will fly from top left to bottom right and the social media icons will stay there
|
@@ -52,11 +52,11 @@ even if user scrolls the page, thus it floats
|
|
52 |
|
53 |
Multiple Social Media Widget Support
|
54 |
|
55 |
-
★ Each Social Media Widget Can
|
56 |
|
57 |
Shortcode Support
|
58 |
|
59 |
-
★
|
60 |
|
61 |
Icons in content
|
62 |
|
@@ -65,7 +65,7 @@ Icons in content
|
|
65 |
|
66 |
Other Features
|
67 |
|
68 |
-
★ One and Only Plugin With
|
69 |
|
70 |
★ Drag and Drop Reorder Icons
|
71 |
|
@@ -81,7 +81,7 @@ Other Features
|
|
81 |
|
82 |
In Short we can say, this is an ultimate social media icon widget that can be configured to float or not to float on your visitors screen.. check screenshots and video for a clear understanding.
|
83 |
|
84 |
-
We Always Look Forward Your Comments and Suggestions for Future Updates. You can Submit Your Comments at our [Website](http://
|
85 |
|
86 |
[Click Here To See a Live Demo](http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/ "Floating Social Media Icon Demo")
|
87 |
|
@@ -89,9 +89,9 @@ We Always Look Forward Your Comments and Suggestions for Future Updates. You can
|
|
89 |
|
90 |
**About**
|
91 |
|
92 |
-
This Social Media Widget Wordpress Plugin With Floating Animation is developed and maintained by [Acurax International](http://
|
93 |
|
94 |
-
[Acurax](http://
|
95 |
|
96 |
**Plugin Video Tour**
|
97 |
[youtube https://www.youtube.com/watch?v=UkeUYdjO_Z0]
|
@@ -212,6 +212,13 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
|
|
212 |
|
213 |
== Upgrade Notice ==
|
214 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
= Social Media Floating Icons - 4.1.2 =
|
216 |
* Fix - Perfomance Improvements
|
217 |
* Stable Release
|
@@ -410,6 +417,13 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
|
|
410 |
|
411 |
== Changelog ==
|
412 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
413 |
= Social Media Floating Icons - 4.1.2 =
|
414 |
* Fix - Perfomance Improvements
|
415 |
* Stable Release
|
2 |
Contributors: Acurax
|
3 |
Donate link: http://www.acurax.com/happy-clients.php
|
4 |
|
5 |
+
Tags: social media, floating social media, social network icon, social media widget, social media icon, socialmedia, social buttons, social floating icon, social icon style, floating social media button, social media button
|
6 |
Requires at least: 3.0
|
7 |
Tested up to: 4.7
|
8 |
Stable tag: trunk
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
+
Social Media Plugin with 30+ Social Media Icon Styles,Easy Configuration,Social Media Widget,Icon Animation,Drag Reorder,Highly Customizable
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
[Floating Social Media Icon / Social Media Floating Icons](http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/ "Floating Social Media Icon / Social Media Floating Icons") Links Social Media Icons to Your Social Media Profiles Twitter,Facebook,Instagram,Pinterest,Youtube,Linkedin,google plus,Rss Feed...
|
16 |
|
17 |
+
= SOCIAL MEDIA PLUGIN HIGHLIGHTS =
|
18 |
|
19 |
+
★ 30 Icon Themes
|
20 |
|
21 |
★ Set Icon Size & Order
|
22 |
|
24 |
|
25 |
★ Multiple Widget & Shortcode Support
|
26 |
|
27 |
+
★ Flat Icons and Instagram support
|
28 |
|
29 |
★ Enable/Disable Floating
|
30 |
|
31 |
+
★ Most Downloaded Floating Social Media Plugin.
|
32 |
|
33 |
+
★ Less Load - Essential Social Media Icons Only
|
34 |
|
35 |
★ Detailed Help Documentation
|
36 |
|
37 |
★ Featured Plugin On Many Developer Portals
|
38 |
|
39 |
+
You can configure the social media icons to appear automatically or can use as social media widgets,
|
40 |
+
display using short-code or PHP code where ever you wish.
|
41 |
|
42 |
If you choose to show Social Media Icon automatically.
|
43 |
The icons will fly from top left to bottom right and the social media icons will stay there
|
52 |
|
53 |
Multiple Social Media Widget Support
|
54 |
|
55 |
+
★ Each Social Media Widget Can Be Customized by Icon Size & Social Icon Style
|
56 |
|
57 |
Shortcode Support
|
58 |
|
59 |
+
★ Shortcode accept parameters to customize icon size & icon style (check faq)
|
60 |
|
61 |
Icons in content
|
62 |
|
65 |
|
66 |
Other Features
|
67 |
|
68 |
+
★ One and Only Plugin With 30 Icon Designs with Pinterest and Instagram Support
|
69 |
|
70 |
★ Drag and Drop Reorder Icons
|
71 |
|
81 |
|
82 |
In Short we can say, this is an ultimate social media icon widget that can be configured to float or not to float on your visitors screen.. check screenshots and video for a clear understanding.
|
83 |
|
84 |
+
We Always Look Forward Your Comments and Suggestions for Future Updates. You can Submit Your Comments at our [Website](http://www.acurax.com/webdesigning/ "Website Designing")
|
85 |
|
86 |
[Click Here To See a Live Demo](http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/ "Floating Social Media Icon Demo")
|
87 |
|
89 |
|
90 |
**About**
|
91 |
|
92 |
+
This Social Media Widget Wordpress Plugin With Floating Animation is developed and maintained by [Acurax International](http://www.acurax.com/webdesigning/ "Website Designing"). For any support, you may contact us [here](http://www.acurax.com/contact.php "Web Consulting").
|
93 |
|
94 |
+
[Acurax](http://www.acurax.com/webdevelopment/ "Acurax Web Design Development Service") Provide [Wordpress Theme Design](http://www.acurax.com/webdesigning/ "Wordpress Theme Design Service") and [Development](http://www.acurax.com "Wordpress Development") Services.
|
95 |
|
96 |
**Plugin Video Tour**
|
97 |
[youtube https://www.youtube.com/watch?v=UkeUYdjO_Z0]
|
212 |
|
213 |
== Upgrade Notice ==
|
214 |
|
215 |
+
= Social Media Floating Icons - 4.1.3 =
|
216 |
+
* Fix - Perfomance Improvements
|
217 |
+
* 6 New Icon Styles
|
218 |
+
* Instagram Support Added
|
219 |
+
* Code Improvements
|
220 |
+
* Fixes for wordpress deprecated functions
|
221 |
+
|
222 |
= Social Media Floating Icons - 4.1.2 =
|
223 |
* Fix - Perfomance Improvements
|
224 |
* Stable Release
|
417 |
|
418 |
== Changelog ==
|
419 |
|
420 |
+
= Social Media Floating Icons - 4.1.3 =
|
421 |
+
* Fix - Perfomance Improvements
|
422 |
+
* 6 New Icon Styles
|
423 |
+
* Instagram Support Added
|
424 |
+
* Code Improvements
|
425 |
+
* Fixes for wordpress deprecated functions
|
426 |
+
|
427 |
= Social Media Floating Icons - 4.1.2 =
|
428 |
* Fix - Perfomance Improvements
|
429 |
* Stable Release
|