Version Description
- Update: WordPress 5.9 compatibility
- Fixed: Fix new version update string offset notice.
- Fixed: Some minor fixes
Download this release
Release Info
Developer | socialdude |
Plugin | Social Media Share Buttons & Social Sharing Icons |
Version | 2.7.1 |
Comparing to | |
See all releases |
Code changes from version 2.7.0 to 2.7.1
- css/sfsi-admin-style.css +4 -0
- css/sfsi-forum-notification.css +7 -0
- libs/controllers/sfsi_forum_notification_popup.php +36 -0
- libs/controllers/sfsiocns_OnPosts.php +4 -4
- libs/sfsi_install_uninstall.php +1 -1
- libs/sfsi_widget.php +10 -10
- readme.txt +8 -4
- ultimate_social_media_icons.php +3 -3
- views/sfsi_option_view4.php +5 -5
- views/sfsi_option_view5.php +51 -53
- views/subviews/que3/sfsi_que3_place_via_after_posts.php +1 -1
css/sfsi-admin-style.css
CHANGED
@@ -7430,4 +7430,8 @@ ul.sfsi_icn_listing8.sfsi_closerli.popupDesktopMobileUl li label {
|
|
7430 |
a.sfsiColbtn, .tab3 a.sfsiColbtn {
|
7431 |
margin: -118px 0 0;
|
7432 |
}
|
|
|
|
|
|
|
|
|
7433 |
}
|
7430 |
a.sfsiColbtn, .tab3 a.sfsiColbtn {
|
7431 |
margin: -118px 0 0;
|
7432 |
}
|
7433 |
+
}
|
7434 |
+
|
7435 |
+
.tab5 ul.share_icon_order {
|
7436 |
+
float: left;
|
7437 |
}
|
css/sfsi-forum-notification.css
CHANGED
@@ -259,6 +259,13 @@
|
|
259 |
color: var(--main-color);
|
260 |
}
|
261 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
262 |
@-webkit-keyframes arrows {
|
263 |
0% {
|
264 |
opacity: 1;
|
259 |
color: var(--main-color);
|
260 |
}
|
261 |
|
262 |
+
.usm-widget__footer-bottom-text {
|
263 |
+
margin: 5px 11px;
|
264 |
+
text-align: center;
|
265 |
+
color: #4b5766;
|
266 |
+
}
|
267 |
+
|
268 |
+
|
269 |
@-webkit-keyframes arrows {
|
270 |
0% {
|
271 |
opacity: 1;
|
libs/controllers/sfsi_forum_notification_popup.php
CHANGED
@@ -4,6 +4,41 @@ function sfsi_forum_notification_popup() {
|
|
4 |
return;
|
5 |
}
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
$sfsi_hide_admin_forum_notification = get_option( 'sfsi_hide_admin_forum_notification' );
|
8 |
if( 'yes' === $sfsi_hide_admin_forum_notification ) {
|
9 |
return;
|
@@ -71,6 +106,7 @@ function sfsi_forum_notification_popup() {
|
|
71 |
);
|
72 |
?></p>
|
73 |
</footer>
|
|
|
74 |
</div>
|
75 |
</div>
|
76 |
</div>
|
4 |
return;
|
5 |
}
|
6 |
|
7 |
+
/* Check if user is new or old */
|
8 |
+
$sfsi_installDate = get_option( 'sfsi_installDate' );
|
9 |
+
$sfsi_installDate_new = new DateTime( $sfsi_installDate );
|
10 |
+
|
11 |
+
$sfsi_installDate_only = $sfsi_installDate_new->format( 'Y-m-d' );
|
12 |
+
|
13 |
+
$sfsi_installDate_string = strtotime( $sfsi_installDate_only );
|
14 |
+
$sfsi_current_Date_string = strtotime( date( 'Y-m-d' ) );
|
15 |
+
|
16 |
+
if ( $sfsi_current_Date_string == $sfsi_installDate_string ) {
|
17 |
+
$option_name = 'sfsi_show_admin_popup';
|
18 |
+
$new_value = 'yes';
|
19 |
+
|
20 |
+
if ( get_option( $option_name ) !== false ) {
|
21 |
+
update_option( $option_name, $new_value );
|
22 |
+
} else {
|
23 |
+
$deprecated = null;
|
24 |
+
$autoload = 'no';
|
25 |
+
add_option( $option_name, $new_value, $deprecated, $autoload );
|
26 |
+
}
|
27 |
+
}
|
28 |
+
|
29 |
+
/* Check WP language */
|
30 |
+
$sfsi_language = get_bloginfo( 'language' );
|
31 |
+
$sfsi_allowed_languages = array( 'en-US', 'en-AU', 'en-GB', 'en-NZ', 'en-CA', 'en-ZA' );
|
32 |
+
|
33 |
+
if ( ! in_array( $sfsi_language, $sfsi_allowed_languages ) ) {
|
34 |
+
return;
|
35 |
+
}
|
36 |
+
|
37 |
+
$sfsi_show_admin_popup = get_option( 'sfsi_show_admin_popup' );
|
38 |
+
if( 'yes' !== $sfsi_show_admin_popup ) {
|
39 |
+
return;
|
40 |
+
}
|
41 |
+
|
42 |
$sfsi_hide_admin_forum_notification = get_option( 'sfsi_hide_admin_forum_notification' );
|
43 |
if( 'yes' === $sfsi_hide_admin_forum_notification ) {
|
44 |
return;
|
106 |
);
|
107 |
?></p>
|
108 |
</footer>
|
109 |
+
<p class="usm-widget__footer-bottom-text"><?php _e( 'By Ultimatelysocial', 'ultimate-social-media-icons' ); ?></p>
|
110 |
</div>
|
111 |
</div>
|
112 |
</div>
|
libs/controllers/sfsiocns_OnPosts.php
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
<?php
|
2 |
/* add fb like add this end of every post */
|
3 |
|
4 |
-
function sfsi_social_buttons_below($content)
|
5 |
-
{
|
6 |
global $post;
|
7 |
$sfsi_section4 = maybe_unserialize(get_option('sfsi_section4_options', false));
|
8 |
$sfsi_section6 = maybe_unserialize(get_option('sfsi_section6_options', false));
|
@@ -14,9 +13,10 @@ function sfsi_social_buttons_below($content)
|
|
14 |
return $content;
|
15 |
}
|
16 |
}
|
|
|
|
|
17 |
|
18 |
-
|
19 |
-
if (is_single()) {
|
20 |
|
21 |
/* Remove if hide from Admin panel */
|
22 |
if( !isset( $sfsi_section9["sfsi_responsive_icons_after_post"] ) ) {
|
1 |
<?php
|
2 |
/* add fb like add this end of every post */
|
3 |
|
4 |
+
function sfsi_social_buttons_below( $content ) {
|
|
|
5 |
global $post;
|
6 |
$sfsi_section4 = maybe_unserialize(get_option('sfsi_section4_options', false));
|
7 |
$sfsi_section6 = maybe_unserialize(get_option('sfsi_section6_options', false));
|
13 |
return $content;
|
14 |
}
|
15 |
}
|
16 |
+
|
17 |
+
if ( ( isset( $sfsi_section9["sfsi_show_via_afterposts"] ) && $sfsi_section9["sfsi_show_via_afterposts"] == "yes" ) && isset( $sfsi_section6["sfsi_display_button_type"] ) && ( $sfsi_section6["sfsi_display_button_type"] == "responsive_button" ) ) {
|
18 |
|
19 |
+
if ( is_single() ) {
|
|
|
20 |
|
21 |
/* Remove if hide from Admin panel */
|
22 |
if( !isset( $sfsi_section9["sfsi_responsive_icons_after_post"] ) ) {
|
libs/sfsi_install_uninstall.php
CHANGED
@@ -43,7 +43,7 @@ function sfsi_update_plugin()
|
|
43 |
}
|
44 |
|
45 |
//Install version
|
46 |
-
update_option("sfsi_pluginVersion", "2.
|
47 |
|
48 |
if (!get_option('sfsi_serverphpVersionnotification')) {
|
49 |
add_option("sfsi_serverphpVersionnotification", "yes");
|
43 |
}
|
44 |
|
45 |
//Install version
|
46 |
+
update_option("sfsi_pluginVersion", "2.71");
|
47 |
|
48 |
if (!get_option('sfsi_serverphpVersionnotification')) {
|
49 |
add_option("sfsi_serverphpVersionnotification", "yes");
|
libs/sfsi_widget.php
CHANGED
@@ -724,7 +724,7 @@ class Sfsi_Widget extends WP_Widget
|
|
724 |
$hoverdiv = '';
|
725 |
|
726 |
if (false != $page_option && $page_option == "yes") {
|
727 |
-
$hoverdiv .= "<div class='icon1'><a href='" . $url . "' " . sfsi_checkNewWindow($url) . "><img data-pin-nopin='true' class='sfsi_wicon' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "'
|
728 |
}
|
729 |
if (false != $like_option && $like_option == "yes") {
|
730 |
$hoverdiv .= "<div class='icon2'>" . $socialObj->sfsi_FBlike($current_url) . "</div>";
|
@@ -822,7 +822,7 @@ class Sfsi_Widget extends WP_Widget
|
|
822 |
//Visit twitter page {Monad}
|
823 |
if (isset($sfsi_section2_options['sfsi_twitter_page']) && !empty($sfsi_section2_options['sfsi_twitter_page']) && $sfsi_section2_options['sfsi_twitter_page'] == "yes") {
|
824 |
|
825 |
-
$hoverdiv .= "<div class='cstmicon1'><a href='" . $url . "' " . sfsi_checkNewWindow($url) . "><img data-pin-nopin='true' class='sfsi_wicon' alt='Visit Us' title='Visit Us' src='" . $visit_icon . "'
|
826 |
}
|
827 |
if ($follow_me == "yes" && !empty($twitter_user)) {
|
828 |
$hoverdiv .= "<div class='icon1'>" . $socialObj->sfsi_twitterFollow( $twitter_user, $tweet_follow_icon ) . "</div>";
|
@@ -936,7 +936,7 @@ class Sfsi_Widget extends WP_Widget
|
|
936 |
$hoverSHow = 1;
|
937 |
|
938 |
if ($ypage == "yes") {
|
939 |
-
$hoverdiv .= "<div class='icon1'><a href='" . $url . "' " . sfsi_checkNewWindow($url) . "><img data-pin-nopin='true' class='sfsi_wicon' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "'
|
940 |
}
|
941 |
if ($follow == "yes") {
|
942 |
$hoverdiv .= "<div class='icon2'>" . $socialObj->sfsi_YouTubeSub($youtube_user) . "</div>";
|
@@ -1031,7 +1031,7 @@ class Sfsi_Widget extends WP_Widget
|
|
1031 |
$hoverSHow = 1;
|
1032 |
|
1033 |
if ($page == "yes") {
|
1034 |
-
$hoverdiv .= "<div class='icon1'><a href='" . $url . "' " . sfsi_checkNewWindow($url) . "><img data-pin-nopin='true' class='sfsi_wicon' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "'
|
1035 |
}
|
1036 |
if ($pingblog == "yes") {
|
1037 |
$pinterest_save = SFSI_PLUGURL . 'images/share_icons/Pinterest_Save/' . $icons_language . '_save.svg';
|
@@ -1246,7 +1246,7 @@ class Sfsi_Widget extends WP_Widget
|
|
1246 |
|
1247 |
$visitUrl = $sfsi_section2_options['sfsi_vk_pageURL'];
|
1248 |
|
1249 |
-
$hoverdiv .= "<div class='icon1'><a href='" . $visitUrl . "' " . sfsi_checkNewWindow($visitUrl) . "><img class='sfsi_premium_wicon' nopin=nopin alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "'
|
1250 |
}
|
1251 |
|
1252 |
if (
|
@@ -1254,7 +1254,7 @@ class Sfsi_Widget extends WP_Widget
|
|
1254 |
&& "yes" == $sfsi_section2_options['sfsi_vk_share']
|
1255 |
) {
|
1256 |
|
1257 |
-
$hoverdiv .= "<div class='icon2'><a href='" . $url . "' " . sfsi_checkNewWindow($url) . "><img class='sfsi_premium_wicon' nopin=nopin alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $share_icon . "'
|
1258 |
}
|
1259 |
|
1260 |
} else {
|
@@ -1444,7 +1444,7 @@ class Sfsi_Widget extends WP_Widget
|
|
1444 |
|
1445 |
$image_url = $sfsi_section2_options['sfsi_wechat_scan_image'];
|
1446 |
|
1447 |
-
$hoverdiv .= "<div class='icon1' style='text-align:center'><a href='' onclick='event.preventDefault();sfsi_wechat_follow(\"" . $sfsi_section2_options['sfsi_wechat_scan_image'] . "\")' ><img data-pin-nopin='true' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "' style='height:25px'
|
1448 |
}
|
1449 |
|
1450 |
if (
|
@@ -1452,7 +1452,7 @@ class Sfsi_Widget extends WP_Widget
|
|
1452 |
&& "yes" == $sfsi_section2_options['sfsi_wechatShare_option']
|
1453 |
) {
|
1454 |
|
1455 |
-
$hoverdiv .= "<div class='icon2' style='text-align:center' ><a href='" . $url . "' " . sfsi_checkNewWindow($url) . " onclick='event.preventDefault();sfsi_wechat_share(\"" . $sfsi_section2_options['sfsi_wechat_scan_image'] . "\")' ><img data-pin-nopin='true' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $share_icon . "' style='height:25px'
|
1456 |
}
|
1457 |
} else {
|
1458 |
if (
|
@@ -1602,7 +1602,7 @@ class Sfsi_Widget extends WP_Widget
|
|
1602 |
$hoverdiv = '';
|
1603 |
|
1604 |
if ($page == "yes") {
|
1605 |
-
$hoverdiv .= "<div class='icon4'><a href='" . $url . "' " . sfsi_checkNewWindow($url) . "><img data-pin-nopin='true' class='sfsi_wicon' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "'
|
1606 |
}
|
1607 |
if ($follow == "yes") {
|
1608 |
$hoverdiv .= "<div class='icon1'>" . $socialObj->sfsi_LinkedInFollow($linkedIn_compayId) . "</div>";
|
@@ -1988,7 +1988,7 @@ class Sfsi_Widget extends WP_Widget
|
|
1988 |
}
|
1989 |
|
1990 |
if (isset($icon) && !empty($icon) && filter_var($icon, FILTER_VALIDATE_URL)) {
|
1991 |
-
$icons .= "<div style='width:" . $icon_width . "px; height:
|
1992 |
|
1993 |
if ( $sfsi_icon_bgColor ) {
|
1994 |
$sfsi_icon_bgColor_style = "background:" . $sfsi_icon_bgColor . ";";
|
724 |
$hoverdiv = '';
|
725 |
|
726 |
if (false != $page_option && $page_option == "yes") {
|
727 |
+
$hoverdiv .= "<div class='icon1'><a href='" . $url . "' " . sfsi_checkNewWindow($url) . "><img data-pin-nopin='true' class='sfsi_wicon' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "' /></a></div>";
|
728 |
}
|
729 |
if (false != $like_option && $like_option == "yes") {
|
730 |
$hoverdiv .= "<div class='icon2'>" . $socialObj->sfsi_FBlike($current_url) . "</div>";
|
822 |
//Visit twitter page {Monad}
|
823 |
if (isset($sfsi_section2_options['sfsi_twitter_page']) && !empty($sfsi_section2_options['sfsi_twitter_page']) && $sfsi_section2_options['sfsi_twitter_page'] == "yes") {
|
824 |
|
825 |
+
$hoverdiv .= "<div class='cstmicon1'><a href='" . $url . "' " . sfsi_checkNewWindow($url) . "><img data-pin-nopin='true' class='sfsi_wicon' alt='Visit Us' title='Visit Us' src='" . $visit_icon . "' /></a></div>";
|
826 |
}
|
827 |
if ($follow_me == "yes" && !empty($twitter_user)) {
|
828 |
$hoverdiv .= "<div class='icon1'>" . $socialObj->sfsi_twitterFollow( $twitter_user, $tweet_follow_icon ) . "</div>";
|
936 |
$hoverSHow = 1;
|
937 |
|
938 |
if ($ypage == "yes") {
|
939 |
+
$hoverdiv .= "<div class='icon1'><a href='" . $url . "' " . sfsi_checkNewWindow($url) . "><img data-pin-nopin='true' class='sfsi_wicon' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "' /></a></div>";
|
940 |
}
|
941 |
if ($follow == "yes") {
|
942 |
$hoverdiv .= "<div class='icon2'>" . $socialObj->sfsi_YouTubeSub($youtube_user) . "</div>";
|
1031 |
$hoverSHow = 1;
|
1032 |
|
1033 |
if ($page == "yes") {
|
1034 |
+
$hoverdiv .= "<div class='icon1'><a href='" . $url . "' " . sfsi_checkNewWindow($url) . "><img data-pin-nopin='true' class='sfsi_wicon' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "' /></a></div>";
|
1035 |
}
|
1036 |
if ($pingblog == "yes") {
|
1037 |
$pinterest_save = SFSI_PLUGURL . 'images/share_icons/Pinterest_Save/' . $icons_language . '_save.svg';
|
1246 |
|
1247 |
$visitUrl = $sfsi_section2_options['sfsi_vk_pageURL'];
|
1248 |
|
1249 |
+
$hoverdiv .= "<div class='icon1'><a href='" . $visitUrl . "' " . sfsi_checkNewWindow($visitUrl) . "><img class='sfsi_premium_wicon' nopin=nopin alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "' /></a></div>";
|
1250 |
}
|
1251 |
|
1252 |
if (
|
1254 |
&& "yes" == $sfsi_section2_options['sfsi_vk_share']
|
1255 |
) {
|
1256 |
|
1257 |
+
$hoverdiv .= "<div class='icon2'><a href='" . $url . "' " . sfsi_checkNewWindow($url) . "><img class='sfsi_premium_wicon' nopin=nopin alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $share_icon . "' /></a></div>";
|
1258 |
}
|
1259 |
|
1260 |
} else {
|
1444 |
|
1445 |
$image_url = $sfsi_section2_options['sfsi_wechat_scan_image'];
|
1446 |
|
1447 |
+
$hoverdiv .= "<div class='icon1' style='text-align:center'><a href='' onclick='event.preventDefault();sfsi_wechat_follow(\"" . $sfsi_section2_options['sfsi_wechat_scan_image'] . "\")' ><img data-pin-nopin='true' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "' style='height:25px' /></a></div>";
|
1448 |
}
|
1449 |
|
1450 |
if (
|
1452 |
&& "yes" == $sfsi_section2_options['sfsi_wechatShare_option']
|
1453 |
) {
|
1454 |
|
1455 |
+
$hoverdiv .= "<div class='icon2' style='text-align:center' ><a href='" . $url . "' " . sfsi_checkNewWindow($url) . " onclick='event.preventDefault();sfsi_wechat_share(\"" . $sfsi_section2_options['sfsi_wechat_scan_image'] . "\")' ><img data-pin-nopin='true' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $share_icon . "' style='height:25px' /></a></div>";
|
1456 |
}
|
1457 |
} else {
|
1458 |
if (
|
1602 |
$hoverdiv = '';
|
1603 |
|
1604 |
if ($page == "yes") {
|
1605 |
+
$hoverdiv .= "<div class='icon4'><a href='" . $url . "' " . sfsi_checkNewWindow($url) . "><img data-pin-nopin='true' class='sfsi_wicon' alt='" . $alt_text . "' title='" . $alt_text . "' src='" . $visit_icon . "' /></a></div>";
|
1606 |
}
|
1607 |
if ($follow == "yes") {
|
1608 |
$hoverdiv .= "<div class='icon1'>" . $socialObj->sfsi_LinkedInFollow($linkedIn_compayId) . "</div>";
|
1988 |
}
|
1989 |
|
1990 |
if (isset($icon) && !empty($icon) && filter_var($icon, FILTER_VALIDATE_URL)) {
|
1991 |
+
$icons .= "<div style='width:" . $icon_width . "px; height:" . $icon_width . "px;margin-left:" . $icons_space . "px;margin-bottom:" . $margin_bot . " " . ($sfsi_new_icons ? 'padding:0px' : '') . "' class='" . $itemselector . " " . $cmcls . "' >";
|
1992 |
|
1993 |
if ( $sfsi_icon_bgColor ) {
|
1994 |
$sfsi_icon_bgColor_style = "background:" . $sfsi_icon_bgColor . ";";
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: socialdude, socialtech
|
3 |
Tags: share, pop up, popup, share icons, share buttons, social media, social, popups, sharing icons, sharing buttons, social share, sharing
|
4 |
Requires at least: 3.5
|
5 |
-
Tested up to: 5.
|
6 |
-
Stable tag: 2.7.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -276,10 +276,14 @@ You cannot use the same plugin twice, however you can install both the USM as we
|
|
276 |
|
277 |
|
278 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
279 |
= 2.7.0 =
|
280 |
* New: Added Background color option for Flat icon style
|
281 |
* New: Added a new tab "Get advice for more shares & traffic"
|
282 |
-
* New: Added administrator only popup
|
283 |
* Update: WordPress 5.8.3 compatibility
|
284 |
* Update: Update Facebook API
|
285 |
* Update: Footer banner
|
@@ -1021,5 +1025,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
|
|
1021 |
|
1022 |
== Upgrade Notice ==
|
1023 |
|
1024 |
-
= 2.7.
|
1025 |
Please upgrade
|
2 |
Contributors: socialdude, socialtech
|
3 |
Tags: share, pop up, popup, share icons, share buttons, social media, social, popups, sharing icons, sharing buttons, social share, sharing
|
4 |
Requires at least: 3.5
|
5 |
+
Tested up to: 5.9
|
6 |
+
Stable tag: 2.7.1
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
276 |
|
277 |
|
278 |
== Changelog ==
|
279 |
+
= 2.7.1 =
|
280 |
+
* Update: WordPress 5.9 compatibility
|
281 |
+
* Fixed: Fix new version update string offset notice.
|
282 |
+
* Fixed: Some minor fixes
|
283 |
+
|
284 |
= 2.7.0 =
|
285 |
* New: Added Background color option for Flat icon style
|
286 |
* New: Added a new tab "Get advice for more shares & traffic"
|
|
|
287 |
* Update: WordPress 5.8.3 compatibility
|
288 |
* Update: Update Facebook API
|
289 |
* Update: Footer banner
|
1025 |
|
1026 |
== Upgrade Notice ==
|
1027 |
|
1028 |
+
= 2.7.1 =
|
1029 |
Please upgrade
|
ultimate_social_media_icons.php
CHANGED
@@ -7,7 +7,7 @@ Author: UltimatelySocial
|
|
7 |
Author URI: http://ultimatelysocial.com
|
8 |
Text Domain: ultimate-social-media-icons
|
9 |
Domain Path: /languages
|
10 |
-
Version: 2.7.
|
11 |
License: GPLv2 or later
|
12 |
*/
|
13 |
require_once 'analyst/main.php';
|
@@ -23,7 +23,7 @@ sfsi_error_reporting();
|
|
23 |
|
24 |
global $wpdb;
|
25 |
/* define the Root for URL and Document */
|
26 |
-
define( 'SFSI_PLUGIN_VERSION', '2.7.
|
27 |
define( 'SFSI_DOCROOT', dirname( __FILE__ ) );
|
28 |
|
29 |
define( 'SFSI_PLUGURL', plugin_dir_url( __FILE__ ) );
|
@@ -89,7 +89,7 @@ register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
|
|
89 |
|
90 |
register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
|
91 |
|
92 |
-
if (!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.
|
93 |
add_action( 'init', 'sfsi_update_plugin' );
|
94 |
}
|
95 |
/* redirect setting page hook */
|
7 |
Author URI: http://ultimatelysocial.com
|
8 |
Text Domain: ultimate-social-media-icons
|
9 |
Domain Path: /languages
|
10 |
+
Version: 2.7.1
|
11 |
License: GPLv2 or later
|
12 |
*/
|
13 |
require_once 'analyst/main.php';
|
23 |
|
24 |
global $wpdb;
|
25 |
/* define the Root for URL and Document */
|
26 |
+
define( 'SFSI_PLUGIN_VERSION', '2.7.1' );
|
27 |
define( 'SFSI_DOCROOT', dirname( __FILE__ ) );
|
28 |
|
29 |
define( 'SFSI_PLUGURL', plugin_dir_url( __FILE__ ) );
|
89 |
|
90 |
register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
|
91 |
|
92 |
+
if (!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.71) {
|
93 |
add_action( 'init', 'sfsi_update_plugin' );
|
94 |
}
|
95 |
/* redirect setting page hook */
|
views/sfsi_option_view4.php
CHANGED
@@ -529,14 +529,14 @@ $hide = "display:none;";
|
|
529 |
<div class="listing">
|
530 |
<ul>
|
531 |
|
532 |
-
<?php /*?><li><input name="sfsi_linkedIn_countsFrom" <?php echo ($option4['sfsi_linkedIn_countsFrom']=='follower') ? 'checked="true"' : '' ;?> type="radio" value="follower" class="styled"
|
533 |
<li class="SFSI_tglli">
|
534 |
<ul class="SFSI_lsngfrm">
|
535 |
|
536 |
-
<li class="linkedIn_options" style="<?php echo ($option4['sfsi_linkedIn_countsFrom']=='manual') ? 'display:none;' : '' ;?>"><label>Enter Company Name </label><input name="ln_company" class="input_facebook" type="text" value="<?php echo (isset($option4['ln_company']) && $option4['ln_company']!='') ? $option4['ln_company'] : '' ;?>"
|
537 |
-
<li class="linkedIn_options" style="<?php echo ($option4['sfsi_linkedIn_countsFrom']=='manual') ? 'display:none;' : '' ;?>"><label>Enter API Key </label><input name="ln_api_key" class="input_facebook" type="text" value="<?php echo (isset($option4['ln_api_key']) && $option4['ln_api_key']!='') ? $option4['ln_api_key'] : '' ;?>"
|
538 |
-
<li class="linkedIn_options" style="<?php echo ($option4['sfsi_linkedIn_countsFrom']=='manual') ? 'display:none;' : '' ;?>"><label>Enter Secret Key </label><input name="ln_secret_key" class="input_facebook" type="text" value="<?php echo (isset($option4['ln_secret_key']) && $option4['ln_secret_key']!='') ? $option4['ln_secret_key'] : '' ;?>"
|
539 |
-
<li class="linkedIn_options" style="<?php echo ($option4['sfsi_linkedIn_countsFrom']=='manual') ? 'display:none;' : '' ;?>" ><label>Enter OAuth User Token</label> <input name="ln_oAuth_user_token" class="input_facebook" type="text" value="<?php echo (isset($option4['ln_oAuth_user_token']) && $option4['ln_oAuth_user_token']!='') ? $option4['ln_oAuth_user_token'] : '' ;?>"
|
540 |
</ul>
|
541 |
<ul class="SFSI_instructions">
|
542 |
<li class="linkedIn_options" style="<?php echo ($option4['sfsi_linkedIn_countsFrom']=='manual') ? 'display:none;' : '' ;?>"><h3>To get the API key for LinkedIn:</h3></li>
|
529 |
<div class="listing">
|
530 |
<ul>
|
531 |
|
532 |
+
<?php /*?><li><input name="sfsi_linkedIn_countsFrom" <?php echo ($option4['sfsi_linkedIn_countsFrom']=='follower') ? 'checked="true"' : '' ;?> type="radio" value="follower" class="styled" />Retrieve the number of Linkedin followers</li>
|
533 |
<li class="SFSI_tglli">
|
534 |
<ul class="SFSI_lsngfrm">
|
535 |
|
536 |
+
<li class="linkedIn_options" style="<?php echo ($option4['sfsi_linkedIn_countsFrom']=='manual') ? 'display:none;' : '' ;?>"><label>Enter Company Name </label><input name="ln_company" class="input_facebook" type="text" value="<?php echo (isset($option4['ln_company']) && $option4['ln_company']!='') ? $option4['ln_company'] : '' ;?>" /> </li>
|
537 |
+
<li class="linkedIn_options" style="<?php echo ($option4['sfsi_linkedIn_countsFrom']=='manual') ? 'display:none;' : '' ;?>"><label>Enter API Key </label><input name="ln_api_key" class="input_facebook" type="text" value="<?php echo (isset($option4['ln_api_key']) && $option4['ln_api_key']!='') ? $option4['ln_api_key'] : '' ;?>" /> </li>
|
538 |
+
<li class="linkedIn_options" style="<?php echo ($option4['sfsi_linkedIn_countsFrom']=='manual') ? 'display:none;' : '' ;?>"><label>Enter Secret Key </label><input name="ln_secret_key" class="input_facebook" type="text" value="<?php echo (isset($option4['ln_secret_key']) && $option4['ln_secret_key']!='') ? $option4['ln_secret_key'] : '' ;?>" /> </li>
|
539 |
+
<li class="linkedIn_options" style="<?php echo ($option4['sfsi_linkedIn_countsFrom']=='manual') ? 'display:none;' : '' ;?>" ><label>Enter OAuth User Token</label> <input name="ln_oAuth_user_token" class="input_facebook" type="text" value="<?php echo (isset($option4['ln_oAuth_user_token']) && $option4['ln_oAuth_user_token']!='') ? $option4['ln_oAuth_user_token'] : '' ;?>" /> </li>
|
540 |
</ul>
|
541 |
<ul class="SFSI_instructions">
|
542 |
<li class="linkedIn_options" style="<?php echo ($option4['sfsi_linkedIn_countsFrom']=='manual') ? 'display:none;' : '' ;?>"><h3>To get the API key for LinkedIn:</h3></li>
|
views/sfsi_option_view5.php
CHANGED
@@ -259,7 +259,7 @@
|
|
259 |
<h4><?php _e( 'Alignments', 'ultimate-social-media-icons' ); ?></h4>
|
260 |
<div class="icons_size" style="width: max-content;display:flow-root">
|
261 |
<span style="font-size: 17px;"><?php _e( 'Icons per row:', 'ultimate-social-media-icons' ); ?></span>
|
262 |
-
<input name="sfsi_icons_perRow" type="text" value="<?php echo ( $option5['sfsi_icons_perRow']!='' ) ? $option5['sfsi_icons_perRow'] : ''
|
263 |
<ins class="leave_empty" style="margin-bottom: 34px;font-size: 17px;"><?php _e( 'Leave empty if you don\'t want to', 'ultimate-social-media-icons' ) ?> <br /><?php _e( 'define this', 'ultimate-social-media-icons' ) ?> </ins>
|
264 |
</div>
|
265 |
<div class="icons_size" style="width: max-content;">
|
@@ -269,9 +269,9 @@
|
|
269 |
</div>
|
270 |
<div class="field">
|
271 |
<select name="sfsi_icons_Alignment_via_widget" id="sfsi_icons_Alignment_via_widget" class="styled">
|
272 |
-
<option value="center" <?php echo ( $option5['sfsi_icons_Alignment_via_widget'] == 'center' ) ? 'selected="selected"' : ''
|
273 |
-
<option value="right" <?php echo ( $option5['sfsi_icons_Alignment_via_widget'] == 'right' ) ? 'selected="selected"' : ''
|
274 |
-
<option value="left" <?php echo ( $option5['sfsi_icons_Alignment_via_widget'] == 'left' ) ? 'selected="selected"' : ''
|
275 |
</select>
|
276 |
</div>
|
277 |
</div>
|
@@ -281,24 +281,24 @@
|
|
281 |
</div>
|
282 |
<div class="field">
|
283 |
<select name="sfsi_icons_Alignment_via_shortcode" id="sfsi_icons_Alignment_via_shortcode" class="styled">
|
284 |
-
<option value="center" <?php echo ( $option5['sfsi_icons_Alignment_via_shortcode'] == 'center' ) ? 'selected="selected"' : ''
|
285 |
-
<option value="right" <?php echo ( $option5['sfsi_icons_Alignment_via_shortcode'] == 'right' ) ? 'selected="selected"' : ''
|
286 |
-
<option value="left" <?php echo ( $option5['sfsi_icons_Alignment_via_shortcode'] == 'left' ) ? 'selected="selected"' : ''
|
287 |
</select>
|
288 |
</div>
|
289 |
</div>
|
290 |
<div class="icons_size" style="width: max-content;">
|
291 |
<div style="width: 232px;float: left;position: relative;">
|
292 |
-
<span style="line-height: 26px;margin-bottom: 10px;font-size: 17px;"><?php _e(
|
293 |
<ins class="sfsi_icons_other_allign" style="bottom: -22px;left: 0;width: 200px;color: rgb(128,136,145);">
|
294 |
-
<?php _e(
|
295 |
</ins>
|
296 |
</div>
|
297 |
<div class="field">
|
298 |
<select name="sfsi_icons_Alignment" id="sfsi_icons_Alignment" class="styled">
|
299 |
-
<option value="center" <?php echo ( $option5['sfsi_icons_Alignment'] == 'center' ) ? 'selected="selected"' : ''
|
300 |
-
<option value="right" <?php echo ( $option5['sfsi_icons_Alignment'] == 'right' ) ? 'selected="selected"' : ''
|
301 |
-
<option value="left" <?php echo ( $option5['sfsi_icons_Alignment'] == 'left' ) ? 'selected="selected"' : ''
|
302 |
</select>
|
303 |
</div>
|
304 |
</div>
|
@@ -844,19 +844,19 @@
|
|
844 |
|
845 |
<?php endif; ?>
|
846 |
<option value="ar" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'ar' ) ? 'selected="selected"' : ''; ?>>
|
847 |
-
العربية<span> - << </span> <span
|
848 |
</option>
|
849 |
|
850 |
<option value="Visit_us_ar" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_ar' ) ? 'selected="selected"' : ''; ?>>
|
851 |
-
العربية<span> - << </span> <span
|
852 |
</option>
|
853 |
|
854 |
<option value="zh_CN" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'zh_CN' ) ? 'selected="selected"' : ''; ?>>
|
855 |
-
中文<span> - << </span> <span
|
856 |
</option>
|
857 |
|
858 |
<option value="Visit_us_zh_CN" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_zh_CN' ) ? 'selected="selected"' : ''; ?>>
|
859 |
-
中文<span> - << </span> <span
|
860 |
</option>
|
861 |
|
862 |
<!-- <option value="cs_CZ" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'cs_CZ' ) ? 'selected="selected"' : ''; ?>>
|
@@ -864,51 +864,51 @@
|
|
864 |
</option> -->
|
865 |
|
866 |
<option value="fr_FR" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'fr_FR' ) ? 'selected="selected"' : ''; ?>>
|
867 |
-
Français<span> - << </span> <span
|
868 |
</option>
|
869 |
|
870 |
<option value="Visit_us_fr_FR" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_fr_FR' ) ? 'selected="selected"' : ''; ?>>
|
871 |
-
Français<span> - << </span> <span
|
872 |
</option>
|
873 |
|
874 |
<option value="en_US" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'en_US' ) ? 'selected="selected"' : ''; ?>>
|
875 |
-
English<span> - << </span> <span
|
876 |
</option>
|
877 |
|
878 |
<option value="Visit_us_en_US" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_en_US' ) ? 'selected="selected"' : ''; ?>>
|
879 |
-
English<span> - << </span> <span
|
880 |
</option>
|
881 |
|
882 |
<option value="hu_HU" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'hu_HU' ) ? 'selected="selected"' : ''; ?>>
|
883 |
-
Magyar<span> - << </span> <span
|
884 |
</option>
|
885 |
|
886 |
<option value="Visit_us_hu_HU" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_hu_HU' ) ? 'selected="selected"' : ''; ?>>
|
887 |
-
Magyar<span> - << </span> <span
|
888 |
</option>
|
889 |
|
890 |
<option value="hi_IN" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'hi_IN' ) ? 'selected="selected"' : ''; ?>>
|
891 |
-
हिंदी<span> - << </span> <span
|
892 |
</option>
|
893 |
|
894 |
<option value="Visit_us_hi_IN" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_hi_IN' ) ? 'selected="selected"' : ''; ?>>
|
895 |
-
हिंदी<span> - << </span> <span
|
896 |
</option>
|
897 |
|
898 |
<option value="it_IT" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'it_IT' ) ? 'selected="selected"' : ''; ?>>
|
899 |
-
Italiano<span> - << </span> <span
|
900 |
</option>
|
901 |
|
902 |
<option value="Visit_us_it_IT" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_it_IT' ) ? 'selected="selected"' : ''; ?>>
|
903 |
-
Italiano<span> - << </span> <span
|
904 |
</option>
|
905 |
|
906 |
<option value="ja" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'ja' ) ? 'selected="selected"' : ''; ?>>
|
907 |
-
日本語<span> - << </span> <span
|
908 |
</option>
|
909 |
|
910 |
<option value="Visit_us_ja" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_ja' ) ? 'selected="selected"' : ''; ?>>
|
911 |
-
日本語<span> - << </span> <span
|
912 |
</option>
|
913 |
|
914 |
<!-- <option value="fa_IR" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'fa_IR' ) ? 'selected="selected"' : ''; ?>>
|
@@ -916,67 +916,67 @@
|
|
916 |
</option> -->
|
917 |
|
918 |
<option value="pl_PL" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'pl_PL' ) ? 'selected="selected"' : ''; ?>>
|
919 |
-
Polski<span> - << </span> <span
|
920 |
</option>
|
921 |
|
922 |
<option value="Visit_us_pl_PL" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_pl_PL' ) ? 'selected="selected"' : ''; ?>>
|
923 |
-
Polski<span> - << </span> <span
|
924 |
</option>
|
925 |
|
926 |
<option value="pt_PT" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'pt_PT' ) ? 'selected="selected"' : ''; ?>>
|
927 |
-
Português<span> - << </span> <span
|
928 |
</option>
|
929 |
|
930 |
<option value="Visit_us_pt_PT" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_pt_PT' ) ? 'selected="selected"' : ''; ?>>
|
931 |
-
Português<span> - << </span> <span
|
932 |
</option>
|
933 |
|
934 |
<option value="pt_BR" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'pt_BR' ) ? 'selected="selected"' : ''; ?>>
|
935 |
-
Português (Brasil)<span> - << </span> <span
|
936 |
</option>
|
937 |
|
938 |
<option value="Visit_pt_BR" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_pt_BR' ) ? 'selected="selected"' : ''; ?>>
|
939 |
-
Português (Brasil)<span> - << </span> <span
|
940 |
</option>
|
941 |
|
942 |
<option value="ru_RU" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'ru_RU' ) ? 'selected="selected"' : ''; ?>>
|
943 |
-
Русский<span> - << </span> <span
|
944 |
</option>
|
945 |
|
946 |
<option value="Visit_us_ru_RU" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_ru_RU' ) ? 'selected="selected"' : ''; ?>>
|
947 |
-
Русский<span> - << </span> <span
|
948 |
</option>
|
949 |
|
950 |
<option value="es_ES" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'es_ES' ) ? 'selected="selected"' : ''; ?>>
|
951 |
-
Español<span> - << </span> <span
|
952 |
</option>
|
953 |
|
954 |
<option value="Visit_us_es_ES" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_es_ES' ) ? 'selected="selected"' : ''; ?>>
|
955 |
-
Español<span> - << </span> <span
|
956 |
</option>
|
957 |
|
958 |
<option value="tr_TR" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'tr_TR' ) ? 'selected="selected"' : ''; ?>>
|
959 |
-
Türkçe<span> - << </span> <span
|
960 |
</option>
|
961 |
|
962 |
<option value="Visit_us_tr_TR" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_tr_TR' ) ? 'selected="selected"' : ''; ?>>
|
963 |
-
Türkçe<span> - << </span> <span
|
964 |
</option>
|
965 |
|
966 |
<option value="vi" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'vi' ) ? 'selected="selected"' : ''; ?>>
|
967 |
-
Tiếng Việt<span> - << </span> <span
|
968 |
</option>
|
969 |
|
970 |
<option value="Visit_us_vi" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_vi' ) ? 'selected="selected"' : ''; ?>>
|
971 |
-
Tiếng Việt<span> - << </span> <span
|
972 |
</option>
|
973 |
|
974 |
<option value="me_se_SE" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'me_se_SE' ) ? 'selected="selected"' : ''; ?>>
|
975 |
-
Swedish<span> - << </span> <span
|
976 |
</option>
|
977 |
|
978 |
<option value="us_se_SE" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'us_se_SE' ) ? 'selected="selected"' : ''; ?>>
|
979 |
-
Swedish<span> - << </span> <span
|
980 |
</option>
|
981 |
</select>
|
982 |
|
@@ -1186,12 +1186,12 @@
|
|
1186 |
</p>
|
1187 |
<ul class="enough_waffling">
|
1188 |
<li>
|
1189 |
-
<input name="sfsi_icons_ClickPageOpen" <?php echo ( $option5['sfsi_icons_ClickPageOpen'] == 'yes' ) ? 'checked="true"' : '' ;?> type="radio" value="yes" class="styled"
|
1190 |
-
<label><?php _e(
|
1191 |
</li>
|
1192 |
<li>
|
1193 |
<input name="sfsi_icons_ClickPageOpen" <?php echo ( $option5['sfsi_icons_ClickPageOpen'] == 'no' ) ? 'checked="true"' : '' ;?> type="radio" value="no" class="styled" />
|
1194 |
-
<label><?php _e(
|
1195 |
</li>
|
1196 |
</ul>
|
1197 |
</div>
|
@@ -1201,11 +1201,9 @@
|
|
1201 |
<!-- icon's floating and stick section start here -->
|
1202 |
<div class="row sticking">
|
1203 |
|
1204 |
-
<h4><?php _e(
|
1205 |
|
1206 |
<div class="clear float_options" <?php if($option5['sfsi_icons_stick'] == 'yes') :?> style="display:none" <?php endif;?>>
|
1207 |
-
|
1208 |
-
|
1209 |
</div>
|
1210 |
|
1211 |
<div class="space">
|
@@ -1215,7 +1213,7 @@
|
|
1215 |
<ul class="enough_waffling">
|
1216 |
|
1217 |
<li>
|
1218 |
-
<input name="sfsi_icons_stick" <?php echo ( $option5['sfsi_icons_stick'] == 'yes' ) ? 'checked="true"' : '' ;?> type="radio" value="yes" class="styled"
|
1219 |
<label><?php _e( 'Yes', 'ultimate-social-media-icons' ) ?></label>
|
1220 |
</li>
|
1221 |
|
@@ -1294,7 +1292,7 @@
|
|
1294 |
<ul class="sfsi_show_hide_section">
|
1295 |
<li>
|
1296 |
<div class="radio_section tb_4_ck">
|
1297 |
-
<input name="sfsi_custom_social_hide" type="checkbox" <?php echo $checkedS; ?> value="<?php echo $checkedVal; ?>" class="styled"
|
1298 |
<label class="cstmdsplsub"><?php _e("Hide section for all",'ultimate-social-media-icons' ) ?></label>
|
1299 |
</div>
|
1300 |
</li>
|
@@ -1442,7 +1440,7 @@
|
|
1442 |
<div class="row_onl"><p>Show useful tips for more sharing & traffic?</p>
|
1443 |
<ul class="enough_waffling">
|
1444 |
<li>
|
1445 |
-
<input name="sfsi_icons_hide_banners" checked="true" type="radio" value="yes" class="styled"
|
1446 |
<label>Yes</label>
|
1447 |
</li>
|
1448 |
<li>
|
259 |
<h4><?php _e( 'Alignments', 'ultimate-social-media-icons' ); ?></h4>
|
260 |
<div class="icons_size" style="width: max-content;display:flow-root">
|
261 |
<span style="font-size: 17px;"><?php _e( 'Icons per row:', 'ultimate-social-media-icons' ); ?></span>
|
262 |
+
<input name="sfsi_icons_perRow" type="text" value="<?php echo ( $option5['sfsi_icons_perRow'] != '' ) ? $option5['sfsi_icons_perRow'] : ''; ?>" />
|
263 |
<ins class="leave_empty" style="margin-bottom: 34px;font-size: 17px;"><?php _e( 'Leave empty if you don\'t want to', 'ultimate-social-media-icons' ) ?> <br /><?php _e( 'define this', 'ultimate-social-media-icons' ) ?> </ins>
|
264 |
</div>
|
265 |
<div class="icons_size" style="width: max-content;">
|
269 |
</div>
|
270 |
<div class="field">
|
271 |
<select name="sfsi_icons_Alignment_via_widget" id="sfsi_icons_Alignment_via_widget" class="styled">
|
272 |
+
<option value="center" <?php echo ( $option5['sfsi_icons_Alignment_via_widget'] == 'center' ) ? 'selected="selected"' : ''; ?>><?php _e( 'Centered', 'ultimate-social-media-icons' ) ?></option>
|
273 |
+
<option value="right" <?php echo ( $option5['sfsi_icons_Alignment_via_widget'] == 'right' ) ? 'selected="selected"' : ''; ?>><?php _e( 'Right', 'ultimate-social-media-icons' ) ?></option>
|
274 |
+
<option value="left" <?php echo ( $option5['sfsi_icons_Alignment_via_widget'] == 'left' ) ? 'selected="selected"' : ''; ?>><?php _e( 'Left', 'ultimate-social-media-icons' ) ?></option>
|
275 |
</select>
|
276 |
</div>
|
277 |
</div>
|
281 |
</div>
|
282 |
<div class="field">
|
283 |
<select name="sfsi_icons_Alignment_via_shortcode" id="sfsi_icons_Alignment_via_shortcode" class="styled">
|
284 |
+
<option value="center" <?php echo ( $option5['sfsi_icons_Alignment_via_shortcode'] == 'center' ) ? 'selected="selected"' : ''; ?>><?php _e( 'Centered', 'ultimate-social-media-icons' ) ?></option>
|
285 |
+
<option value="right" <?php echo ( $option5['sfsi_icons_Alignment_via_shortcode'] == 'right' ) ? 'selected="selected"' : ''; ?>><?php _e( 'Right', 'ultimate-social-media-icons' ) ?></option>
|
286 |
+
<option value="left" <?php echo ( $option5['sfsi_icons_Alignment_via_shortcode'] == 'left' ) ? 'selected="selected"' : ''; ?>><?php _e( 'Left', 'ultimate-social-media-icons' ) ?></option>
|
287 |
</select>
|
288 |
</div>
|
289 |
</div>
|
290 |
<div class="icons_size" style="width: max-content;">
|
291 |
<div style="width: 232px;float: left;position: relative;">
|
292 |
+
<span style="line-height: 26px;margin-bottom: 10px;font-size: 17px;"><?php _e( 'Alignment of icons In the second row:', 'ultimate-social-media-icons' ) ?></span>
|
293 |
<ins class="sfsi_icons_other_allign" style="bottom: -22px;left: 0;width: 200px;color: rgb(128,136,145);">
|
294 |
+
<?php _e( '(with respect to icons in the first row; only relevant if your icons show in two or more rows)', 'ultimate-social-media-icons' ) ?>
|
295 |
</ins>
|
296 |
</div>
|
297 |
<div class="field">
|
298 |
<select name="sfsi_icons_Alignment" id="sfsi_icons_Alignment" class="styled">
|
299 |
+
<option value="center" <?php echo ( $option5['sfsi_icons_Alignment'] == 'center' ) ? 'selected="selected"' : ''; ?>><?php _e( 'Centered', 'ultimate-social-media-icons' ) ?></option>
|
300 |
+
<option value="right" <?php echo ( $option5['sfsi_icons_Alignment'] == 'right' ) ? 'selected="selected"' : ''; ?>><?php _e( 'Right', 'ultimate-social-media-icons' ) ?></option>
|
301 |
+
<option value="left" <?php echo ( $option5['sfsi_icons_Alignment'] == 'left' ) ? 'selected="selected"' : ''; ?>><?php _e( 'Left', 'ultimate-social-media-icons' ) ?></option>
|
302 |
</select>
|
303 |
</div>
|
304 |
</div>
|
844 |
|
845 |
<?php endif; ?>
|
846 |
<option value="ar" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'ar' ) ? 'selected="selected"' : ''; ?>>
|
847 |
+
العربية<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
848 |
</option>
|
849 |
|
850 |
<option value="Visit_us_ar" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_ar' ) ? 'selected="selected"' : ''; ?>>
|
851 |
+
العربية<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
852 |
</option>
|
853 |
|
854 |
<option value="zh_CN" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'zh_CN' ) ? 'selected="selected"' : ''; ?>>
|
855 |
+
中文<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
856 |
</option>
|
857 |
|
858 |
<option value="Visit_us_zh_CN" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_zh_CN' ) ? 'selected="selected"' : ''; ?>>
|
859 |
+
中文<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
860 |
</option>
|
861 |
|
862 |
<!-- <option value="cs_CZ" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'cs_CZ' ) ? 'selected="selected"' : ''; ?>>
|
864 |
</option> -->
|
865 |
|
866 |
<option value="fr_FR" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'fr_FR' ) ? 'selected="selected"' : ''; ?>>
|
867 |
+
Français<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
868 |
</option>
|
869 |
|
870 |
<option value="Visit_us_fr_FR" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_fr_FR' ) ? 'selected="selected"' : ''; ?>>
|
871 |
+
Français<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
872 |
</option>
|
873 |
|
874 |
<option value="en_US" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'en_US' ) ? 'selected="selected"' : ''; ?>>
|
875 |
+
English<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
876 |
</option>
|
877 |
|
878 |
<option value="Visit_us_en_US" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_en_US' ) ? 'selected="selected"' : ''; ?>>
|
879 |
+
English<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
880 |
</option>
|
881 |
|
882 |
<option value="hu_HU" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'hu_HU' ) ? 'selected="selected"' : ''; ?>>
|
883 |
+
Magyar<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
884 |
</option>
|
885 |
|
886 |
<option value="Visit_us_hu_HU" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_hu_HU' ) ? 'selected="selected"' : ''; ?>>
|
887 |
+
Magyar<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
888 |
</option>
|
889 |
|
890 |
<option value="hi_IN" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'hi_IN' ) ? 'selected="selected"' : ''; ?>>
|
891 |
+
हिंदी<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
892 |
</option>
|
893 |
|
894 |
<option value="Visit_us_hi_IN" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_hi_IN' ) ? 'selected="selected"' : ''; ?>>
|
895 |
+
हिंदी<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
896 |
</option>
|
897 |
|
898 |
<option value="it_IT" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'it_IT' ) ? 'selected="selected"' : ''; ?>>
|
899 |
+
Italiano<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
900 |
</option>
|
901 |
|
902 |
<option value="Visit_us_it_IT" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_it_IT' ) ? 'selected="selected"' : ''; ?>>
|
903 |
+
Italiano<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
904 |
</option>
|
905 |
|
906 |
<option value="ja" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'ja' ) ? 'selected="selected"' : ''; ?>>
|
907 |
+
日本語<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
908 |
</option>
|
909 |
|
910 |
<option value="Visit_us_ja" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_ja' ) ? 'selected="selected"' : ''; ?>>
|
911 |
+
日本語<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
912 |
</option>
|
913 |
|
914 |
<!-- <option value="fa_IR" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'fa_IR' ) ? 'selected="selected"' : ''; ?>>
|
916 |
</option> -->
|
917 |
|
918 |
<option value="pl_PL" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'pl_PL' ) ? 'selected="selected"' : ''; ?>>
|
919 |
+
Polski<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
920 |
</option>
|
921 |
|
922 |
<option value="Visit_us_pl_PL" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_pl_PL' ) ? 'selected="selected"' : ''; ?>>
|
923 |
+
Polski<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
924 |
</option>
|
925 |
|
926 |
<option value="pt_PT" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'pt_PT' ) ? 'selected="selected"' : ''; ?>>
|
927 |
+
Português<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
928 |
</option>
|
929 |
|
930 |
<option value="Visit_us_pt_PT" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_pt_PT' ) ? 'selected="selected"' : ''; ?>>
|
931 |
+
Português<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
932 |
</option>
|
933 |
|
934 |
<option value="pt_BR" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'pt_BR' ) ? 'selected="selected"' : ''; ?>>
|
935 |
+
Português (Brasil)<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
936 |
</option>
|
937 |
|
938 |
<option value="Visit_pt_BR" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_pt_BR' ) ? 'selected="selected"' : ''; ?>>
|
939 |
+
Português (Brasil)<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
940 |
</option>
|
941 |
|
942 |
<option value="ru_RU" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'ru_RU' ) ? 'selected="selected"' : ''; ?>>
|
943 |
+
Русский<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
944 |
</option>
|
945 |
|
946 |
<option value="Visit_us_ru_RU" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_ru_RU' ) ? 'selected="selected"' : ''; ?>>
|
947 |
+
Русский<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
948 |
</option>
|
949 |
|
950 |
<option value="es_ES" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'es_ES' ) ? 'selected="selected"' : ''; ?>>
|
951 |
+
Español<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
952 |
</option>
|
953 |
|
954 |
<option value="Visit_us_es_ES" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_es_ES' ) ? 'selected="selected"' : ''; ?>>
|
955 |
+
Español<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
956 |
</option>
|
957 |
|
958 |
<option value="tr_TR" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'tr_TR' ) ? 'selected="selected"' : ''; ?>>
|
959 |
+
Türkçe<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
960 |
</option>
|
961 |
|
962 |
<option value="Visit_us_tr_TR" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_tr_TR' ) ? 'selected="selected"' : ''; ?>>
|
963 |
+
Türkçe<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
964 |
</option>
|
965 |
|
966 |
<option value="vi" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'vi' ) ? 'selected="selected"' : ''; ?>>
|
967 |
+
Tiếng Việt<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
968 |
</option>
|
969 |
|
970 |
<option value="Visit_us_vi" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'Visit_us_vi' ) ? 'selected="selected"' : ''; ?>>
|
971 |
+
Tiếng Việt<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
972 |
</option>
|
973 |
|
974 |
<option value="me_se_SE" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'me_se_SE' ) ? 'selected="selected"' : ''; ?>>
|
975 |
+
Swedish<span> - << </span> <span><?php _e( 'Visit me', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
976 |
</option>
|
977 |
|
978 |
<option value="us_se_SE" <?php echo ( $option5['sfsi_linkedin_icons_language'] == 'us_se_SE' ) ? 'selected="selected"' : ''; ?>>
|
979 |
+
Swedish<span> - << </span> <span><?php _e( 'Visit us', 'ultimate-social-media-icons' ); ?></span><span> >> </span>
|
980 |
</option>
|
981 |
</select>
|
982 |
|
1186 |
</p>
|
1187 |
<ul class="enough_waffling">
|
1188 |
<li>
|
1189 |
+
<input name="sfsi_icons_ClickPageOpen" <?php echo ( $option5['sfsi_icons_ClickPageOpen'] == 'yes' ) ? 'checked="true"' : '' ;?> type="radio" value="yes" class="styled" />
|
1190 |
+
<label><?php _e( 'Yes', 'ultimate-social-media-icons' ) ?></label>
|
1191 |
</li>
|
1192 |
<li>
|
1193 |
<input name="sfsi_icons_ClickPageOpen" <?php echo ( $option5['sfsi_icons_ClickPageOpen'] == 'no' ) ? 'checked="true"' : '' ;?> type="radio" value="no" class="styled" />
|
1194 |
+
<label><?php _e( 'No', 'ultimate-social-media-icons' ) ?></label>
|
1195 |
</li>
|
1196 |
</ul>
|
1197 |
</div>
|
1201 |
<!-- icon's floating and stick section start here -->
|
1202 |
<div class="row sticking">
|
1203 |
|
1204 |
+
<h4><?php _e( 'Sticky icons', 'ultimate-social-media-icons' ) ?></h4>
|
1205 |
|
1206 |
<div class="clear float_options" <?php if($option5['sfsi_icons_stick'] == 'yes') :?> style="display:none" <?php endif;?>>
|
|
|
|
|
1207 |
</div>
|
1208 |
|
1209 |
<div class="space">
|
1213 |
<ul class="enough_waffling">
|
1214 |
|
1215 |
<li>
|
1216 |
+
<input name="sfsi_icons_stick" <?php echo ( $option5['sfsi_icons_stick'] == 'yes' ) ? 'checked="true"' : '' ;?> type="radio" value="yes" class="styled" />
|
1217 |
<label><?php _e( 'Yes', 'ultimate-social-media-icons' ) ?></label>
|
1218 |
</li>
|
1219 |
|
1292 |
<ul class="sfsi_show_hide_section">
|
1293 |
<li>
|
1294 |
<div class="radio_section tb_4_ck">
|
1295 |
+
<input name="sfsi_custom_social_hide" type="checkbox" <?php echo $checkedS; ?> value="<?php echo $checkedVal; ?>" class="styled" />
|
1296 |
<label class="cstmdsplsub"><?php _e("Hide section for all",'ultimate-social-media-icons' ) ?></label>
|
1297 |
</div>
|
1298 |
</li>
|
1440 |
<div class="row_onl"><p>Show useful tips for more sharing & traffic?</p>
|
1441 |
<ul class="enough_waffling">
|
1442 |
<li>
|
1443 |
+
<input name="sfsi_icons_hide_banners" checked="true" type="radio" value="yes" class="styled" />
|
1444 |
<label>Yes</label>
|
1445 |
</li>
|
1446 |
<li>
|
views/subviews/que3/sfsi_que3_place_via_after_posts.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
}
|
12 |
?>
|
13 |
<li class="sfsi_show_via_afterposts">
|
14 |
-
<div class="radio_section tb_4_ck" onclick="checkforinfoslction_checkbox(this);"><input name="sfsi_show_via_afterposts" <?php echo $checked; ?> type="checkbox" value="<?php echo $sfsi_show_via_afterposts; ?>" class="styled"
|
15 |
<div class="sfsi_right_info">
|
16 |
<p>
|
17 |
<span class="sfsi_toglepstpgspn"><?php _e("Show icons after posts",'ultimate-social-media-icons') ?></span>
|
11 |
}
|
12 |
?>
|
13 |
<li class="sfsi_show_via_afterposts">
|
14 |
+
<div class="radio_section tb_4_ck" onclick="checkforinfoslction_checkbox(this);"><input name="sfsi_show_via_afterposts" <?php echo $checked; ?> type="checkbox" value="<?php echo $sfsi_show_via_afterposts; ?>" class="styled" /></div>
|
15 |
<div class="sfsi_right_info">
|
16 |
<p>
|
17 |
<span class="sfsi_toglepstpgspn"><?php _e("Show icons after posts",'ultimate-social-media-icons') ?></span>
|