Social Share Icons & Social Share Buttons - Version 3.0.5

Version Description

  • Update: Theme checker dom error updated
  • Update: Deprecated Google plus
  • Updated: Css changes to make icons more symetric
Download this release

Release Info

Developer socialdude
Plugin Icon 128x128 Social Share Icons & Social Share Buttons
Version 3.0.5
Comparing to
See all releases

Code changes from version 3.0.4 to 3.0.5

css/sfsi-admin-style.css CHANGED
@@ -23,6 +23,7 @@
23
  font-weight: 400;
24
  font-style: normal;
25
  }
 
26
  body {
27
  margin: 0;
28
  padding: 0;
@@ -1633,4 +1634,50 @@ div#sfsi_plus_langnotice {padding: 10px;margin-left: 0px;position: relative;}
1633
  #sfsi_plus_jivo_offline_chat{
1634
  width:400px;
1635
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1636
  }
23
  font-weight: 400;
24
  font-style: normal;
25
  }
26
+ @import url('https://fonts.googleapis.com/css?family=Josefin+Sans');
27
  body {
28
  margin: 0;
29
  padding: 0;
1634
  #sfsi_plus_jivo_offline_chat{
1635
  width:400px;
1636
  }
1637
+ }
1638
+ .sfsi_plus_unbold_link{
1639
+ font-family:inherit!important;
1640
+ }
1641
+ .sfsi_plus_quickpay-overlay a{
1642
+ display:inline;
1643
+ font-size: inherit;
1644
+ text-decoration: underline;
1645
+ font-weight:900;
1646
+ color:#666;
1647
+ }
1648
+ .sfsi_plus_row{
1649
+ width:100%;
1650
+ }
1651
+ .sfsi_plus_col_6{
1652
+ width:49%;
1653
+ display:inline-block;
1654
+ }
1655
+ .sfsi_plus_text_center{
1656
+ text-align: center;
1657
+ }
1658
+ .sfsi_plus_col_6 > div{
1659
+ padding:18px 30px !important;
1660
+ margin:20px 0 0 0;
1661
+ border:1px solid #999;
1662
+ display:inline-block;
1663
+ float:none;
1664
+ /* height: 42px;
1665
+ width: 150px;*/
1666
+ }
1667
+ .sfsi_plus_col_6 > div:hover{
1668
+ background-image: radial-gradient(circle,#fff,#eee);
1669
+ }
1670
+
1671
+
1672
+ .sfsi_plus_quickpay-overlay .sfsi_pop_up .sellcodes-quick-purchase img{
1673
+ vertical-align: middle;
1674
+ height: 40px;
1675
+ }
1676
+
1677
+ .sfsi_plus_quickpay-overlay .sfsi_pop_up .sellcodes-quick-purchase p{
1678
+ text-align: center;
1679
+ }
1680
+
1681
+ .pop-overlay.read-overlay.sfsi_plus_quickpay-overlay *{
1682
+ font-family: 'Josefin Sans', sans-serif;
1683
  }
css/sfsi-style.css CHANGED
@@ -1886,12 +1886,15 @@ h2.optional {
1886
  overflow: hidden;
1887
  }
1888
  .sfsi_plus_fb_tool_bdr .sfsi_plus_inside .icon1 {
1889
- margin: 2px 0 2px 0;
1890
  height: 28px;
1891
  /*display: inline-block;*/
1892
  float: none;
1893
  /* width: 62px;s*/
1894
  }
 
 
 
1895
  .sfsi_plus_inside img
1896
  {
1897
  vertical-align:sub !important;
@@ -1911,6 +1914,9 @@ h2.optional {
1911
  display:inline-block;
1912
  float: none;
1913
  }
 
 
 
1914
  .sfsi_plus_fb_tool_bdr .sfsi_plus_inside .fb_1, .sfsi_plus_fb_tool_bdr .sfsi_plus_inside .fb_2, .sfsi_plus_fb_tool_bdr .sfsi_plus_inside .fb_3 {
1915
  margin: 9px 0 0;
1916
  height: 25px;
@@ -1926,6 +1932,13 @@ h2.optional {
1926
  float: none;
1927
  /*width: 73px;*/
1928
  }
 
 
 
 
 
 
 
1929
  .sfsi_plus_printst_tool_bdr .sfsi_plus_inside .icon2 {
1930
  margin: 2px 0;
1931
  height: 20px;
@@ -1958,7 +1971,7 @@ h2.optional {
1958
  float: left;
1959
  }
1960
  .sfsi_plus_gpls_tool_bdr .sfsi_plus_inside .icon1 {
1961
- margin: 2px 0;
1962
  display: inline-block;
1963
  float: none;
1964
  height: 29px;
@@ -2001,6 +2014,11 @@ h2.optional {
2001
  overflow: hidden;
2002
  /*width: 100%;*/
2003
  }
 
 
 
 
 
2004
  .sfsi_plus_twt_tool_bdr .sfsi_plus_inside .cstmicon1 a {
2005
  display: inline-block;
2006
  vertical-align: middle;
@@ -2011,13 +2029,16 @@ h2.optional {
2011
  float: left;
2012
  }
2013
  .sfsi_plus_twt_tool_bdr .sfsi_plus_inside .icon1 {
2014
- margin: 2px 24px 2px !important;
2015
  display: inline-block;
2016
  float: none;
2017
  /*width: 61px;*/
2018
  overflow: hidden;
2019
  height: 20px;
2020
  }
 
 
 
2021
  .sfsi_plus_twt_tool_bdr .sfsi_plus_inside .icon1 iframe {
2022
  /* width: 61px!important;*/
2023
  }
@@ -2060,6 +2081,9 @@ h2.optional {
2060
  float: none;
2061
  width: 87px;
2062
  }
 
 
 
2063
  .utube_tool_bdr .sfsi_plus_inside .icon2 {
2064
  margin: 2px 0 2;
2065
  height: 24px;
@@ -2082,19 +2106,27 @@ h2.optional {
2082
  float: left;
2083
  width: 100%}
2084
  .sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon1{
2085
- margin: 2px 0;
2086
  display: inline-block;
2087
  float: none;
2088
  height: 23px;
2089
  width: 100%;
2090
  }
 
 
 
 
2091
  .sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon2{
2092
- margin: 2px 0;
2093
  display:inline-block;
2094
  float: none;
2095
  height: 23px;
2096
  width: 100%;
2097
  }
 
 
 
 
2098
  .sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon3 {
2099
  margin: 2px 0;
2100
  display:inline-block;
1886
  overflow: hidden;
1887
  }
1888
  .sfsi_plus_fb_tool_bdr .sfsi_plus_inside .icon1 {
1889
+ margin: 2px 0 -5px 0;
1890
  height: 28px;
1891
  /*display: inline-block;*/
1892
  float: none;
1893
  /* width: 62px;s*/
1894
  }
1895
+ #sfsi_plus_floater .sfsi_plus_fb_tool_bdr .sfsi_plus_inside .icon1 {
1896
+ margin: -16px 0 16px 0;
1897
+ }
1898
  .sfsi_plus_inside img
1899
  {
1900
  vertical-align:sub !important;
1914
  display:inline-block;
1915
  float: none;
1916
  }
1917
+ #sfsi_plus_floater .sfsi_plus_fb_tool_bdr .sfsi_plus_inside .icon3 {
1918
+ margin: 3px 0 0 0;
1919
+ }
1920
  .sfsi_plus_fb_tool_bdr .sfsi_plus_inside .fb_1, .sfsi_plus_fb_tool_bdr .sfsi_plus_inside .fb_2, .sfsi_plus_fb_tool_bdr .sfsi_plus_inside .fb_3 {
1921
  margin: 9px 0 0;
1922
  height: 25px;
1932
  float: none;
1933
  /*width: 73px;*/
1934
  }
1935
+ #sfsi_plus_floater .sfsi_plus_printst_tool_bdr .sfsi_plus_inside .icon1{
1936
+ margin:0px 0;
1937
+ }
1938
+ #sfsi_plus_floater .sfsi_plus_printst_tool_bdr .sfsi_plus_inside .icon2{
1939
+ margin:-5px 0 17px 0;
1940
+ display:inherit;
1941
+ }
1942
  .sfsi_plus_printst_tool_bdr .sfsi_plus_inside .icon2 {
1943
  margin: 2px 0;
1944
  height: 20px;
1971
  float: left;
1972
  }
1973
  .sfsi_plus_gpls_tool_bdr .sfsi_plus_inside .icon1 {
1974
+ margin: 2px 0 -5px 0;
1975
  display: inline-block;
1976
  float: none;
1977
  height: 29px;
2014
  overflow: hidden;
2015
  /*width: 100%;*/
2016
  }
2017
+ #sfsi_plus_floater .sfsi_plus_twt_tool_bdr .sfsi_plus_inside .cstmicon1 {
2018
+ margin: -7px 0 -14px 0!important;
2019
+ /* height: 41px; */
2020
+ vertical-align: bottom;
2021
+ }
2022
  .sfsi_plus_twt_tool_bdr .sfsi_plus_inside .cstmicon1 a {
2023
  display: inline-block;
2024
  vertical-align: middle;
2029
  float: left;
2030
  }
2031
  .sfsi_plus_twt_tool_bdr .sfsi_plus_inside .icon1 {
2032
+ margin: 1px 24px 3px !important;
2033
  display: inline-block;
2034
  float: none;
2035
  /*width: 61px;*/
2036
  overflow: hidden;
2037
  height: 20px;
2038
  }
2039
+ #sfsi_plus_floater .sfsi_plus_twt_tool_bdr .sfsi_plus_inside .icon1{
2040
+ margin: 1px 24px -12px !important;
2041
+ }
2042
  .sfsi_plus_twt_tool_bdr .sfsi_plus_inside .icon1 iframe {
2043
  /* width: 61px!important;*/
2044
  }
2081
  float: none;
2082
  width: 87px;
2083
  }
2084
+ #sfsi_plus_floater .utube_tool_bdr .sfsi_plus_inside .icon1{
2085
+ margin:0px 0px 19px 0;
2086
+ }
2087
  .utube_tool_bdr .sfsi_plus_inside .icon2 {
2088
  margin: 2px 0 2;
2089
  height: 24px;
2106
  float: left;
2107
  width: 100%}
2108
  .sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon1{
2109
+ margin: -5px 0 8px 0;
2110
  display: inline-block;
2111
  float: none;
2112
  height: 23px;
2113
  width: 100%;
2114
  }
2115
+ #sfsi_plus_floater .sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon1{
2116
+ margin: -6px 0 16px 0;
2117
+ display: inherit;
2118
+ }
2119
  .sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon2{
2120
+ margin: 1px 0;
2121
  display:inline-block;
2122
  float: none;
2123
  height: 23px;
2124
  width: 100%;
2125
  }
2126
+ #sfsi_plus_floater .sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon2{
2127
+ margin: -15px 0 3px 0;
2128
+ display: inherit;
2129
+ }
2130
  .sfsi_plus_linkedin_tool_bdr .sfsi_plus_inside .icon3 {
2131
  margin: 2px 0;
2132
  display:inline-block;
images/left-icon.png ADDED
Binary file
images/mastercard.png ADDED
Binary file
images/paypal-1.png ADDED
Binary file
images/paypal-2.png ADDED
Binary file
images/visa.png ADDED
Binary file
js/custom-admin.js CHANGED
@@ -2186,4 +2186,17 @@ if(undefined == window.sfsi_plus_float_widget){
2186
  function sfsi_plus_float_widget(data=null,data2=null,data3=null){
2187
  return true;
2188
  }
2189
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
2186
  function sfsi_plus_float_widget(data=null,data2=null,data3=null){
2187
  return true;
2188
  }
2189
+ }
2190
+ function sfsi_plus_open_quick_checkout(e){
2191
+ e&&e.preventDefault();
2192
+ jQuery('.sfsi_plus_quick-pay-box').show();
2193
+ }
2194
+ function sfsi_plus_close_quickpay(e){
2195
+ e&&e.preventDefault();
2196
+ jQuery('.sfsi_plus_quickpay-overlay').hide();
2197
+ }
2198
+ function sfsi_plus_quickpay_container_click(event){
2199
+ if(jQuery(event.target).hasClass('sellcodes-quick-purchase')){
2200
+ jQuery(jQuery(event.target).find('p.sc-button img')[0]).click();
2201
+ }
2202
+ }
libs/controllers/sfsi_buttons_controller.php CHANGED
@@ -63,7 +63,7 @@ function sfsi_plus_options_updater2()
63
 
64
  $sfsi_plus_google_page = isset($_POST["sfsi_plus_google_page"]) ? $_POST["sfsi_plus_google_page"] : 'no';
65
  $sfsi_plus_google_pageURL = isset($_POST["sfsi_plus_google_pageURL"]) ? trim($_POST["sfsi_plus_google_pageURL"]) : '';
66
- // $sfsi_plus_googleLike_option = isset($_POST["sfsi_plus_googleLike_option"]) ? $_POST["sfsi_plus_googleLike_option"] : 'no';
67
  $sfsi_plus_googleShare_option = isset($_POST["sfsi_plus_googleShare_option"]) ? $_POST["sfsi_plus_googleShare_option"] : 'no';
68
 
69
  $sfsi_plus_youtube_pageUrl = isset($_POST["sfsi_plus_youtube_pageUrl"]) ? trim($_POST["sfsi_plus_youtube_pageUrl"]) : '';
@@ -1056,20 +1056,18 @@ add_action('wp_ajax_sfsiplusbannerOption','sfsi_plus_bannerOption');
1056
 
1057
  function sfsi_plus_bannerOption(){
1058
 
1059
- error_reporting(0);
1060
-
1061
  if(get_option("sfsi_plus_new_show_notification") == "yes"){
1062
 
1063
  $objThemeCheck = new sfsi_plus_ThemeCheck();
1064
-
1065
  $domainname = $objThemeCheck->sfsi_plus_getdomain(get_bloginfo('url'));
1066
 
1067
  // Get all themes data which incudes nobrainer
1068
  $themeDataArr = $objThemeCheck->sfsi_plus_get_themeData();
1069
  $matchFound = false;
1070
-
1071
  foreach ($themeDataArr as $themeDataObj):
1072
-
1073
  if(isset($themeDataObj->themeName) && strlen($themeDataObj->themeName)>0)
1074
  {
1075
  $themeName = $themeDataObj->themeName;
@@ -1077,7 +1075,6 @@ function sfsi_plus_bannerOption(){
1077
  $separateKeywords = $themeDataObj->separateKeywords;
1078
  $negativeKeywords = $themeDataObj->negativeKeywords;
1079
  $noBrainerAndSeparateKeywords = array_merge($noBrainerKeywords,$separateKeywords);
1080
-
1081
  if($objThemeCheck->sfsi_plus_check_type_of_websiteWithNoBrainerAndSeparateAndNegativeKeywords($themeName,$noBrainerKeywords,$separateKeywords,$noBrainerAndSeparateKeywords,$negativeKeywords,$domainname)==$themeName)
1082
  {
1083
  $matchFound = true;
@@ -1096,31 +1093,96 @@ function sfsi_plus_bannerOption(){
1096
  }
1097
 
1098
  endforeach;
 
 
1099
 
1100
- // if(!$matchFound){
1101
- // echo '<div class="sfsi_plus_new_notification_cat">
1102
- // <div class="sfsi_plus_new_notification_header_cat">
1103
- // <h1>New feature: Tailored icons</h1>
1104
- // <h3>The <a href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmplus_settings_page&utm_campaign=themed_icons_search&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
1105
- // <div class="sfsi_plus_new_notification_cross_cat">X</div>
1106
- // </div>
1107
- // <div class="sfsi_plus_new_notification_body_link_cat">
1108
- // <a class ="sfsi_plus_tailored_icons_img" href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmplus_settings_page&utm_campaign=themed_icons_search&utm_medium=banner" target="_blank">
1109
- // <div class="sfsi_plus_new_notification_body_cat">
1110
- // <div class="sfsi_plus_new_notification_image_cat">
1111
- // <img src="'.SFSI_PLUS_PLUGURL.'images/WPPlugin_V3.png" id="newImg" />
1112
- // </div>
1113
- // </div>
1114
- // </a>
1115
- // <div class="sfsiplus_bottom_text">
1116
- // <a target="_blank" href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmplus_settings_page&utm_campaign=themed_icons_search&utm_medium=banner">
1117
- // See more-themed-icons >
1118
- // </a>
1119
- // </div>
1120
- // </div>
1121
- // </div>';
1122
- // }
1123
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1124
  echo '<script type="text/javascript">
1125
  jQuery("body").on("click", ".sfsi_plus_new_notification_cross_cat", function(){
1126
  SFSI.ajax({
@@ -1137,6 +1199,9 @@ function sfsi_plus_bannerOption(){
1137
  });
1138
  </script>';
1139
  }
 
 
 
1140
  die;
1141
  }
1142
 
63
 
64
  $sfsi_plus_google_page = isset($_POST["sfsi_plus_google_page"]) ? $_POST["sfsi_plus_google_page"] : 'no';
65
  $sfsi_plus_google_pageURL = isset($_POST["sfsi_plus_google_pageURL"]) ? trim($_POST["sfsi_plus_google_pageURL"]) : '';
66
+ $sfsi_plus_googleLike_option = isset($_POST["sfsi_plus_googleLike_option"]) ? $_POST["sfsi_plus_googleLike_option"] : 'no';
67
  $sfsi_plus_googleShare_option = isset($_POST["sfsi_plus_googleShare_option"]) ? $_POST["sfsi_plus_googleShare_option"] : 'no';
68
 
69
  $sfsi_plus_youtube_pageUrl = isset($_POST["sfsi_plus_youtube_pageUrl"]) ? trim($_POST["sfsi_plus_youtube_pageUrl"]) : '';
1056
 
1057
  function sfsi_plus_bannerOption(){
1058
 
1059
+ error_reporting(1);
1060
+ try{
1061
  if(get_option("sfsi_plus_new_show_notification") == "yes"){
1062
 
1063
  $objThemeCheck = new sfsi_plus_ThemeCheck();
1064
+
1065
  $domainname = $objThemeCheck->sfsi_plus_getdomain(get_bloginfo('url'));
1066
 
1067
  // Get all themes data which incudes nobrainer
1068
  $themeDataArr = $objThemeCheck->sfsi_plus_get_themeData();
1069
  $matchFound = false;
 
1070
  foreach ($themeDataArr as $themeDataObj):
 
1071
  if(isset($themeDataObj->themeName) && strlen($themeDataObj->themeName)>0)
1072
  {
1073
  $themeName = $themeDataObj->themeName;
1075
  $separateKeywords = $themeDataObj->separateKeywords;
1076
  $negativeKeywords = $themeDataObj->negativeKeywords;
1077
  $noBrainerAndSeparateKeywords = array_merge($noBrainerKeywords,$separateKeywords);
 
1078
  if($objThemeCheck->sfsi_plus_check_type_of_websiteWithNoBrainerAndSeparateAndNegativeKeywords($themeName,$noBrainerKeywords,$separateKeywords,$noBrainerAndSeparateKeywords,$negativeKeywords,$domainname)==$themeName)
1079
  {
1080
  $matchFound = true;
1093
  }
1094
 
1095
  endforeach;
1096
+ if(!$matchFound){
1097
+ foreach ($themeDataArr as $themeDataObj) {
1098
 
1099
+ if(isset($themeDataObj->themeName) && strlen($themeDataObj->themeName)>0){
1100
+
1101
+ $themeName = $themeDataObj->themeName;
1102
+ $noBrainerKeywords = $themeDataObj->noBrainerKeywords;
1103
+ $separateKeywords = $themeDataObj->separateKeywords;
1104
+ $negativeKeywords = $themeDataObj->negativeKeywords;
1105
+ $noBrainerAndSeparateKeywords = array_merge($noBrainerKeywords,$separateKeywords);
1106
+
1107
+
1108
+ if($objThemeCheck->sfsi_plus_check_type_of_metaTitleWithNoBrainerAndSeparateAndNegativeKeywords($themeName,$noBrainerKeywords,$separateKeywords,$noBrainerAndSeparateKeywords,$negativeKeywords,$domainname)==$themeName)
1109
+ {
1110
+ $matchFound = true;
1111
+
1112
+ $themeName = strtolower($themeName);
1113
+
1114
+ $objThemeCheck->sfsi_plus_bannereHtml(
1115
+ $themeDataObj->headline,
1116
+ $themeDataObj->themeLink,
1117
+ SFSI_PLUGURL.'images/website_theme/'.$themeName.'.png',
1118
+ $themeDataObj->bottomtext
1119
+ );
1120
+
1121
+ break;
1122
+ }
1123
+ }
1124
+ }
1125
+ }
1126
+ if(!$matchFound){
1127
+ foreach ($themeDataArr as $themeDataObj) {
1128
+
1129
+ if(isset($themeDataObj->themeName) && strlen($themeDataObj->themeName)>0){
1130
+
1131
+ $themeName = $themeDataObj->themeName;
1132
+ $noBrainerKeywords = $themeDataObj->noBrainerKeywords;
1133
+ $separateKeywords = $themeDataObj->separateKeywords;
1134
+ $negativeKeywords = $themeDataObj->negativeKeywords;
1135
+ $noBrainerAndSeparateKeywords = array_merge($noBrainerKeywords,$separateKeywords);
1136
+
1137
+
1138
+ if($objThemeCheck->sfsi_plus_check_type_of_metaKeywordsWithNoBrainerAndSeparateAndNegativeKeywords($themeName,$noBrainerKeywords,$separateKeywords,$noBrainerAndSeparateKeywords,$negativeKeywords,$domainname)==$themeName)
1139
+ {
1140
+ $matchFound = true;
1141
+
1142
+ $themeName = strtolower($themeName);
1143
+
1144
+ $objThemeCheck->sfsi_plus_bannereHtml(
1145
+ $themeDataObj->headline,
1146
+ $themeDataObj->themeLink,
1147
+ SFSI_PLUGURL.'images/website_theme/'.$themeName.'.png',
1148
+ $themeDataObj->bottomtext
1149
+ );
1150
+
1151
+ break;
1152
+ }
1153
+ }
1154
+ }
1155
+ }
1156
+ if(!$matchFound){
1157
+ foreach ($themeDataArr as $themeDataObj) {
1158
+
1159
+ if(isset($themeDataObj->themeName) && strlen($themeDataObj->themeName)>0) {
1160
+
1161
+ $themeName = $themeDataObj->themeName;
1162
+ $noBrainerKeywords = $themeDataObj->noBrainerKeywords;
1163
+ $separateKeywords = $themeDataObj->separateKeywords;
1164
+ $negativeKeywords = $themeDataObj->negativeKeywords;
1165
+ $noBrainerAndSeparateKeywords = array_merge($noBrainerKeywords,$separateKeywords);
1166
+
1167
+
1168
+ if($objThemeCheck->sfsi_plus_check_type_of_metaDescriptionWithNoBrainerAndSeparateAndNegativeKeywords($themeName,$noBrainerKeywords,$separateKeywords,$noBrainerAndSeparateKeywords,$negativeKeywords,$domainname)==$themeName)
1169
+ {
1170
+ $matchFound = true;
1171
+
1172
+ $themeName = strtolower($themeName);
1173
+
1174
+ $objThemeCheck->sfsi_plus_bannereHtml(
1175
+ $themeDataObj->headline,
1176
+ $themeDataObj->themeLink,
1177
+ SFSI_PLUGURL.'images/website_theme/'.$themeName.'.png',
1178
+ $themeDataObj->bottomtext
1179
+ );
1180
+
1181
+ break;
1182
+ }
1183
+ }
1184
+ }
1185
+ }
1186
  echo '<script type="text/javascript">
1187
  jQuery("body").on("click", ".sfsi_plus_new_notification_cross_cat", function(){
1188
  SFSI.ajax({
1199
  });
1200
  </script>';
1201
  }
1202
+ }catch(Exception $e){
1203
+ var_dump($e);die();
1204
+ }
1205
  die;
1206
  }
1207
 
libs/controllers/sfsi_class_theme_check.php CHANGED
@@ -2,6 +2,7 @@
2
 
3
  class sfsi_plus_ThemeCheck
4
  {
 
5
  public function sfsi_plus_string_to_arr($str){
6
 
7
  $arrSingleQuote = array();
@@ -283,7 +284,115 @@ class sfsi_plus_ThemeCheck
283
 
284
  return $boolSeparateWord;
285
  }
286
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
287
 
288
  public function sfsi_plus_noBrainerKeywordCheck($arrNoBrainerKeywords,$domainname){
289
 
@@ -314,7 +423,7 @@ class sfsi_plus_ThemeCheck
314
  $explode = explode(".", $domainname);
315
  $domainname = @$explode[0];
316
  }
317
- }
318
 
319
  if($this->sfsi_plus_noBrainerKeywordCheck($arrNoBrainerKeywords, $domainname)){
320
  $flag = true;
@@ -322,11 +431,87 @@ class sfsi_plus_ThemeCheck
322
  else if($this->sfsi_plus_SeparateKeywordCheck($arrSeparateKeywords,$domainname)){
323
  $flag = true;
324
  }
325
- }
326
  }
327
  return ($flag)? $strCheckForThemeType:$flag;
328
  }
329
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
330
  public function sfsi_plus_bannereHtml($title, $siteLink, $bannerImage, $buttonTitle)
331
  {
332
  echo '<div class="sfsi_plus_new_notification_cat">
2
 
3
  class sfsi_plus_ThemeCheck
4
  {
5
+ public $metaArray = null;
6
  public function sfsi_plus_string_to_arr($str){
7
 
8
  $arrSingleQuote = array();
284
 
285
  return $boolSeparateWord;
286
  }
287
+
288
+ public function sfsi_plus_MetaKeywordCheck($arrSeparateKeywords,$domainname){
289
+ $keywordInMeta = false;
290
+ $metaArray = $this->sfsi_plus_GetMetaName($domainname);
291
+ foreach($metaArray as $index=>$meta){
292
+ if($this->sfsi_plus_noBrainerKeywordCheck($arrNoBrainerKeywords, $domainname)){
293
+ $flag = true;
294
+ }
295
+ else if($this->sfsi_plus_SeparateKeywordCheck($arrSeparateKeywords,$domainname)){
296
+ $flag = true;
297
+ }
298
+ }
299
+ return $keywordInMeta;
300
+ }
301
+
302
+ public function sfsi_plus_GetMetaKeywords($domainname){
303
+ $url = get_bloginfo('url');
304
+ $res= wp_remote_get($url);
305
+ $meta_local = ["title"=>[],"description"=>[],"keyword"=>[]];
306
+ if ( is_array( $res ) && ! is_wp_error( $res ) ) {
307
+ $body = $res['body']; // use the content
308
+ $meta = [];
309
+ if(false==class_exists("DomDocument")) {
310
+ $metas=[];
311
+ preg_match_all( '/\<meta.+name="(\w*)".+content="(.*)"/i', $body, $metas);
312
+ preg_match_all( '/\<meta.+property="og:(\w*)".+content="(.*)"/i', $body, $metas2);
313
+ // $metas[1]=array_merge($metas[1],$metas2[1]);
314
+ // $metas[2]=array_merge($metas[2],$metas2[2]);
315
+ if(isset($metas)&&is_array($metas)&&isset($metas[1])&&isset($metas[2])){
316
+ foreach($metas[1] as $index=>$meta_name){
317
+ if($meta_name==="keywords" && isset($metas[2][$index])) {
318
+ $meta['keywords']=$metas[2][$index];
319
+ }
320
+ if($meta_name === "description" && isset($metas[2][$index])){
321
+ $meta['description']=$metas[2][$index];
322
+ }
323
+ }
324
+ }
325
+ if(isset($metas2)&&is_array($metas2)&&isset($metas2[1])&&isset($metas2[2])){
326
+ foreach($metas2[1] as $index=>$meta_name){
327
+ // var_dump($meta_name,$meta_name === "description" ,$metas2[2][$index]);
328
+ if($meta_name==="keywords" && isset($metas2[2][$index])) {
329
+ $meta[$meta_name]=$metas2[2][$index];
330
+ }
331
+ if($meta_name === "description" && isset($metas2[2][$index])&&!isset($meta[$meta_name])){
332
+ $meta[$meta_name]=$metas2[2][$index];
333
+ }
334
+ }
335
+ }
336
+ // var_dump($meta);die();
337
+ if(isset($meta['keywords'])){
338
+ $meta_local["keyword"]=array_filter(explode(',',$meta['keywords']),function($data){
339
+ return $data!=="";
340
+ });
341
+ }
342
+ if(isset($meta['description'])){
343
+ $meta['description']=preg_replace("/[^A-Za-z ]/", '', strtolower($meta['description']));
344
+ $meta_local["description"]=array_filter(explode( '\s+',$meta['description']),function($data){
345
+ return $data!=="";
346
+ });
347
+ }
348
+ $preg_res=preg_match("/<title>(.+)<\/title>/i", $body, $matches);
349
+ if($preg_res){
350
+ $meta['title']=preg_replace("/[^A-Za-z ]/", '', strtolower($matches[1]));
351
+ $meta_local["title"]=array_filter(explode('\s+',$meta['title']),function($data){
352
+ return $data!=="";
353
+ });
354
+ }
355
+
356
+ }else{
357
+ $doc = new \DOMDocument();
358
+ @$doc->loadHTML($body);
359
+ $nodes = $doc->getElementsByTagName('meta');
360
+ foreach($nodes as $index=>$node){
361
+ if(null!==$node->getAttribute('name')) {
362
+ $meta[$node->getAttribute('name')]=$node->getAttribute('content');
363
+ }elseif(null!==$node->getAttribute('property')){
364
+ $meta[$node->getAttribute('property')]=$node->getAttribute('content');
365
+ }
366
+ }
367
+ $meta['title'] = (null!==$doc->getElementsByTagName('title'))&&count($doc->getElementsByTagName('title'))>0?$doc->getElementsByTagName('title')->item(0)->nodeValue:'';
368
+ if(isset($meta['keywords'])) {
369
+ $meta_local["keyword"]=array_filter(explode(',',$meta['keywords']),function($data){
370
+ return $data!=="";
371
+ });
372
+ }
373
+ if(isset($meta['description'])){
374
+ $meta['description']=preg_replace("/[^A-Za-z ]/", '', strtolower($meta['description']));
375
+ $meta_local["description"]=array_filter(explode( '\s+',$meta['description']),function($data){
376
+ return $data!=="";
377
+ });
378
+ }
379
+ if(count($meta_local["description"])==0 && isset($meta['og:description'])){
380
+ $meta['description']=preg_replace("/[^A-Za-z ]/", '', strtolower($meta['og:description']));
381
+ $meta_local["description"]=array_filter(explode( '\s+',$meta['description']),function($data){
382
+ return $data!=="";
383
+ });
384
+ }
385
+ if(isset($meta['title'])){
386
+ $meta['title']=preg_replace("/[^A-Za-z ]/", '', strtolower($meta['title']));
387
+ // var_dump($meta['title']);die();
388
+ $meta_local["title"]= array_filter(explode('\s+',$meta['title']),function($data){
389
+ return $data!=="";
390
+ });
391
+ }
392
+ }
393
+ }
394
+ return $meta_local;
395
+ }
396
 
397
  public function sfsi_plus_noBrainerKeywordCheck($arrNoBrainerKeywords,$domainname){
398
 
423
  $explode = explode(".", $domainname);
424
  $domainname = @$explode[0];
425
  }
426
+ }
427
 
428
  if($this->sfsi_plus_noBrainerKeywordCheck($arrNoBrainerKeywords, $domainname)){
429
  $flag = true;
431
  else if($this->sfsi_plus_SeparateKeywordCheck($arrSeparateKeywords,$domainname)){
432
  $flag = true;
433
  }
434
+ }
435
  }
436
  return ($flag)? $strCheckForThemeType:$flag;
437
  }
438
 
439
+ public function sfsi_plus_check_type_of_metaTitleWithNoBrainerAndSeparateAndNegativeKeywords($strCheckForThemeType,$arrNoBrainerKeywords,$arrSeparateKeywords,$arrNoBrainerAndSeparateKeywords,$arrNegativeKeywords,$domainname){
440
+ $flag = false;
441
+
442
+ if(isset($arrNoBrainerAndSeparateKeywords) && is_array($arrNoBrainerAndSeparateKeywords) && count($arrNoBrainerAndSeparateKeywords)>0){
443
+
444
+ if(null==$this->metaArray){
445
+ $this->metaArray = $this->sfsi_plus_GetMetaKeywords($domainname);
446
+ }
447
+ foreach($this->metaArray["title"] as $index=>$keyword){
448
+ if(!empty($keyword))
449
+ {
450
+ if(isset($arrNegativeKeywords) && is_array($arrNegativeKeywords) && count($arrNegativeKeywords)){
451
+ $keyword = preg_replace($this->sfsi_plus_regex_forNegative_keywords($arrNegativeKeywords), '', $keyword);
452
+ }
453
+ }
454
+ if($this->sfsi_plus_noBrainerKeywordCheck($arrNoBrainerKeywords, $keyword)){
455
+ $flag = true;
456
+ }
457
+ else if($this->sfsi_plus_SeparateKeywordCheck($arrSeparateKeywords,$keyword)){
458
+ $flag = true;
459
+ }
460
+ }
461
+ }
462
+ return ($flag)? $strCheckForThemeType:$flag;
463
+ }
464
+ public function sfsi_plus_check_type_of_metaKeywordsWithNoBrainerAndSeparateAndNegativeKeywords($strCheckForThemeType,$arrNoBrainerKeywords,$arrSeparateKeywords,$arrNoBrainerAndSeparateKeywords,$arrNegativeKeywords,$domainname){
465
+ $flag = false;
466
+
467
+ if(isset($arrNoBrainerAndSeparateKeywords) && is_array($arrNoBrainerAndSeparateKeywords) && count($arrNoBrainerAndSeparateKeywords)>0){
468
+
469
+ if(null==$this->metaArray){
470
+ $this->metaArray = $this->sfsi_plus_GetMetaKeywords($domainname);
471
+ }
472
+ foreach($this->metaArray["keyword"] as $index=>$keyword){
473
+ if(!empty($keyword))
474
+ {
475
+ if(isset($arrNegativeKeywords) && is_array($arrNegativeKeywords) && count($arrNegativeKeywords)){
476
+ $keyword = preg_replace($this->sfsi_plus_regex_forNegative_keywords($arrNegativeKeywords), '', $keyword);
477
+ }
478
+ }
479
+ if($this->sfsi_plus_noBrainerKeywordCheck($arrNoBrainerKeywords, $keyword)){
480
+ $flag = true;
481
+ }
482
+ else if($this->sfsi_plus_SeparateKeywordCheck($arrSeparateKeywords,$keyword)){
483
+ $flag = true;
484
+ }
485
+ }
486
+ }
487
+ return ($flag)? $strCheckForThemeType:$flag;
488
+ }
489
+ public function sfsi_plus_check_type_of_metaDescriptionWithNoBrainerAndSeparateAndNegativeKeywords($strCheckForThemeType,$arrNoBrainerKeywords,$arrSeparateKeywords,$arrNoBrainerAndSeparateKeywords,$arrNegativeKeywords,$domainname){
490
+ $flag = false;
491
+
492
+ if(isset($arrNoBrainerAndSeparateKeywords) && is_array($arrNoBrainerAndSeparateKeywords) && count($arrNoBrainerAndSeparateKeywords)>0){
493
+
494
+ if(null==$this->metaArray){
495
+ $this->metaArray = $this->sfsi_plus_GetMetaKeywords($domainname);
496
+ }
497
+ foreach($this->metaArray["description"] as $index=>$keyword){
498
+ if(!empty($keyword))
499
+ {
500
+ if(isset($arrNegativeKeywords) && is_array($arrNegativeKeywords) && count($arrNegativeKeywords)){
501
+ $keyword = preg_replace($this->sfsi_plus_regex_forNegative_keywords($arrNegativeKeywords), '', $keyword);
502
+ }
503
+ }
504
+ if($this->sfsi_plus_noBrainerKeywordCheck($arrNoBrainerKeywords, $keyword)){
505
+ $flag = true;
506
+ }
507
+ else if($this->sfsi_plus_SeparateKeywordCheck($arrSeparateKeywords,$keyword)){
508
+ $flag = true;
509
+ }
510
+ }
511
+ }
512
+ return ($flag)? $strCheckForThemeType:$flag;
513
+ }
514
+
515
  public function sfsi_plus_bannereHtml($title, $siteLink, $bannerImage, $buttonTitle)
516
  {
517
  echo '<div class="sfsi_plus_new_notification_cat">
libs/controllers/sfsi_socialhelper.php CHANGED
@@ -88,13 +88,13 @@ class sfsi_plus_SocialHelper
88
  if($this->sfsi_get_http_response_code("https://www.googleapis.com/plus/v1/people/$page_id?key=$google_api_key")!="404")
89
  {
90
  $data = $this->file_get_contents_curl("https://www.googleapis.com/plus/v1/people/$page_id?key=$google_api_key");
 
91
  $data = json_decode($data, true);
92
-
93
  if(isset($data['circledByCount'])){
94
  return $this->format_num($data['circledByCount']);
95
- }else{
96
- return 0;
97
- }
98
  }
99
  else
100
  {
@@ -440,9 +440,9 @@ class sfsi_plus_SocialHelper
440
  $sfsi_plus_instagram_sf_count = unserialize(get_option('sfsi_plus_instagram_sf_count',false));
441
 
442
  /*if date is empty (for decrease request count)*/
443
- if(empty($sfsi_plus_instagram_sf_count["date"]))
444
  {
445
- $sfsi_plus_instagram_sf_count["date"] = strtotime(date("Y-m-d"));
446
  $counts = $this->sfsi_plus_get_instagramFollowersCount($user_name);
447
  $sfsi_plus_instagram_sf_count["sfsi_plus_instagram_count"] = $counts;
448
  update_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
@@ -454,7 +454,7 @@ class sfsi_plus_SocialHelper
454
  {
455
  $diff = date_diff(
456
  date_create(
457
- date("Y-m-d", $sfsi_plus_instagram_sf_count["date"])
458
  ),
459
  date_create(
460
  date("Y-m-d")
@@ -463,7 +463,7 @@ class sfsi_plus_SocialHelper
463
 
464
  if((isset($diff) && $diff->format("%a") < 1) || 1 == 1)
465
  {
466
- $sfsi_plus_instagram_sf_count["date"] = strtotime(date("Y-m-d"));
467
  $counts = $this->sfsi_plus_get_instagramFollowersCount($user_name);
468
  $sfsi_plus_instagram_sf_count["sfsi_plus_instagram_count"] = $counts;
469
  update_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
@@ -520,11 +520,13 @@ class sfsi_plus_SocialHelper
520
  public function SFSI_getFeedSubscriber($feedid)
521
  {
522
  $sfsi_plus_instagram_sf_count = unserialize(get_option('sfsi_plus_instagram_sf_count',false));
523
-
524
  /*if date is empty (for decrease request count)*/
525
- if(empty($sfsi_plus_instagram_sf_count["date"]))
 
 
526
  {
527
- $sfsi_plus_instagram_sf_count["date"] = strtotime(date("Y-m-d"));
528
  $counts = $this->sfsi_plus_getFeedSubscriberCount($feedid);
529
  $sfsi_plus_instagram_sf_count["sfsi_plus_sf_count"] = $counts;
530
  update_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
@@ -536,16 +538,16 @@ class sfsi_plus_SocialHelper
536
  {
537
  $diff = date_diff(
538
  date_create(
539
- date("Y-m-d", $sfsi_plus_instagram_sf_count["date"])
540
  ),
541
  date_create(
542
  date("Y-m-d")
543
  ));
544
  }
545
-
546
- if((isset($diff) && $diff->format("%a") >= 1))
547
  {
548
- $sfsi_plus_instagram_sf_count["date"] = strtotime(date("Y-m-d"));
549
  $counts = $this->sfsi_plus_getFeedSubscriberCount($feedid);
550
  $sfsi_plus_instagram_sf_count["sfsi_plus_sf_count"] = $counts;
551
  update_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
@@ -554,6 +556,7 @@ class sfsi_plus_SocialHelper
554
  {
555
  $counts = $sfsi_plus_instagram_sf_count["sfsi_plus_sf_count"];
556
  }
 
557
  }
558
 
559
  if(empty($counts) || $counts == "O")
88
  if($this->sfsi_get_http_response_code("https://www.googleapis.com/plus/v1/people/$page_id?key=$google_api_key")!="404")
89
  {
90
  $data = $this->file_get_contents_curl("https://www.googleapis.com/plus/v1/people/$page_id?key=$google_api_key");
91
+ // var_dump($data);die();
92
  $data = json_decode($data, true);
 
93
  if(isset($data['circledByCount'])){
94
  return $this->format_num($data['circledByCount']);
95
+ }else{
96
+ return 0;
97
+ }
98
  }
99
  else
100
  {
440
  $sfsi_plus_instagram_sf_count = unserialize(get_option('sfsi_plus_instagram_sf_count',false));
441
 
442
  /*if date is empty (for decrease request count)*/
443
+ if(empty($sfsi_plus_instagram_sf_count["date_instagram"]))
444
  {
445
+ $sfsi_plus_instagram_sf_count["date_instagram"] = strtotime(date("Y-m-d"));
446
  $counts = $this->sfsi_plus_get_instagramFollowersCount($user_name);
447
  $sfsi_plus_instagram_sf_count["sfsi_plus_instagram_count"] = $counts;
448
  update_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
454
  {
455
  $diff = date_diff(
456
  date_create(
457
+ date("Y-m-d", $sfsi_plus_instagram_sf_count["date_instagram"])
458
  ),
459
  date_create(
460
  date("Y-m-d")
463
 
464
  if((isset($diff) && $diff->format("%a") < 1) || 1 == 1)
465
  {
466
+ $sfsi_plus_instagram_sf_count["date_instagram"] = strtotime(date("Y-m-d"));
467
  $counts = $this->sfsi_plus_get_instagramFollowersCount($user_name);
468
  $sfsi_plus_instagram_sf_count["sfsi_plus_instagram_count"] = $counts;
469
  update_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
520
  public function SFSI_getFeedSubscriber($feedid)
521
  {
522
  $sfsi_plus_instagram_sf_count = unserialize(get_option('sfsi_plus_instagram_sf_count',false));
523
+
524
  /*if date is empty (for decrease request count)*/
525
+
526
+
527
+ if(empty($sfsi_plus_instagram_sf_count["date_sf"]))
528
  {
529
+ $sfsi_plus_instagram_sf_count["date_sf"] = strtotime(date("Y-m-d"));
530
  $counts = $this->sfsi_plus_getFeedSubscriberCount($feedid);
531
  $sfsi_plus_instagram_sf_count["sfsi_plus_sf_count"] = $counts;
532
  update_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
538
  {
539
  $diff = date_diff(
540
  date_create(
541
+ date("Y-m-d", $sfsi_plus_instagram_sf_count["date_sf"])
542
  ),
543
  date_create(
544
  date("Y-m-d")
545
  ));
546
  }
547
+ // var_dump($sfsi_plus_instagram_sf_count,isset($diff),$sfsi_plus_instagram_sf_count["date_sf"],date("Y-m-d", $sfsi_plus_instagram_sf_count["date_sf"]),date('Y-m-d'),$diff , $diff->format("%a"));die();
548
+ if((isset($diff) && $diff->format("%a") >= 1)||$sfsi_plus_instagram_sf_count["sfsi_plus_sf_count"]=="")
549
  {
550
+ $sfsi_plus_instagram_sf_count["date_sf"] = strtotime(date("Y-m-d"));
551
  $counts = $this->sfsi_plus_getFeedSubscriberCount($feedid);
552
  $sfsi_plus_instagram_sf_count["sfsi_plus_sf_count"] = $counts;
553
  update_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
556
  {
557
  $counts = $sfsi_plus_instagram_sf_count["sfsi_plus_sf_count"];
558
  }
559
+
560
  }
561
 
562
  if(empty($counts) || $counts == "O")
libs/sfsi_Init_JqueryCss.php CHANGED
@@ -64,9 +64,9 @@ function sfsiplus_plugin_back_enqueue_script()
64
 
65
  /* initilaize the ajax url in javascript */
66
  wp_localize_script( 'SFSIPLUSCustomJs', 'sfsi_plus_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) );
67
- wp_localize_script( 'SFSIPLUSCustomValidateJs', 'sfsi_plus_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ),'plugin_url'=> SFSI_PLUS_PLUGURL,'rest_url'=>get_rest_url()) );
68
- wp_localize_script( 'SFSIPLUSCustomJs', 'sfsi_plus_links', array( 'admin_url' => admin_url('/'),'plugin_dir_url'=> SFSI_PLUS_PLUGURL,'rest_url'=>get_rest_url(),'pretty_perma'=>(get_option('permalink_structure')==""?'no':'yes')) );
69
- wp_localize_script( 'SFSIPLUSCustomValidateJs', 'sfsi_plus_links', array( 'admin_url' => admin_url('/'),'plugin_dir_url'=> SFSI_PLUS_PLUGURL,'rest_url'=>get_rest_url(),'pretty_perma'=>(get_option('permalink_structure')==""?'no':'yes')) );
70
  }
71
  }
72
  }
@@ -99,8 +99,8 @@ function sfsiplus_plugin_front_enqueue_script()
99
  /* end cusotm js */
100
 
101
  /* initilaize the ajax url in javascript */
102
- wp_localize_script( 'SFSIPLUSCustomJs', 'sfsi_plus_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ),'plugin_url'=> SFSI_PLUS_PLUGURL,'rest_url'=>get_rest_url()) );
103
- wp_localize_script( 'SFSIPLUSCustomJs', 'sfsi_plus_links', array( 'admin_url' => admin_url('/'),'plugin_dir_url'=> SFSI_PLUS_PLUGURL,'rest_url'=>get_rest_url(),'pretty_perma'=>(get_option('permalink_structure')==""?'no':'yes')) );
104
  }
105
  add_action( 'wp_enqueue_scripts', 'sfsiplus_plugin_front_enqueue_script' );
106
  ?>
64
 
65
  /* initilaize the ajax url in javascript */
66
  wp_localize_script( 'SFSIPLUSCustomJs', 'sfsi_plus_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) );
67
+ wp_localize_script( 'SFSIPLUSCustomValidateJs', 'sfsi_plus_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ),'plugin_url'=> SFSI_PLUS_PLUGURL,'rest_url'=>( false || ( function_exists('apc_fetch') )?get_rest_url():'')) );
68
+ wp_localize_script( 'SFSIPLUSCustomJs', 'sfsi_plus_links', array( 'admin_url' => admin_url('/'),'plugin_dir_url'=> SFSI_PLUS_PLUGURL,'rest_url'=>(function_exists('get_rest_url')?get_rest_url():''),'pretty_perma'=>(get_option('permalink_structure')==""?'no':'yes')) );
69
+ wp_localize_script( 'SFSIPLUSCustomValidateJs', 'sfsi_plus_links', array( 'admin_url' => admin_url('/'),'plugin_dir_url'=> SFSI_PLUS_PLUGURL,'rest_url'=>(function_exists('get_rest_url')?get_rest_url():''),'pretty_perma'=>(get_option('permalink_structure')==""?'no':'yes')) );
70
  }
71
  }
72
  }
99
  /* end cusotm js */
100
 
101
  /* initilaize the ajax url in javascript */
102
+ wp_localize_script( 'SFSIPLUSCustomJs', 'sfsi_plus_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ),'plugin_url'=> SFSI_PLUS_PLUGURL,'rest_url'=>(function_exists('get_rest_url')?get_rest_url():'')) );
103
+ wp_localize_script( 'SFSIPLUSCustomJs', 'sfsi_plus_links', array( 'admin_url' => admin_url('/'),'plugin_dir_url'=> SFSI_PLUS_PLUGURL,'rest_url'=>(function_exists('get_rest_url')?get_rest_url():''),'pretty_perma'=>(get_option('permalink_structure')==""?'no':'yes')) );
104
  }
105
  add_action( 'wp_enqueue_scripts', 'sfsiplus_plugin_front_enqueue_script' );
106
  ?>
libs/sfsi_gutenberg_block.php CHANGED
@@ -28,7 +28,7 @@ function sfsi_plus_share_block_editor_assets() {
28
  '1'
29
  // filemtime( plugin_dir_path( 'js/block.js', __FILE__ ) )
30
  );
31
- wp_localize_script( 'sfsi-plus-share-block', 'sfsi_plus_links', array( 'admin_url' => admin_url('/'),'plugin_dir_url'=> SFSI_PLUS_PLUGURL,'rest_url'=>get_rest_url(),'pretty_perma'=>(get_option('permalink_structure')==""?'no':'yes')) );
32
  wp_enqueue_style(
33
  'sfsi-plus-share-block-editor', // Handle.
34
  plugins_url( 'dist/blocks.editor.build.css', dirname( __FILE__ ) ), // Block editor CSS.
28
  '1'
29
  // filemtime( plugin_dir_path( 'js/block.js', __FILE__ ) )
30
  );
31
+ wp_localize_script( 'sfsi-plus-share-block', 'sfsi_plus_links', array( 'admin_url' => admin_url('/'),'plugin_dir_url'=> SFSI_PLUS_PLUGURL,'rest_url'=>(function_exists('get_rest_url')?get_rest_url():''),'pretty_perma'=>(get_option('permalink_structure')==""?'no':'yes')) );
32
  wp_enqueue_style(
33
  'sfsi-plus-share-block-editor', // Handle.
34
  plugins_url( 'dist/blocks.editor.build.css', dirname( __FILE__ ) ), // Block editor CSS.
libs/sfsi_install_uninstall.php CHANGED
@@ -12,7 +12,7 @@ function sfsi_plus_update_plugin()
12
  }
13
 
14
  //Install version
15
- update_option("sfsi_plus_pluginVersion", "3.04");
16
 
17
  if(!get_option('sfsi_plus_serverphpVersionnotification'))
18
  {
@@ -78,13 +78,23 @@ function sfsi_plus_update_plugin()
78
  );
79
  add_option('sfsi_plus_section9_options', serialize($options9));
80
 
 
81
  /*Extra important options*/
82
- $sfsi_plus_instagram_sf_count = array(
83
- "date" => strtotime(date("Y-m-d")),
84
- "sfsi_plus_sf_count" => "",
85
- "sfsi_plus_instagram_count" => ""
86
- );
87
- add_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
 
 
 
 
 
 
 
 
 
88
 
89
  /*Float Icon setting*/
90
  $option8 = unserialize(get_option('sfsi_plus_section8_options',false));
@@ -248,12 +258,12 @@ function sfsi_plus_activate_plugin()
248
  'sfsi_plus_email_display'=>'yes',
249
  'sfsi_plus_facebook_display'=>'yes',
250
  'sfsi_plus_twitter_display'=>'yes',
251
- 'sfsi_plus_google_display'=>'yes',
252
  'sfsi_plus_pinterest_display'=>'no',
253
  'sfsi_plus_instagram_display'=>'no',
254
  'sfsi_plus_linkedin_display'=>'no',
255
  'sfsi_plus_youtube_display'=>'no',
256
  'sfsi_plus_houzz_display'=>'no',
 
257
  'sfsi_custom_display'=>'',
258
  'sfsi_custom_files'=>'',
259
  'sfsi_plus_premium_icons_box' =>'yes',
@@ -287,7 +297,7 @@ function sfsi_plus_activate_plugin()
287
  'sfsi_plus_twitter_aboutPageText'=>'Hey, check out this cool site I found: www.yourname.com #Topic via@my_twitter_name',
288
  'sfsi_plus_google_page'=>'no',
289
  'sfsi_plus_google_pageURL'=>'',
290
- /*'sfsi_plus_googleLike_option'=>'yes',*/
291
  'sfsi_plus_googleShare_option'=>'yes',
292
  'sfsi_plus_youtube_pageUrl'=>'',
293
  'sfsi_plus_youtube_page'=>'no',
@@ -400,13 +410,13 @@ function sfsi_plus_activate_plugin()
400
  'sfsi_plus_rssIcon_order'=>'1',
401
  'sfsi_plus_emailIcon_order'=>'2',
402
  'sfsi_plus_facebookIcon_order'=>'3',
403
- 'sfsi_plus_googleIcon_order'=>'4',
404
- 'sfsi_plus_twitterIcon_order'=>'5',
405
- 'sfsi_plus_youtubeIcon_order'=>'7',
406
- 'sfsi_plus_pinterestIcon_order'=>'8',
407
- 'sfsi_plus_linkedinIcon_order'=>'9',
408
- 'sfsi_plus_instagramIcon_order'=>'10',
409
- 'sfsi_plus_houzzIcon_order'=>'11',
410
  'sfsi_plus_CustomIcons_order'=>'',
411
  'sfsi_plus_rss_MouseOverText'=>'RSS',
412
  'sfsi_plus_email_MouseOverText'=>'Follow by Email',
@@ -499,7 +509,7 @@ function sfsi_plus_activate_plugin()
499
  'sfsi_plus_display_after_blogposts'=>'no',
500
  'sfsi_plus_rectsub'=>'yes',
501
  'sfsi_plus_rectfb'=>'yes',
502
- 'sfsi_plus_rectgp'=>'yes',
503
  'sfsi_plus_recttwtr'=>'yes',
504
  'sfsi_plus_rectpinit'=>'yes',
505
  'sfsi_plus_rectfbshare'=>'yes',
@@ -532,7 +542,8 @@ function sfsi_plus_activate_plugin()
532
 
533
  /*Extra important options*/
534
  $sfsi_plus_instagram_sf_count = array(
535
- "date" => strtotime(date("Y-m-d")),
 
536
  "sfsi_plus_sf_count" => "",
537
  "sfsi_plus_instagram_count" => ""
538
  );
12
  }
13
 
14
  //Install version
15
+ update_option("sfsi_plus_pluginVersion", "3.05");
16
 
17
  if(!get_option('sfsi_plus_serverphpVersionnotification'))
18
  {
78
  );
79
  add_option('sfsi_plus_section9_options', serialize($options9));
80
 
81
+ $sfsi_plus_instagram_sf_count = unserialize(get_option('sfsi_plus_instagram_sf_count',false));
82
  /*Extra important options*/
83
+ if($sfsi_plus_instagram_sf_count === false){
84
+ $sfsi_plus_instagram_sf_count = array(
85
+ "date_sf" => strtotime(date("Y-m-d")),
86
+ "date_instagram" => strtotime(date("Y-m-d")),
87
+ "sfsi_plus_sf_count" => "",
88
+ "sfsi_plus_instagram_count" => ""
89
+ );
90
+ add_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
91
+ }else{
92
+ if(isset($sfsi_plus_instagram_sf_count["date"])) {
93
+ $sfsi_plus_instagram_sf_count["date_sf"] = $sfsi_plus_instagram_sf_count["date"];
94
+ $sfsi_plus_instagram_sf_count["date_instagram"] = $sfsi_plus_instagram_sf_count["date"];
95
+ update_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
96
+ }
97
+ }
98
 
99
  /*Float Icon setting*/
100
  $option8 = unserialize(get_option('sfsi_plus_section8_options',false));
258
  'sfsi_plus_email_display'=>'yes',
259
  'sfsi_plus_facebook_display'=>'yes',
260
  'sfsi_plus_twitter_display'=>'yes',
 
261
  'sfsi_plus_pinterest_display'=>'no',
262
  'sfsi_plus_instagram_display'=>'no',
263
  'sfsi_plus_linkedin_display'=>'no',
264
  'sfsi_plus_youtube_display'=>'no',
265
  'sfsi_plus_houzz_display'=>'no',
266
+ 'sfsi_plus_google_display'=>'no',
267
  'sfsi_custom_display'=>'',
268
  'sfsi_custom_files'=>'',
269
  'sfsi_plus_premium_icons_box' =>'yes',
297
  'sfsi_plus_twitter_aboutPageText'=>'Hey, check out this cool site I found: www.yourname.com #Topic via@my_twitter_name',
298
  'sfsi_plus_google_page'=>'no',
299
  'sfsi_plus_google_pageURL'=>'',
300
+ 'sfsi_plus_googleLike_option'=>'no',
301
  'sfsi_plus_googleShare_option'=>'yes',
302
  'sfsi_plus_youtube_pageUrl'=>'',
303
  'sfsi_plus_youtube_page'=>'no',
410
  'sfsi_plus_rssIcon_order'=>'1',
411
  'sfsi_plus_emailIcon_order'=>'2',
412
  'sfsi_plus_facebookIcon_order'=>'3',
413
+ 'sfsi_plus_twitterIcon_order'=>'4',
414
+ 'sfsi_plus_youtubeIcon_order'=>'5',
415
+ 'sfsi_plus_pinterestIcon_order'=>'7',
416
+ 'sfsi_plus_linkedinIcon_order'=>'8',
417
+ 'sfsi_plus_instagramIcon_order'=>'9',
418
+ 'sfsi_plus_houzzIcon_order'=>'10',
419
+ 'sfsi_plus_googleIcon_order'=>'11',
420
  'sfsi_plus_CustomIcons_order'=>'',
421
  'sfsi_plus_rss_MouseOverText'=>'RSS',
422
  'sfsi_plus_email_MouseOverText'=>'Follow by Email',
509
  'sfsi_plus_display_after_blogposts'=>'no',
510
  'sfsi_plus_rectsub'=>'yes',
511
  'sfsi_plus_rectfb'=>'yes',
512
+ 'sfsi_plus_rectgp'=>'no',
513
  'sfsi_plus_recttwtr'=>'yes',
514
  'sfsi_plus_rectpinit'=>'yes',
515
  'sfsi_plus_rectfbshare'=>'yes',
542
 
543
  /*Extra important options*/
544
  $sfsi_plus_instagram_sf_count = array(
545
+ "date_sf" => strtotime(date("Y-m-d")),
546
+ "date_instagram" => strtotime(date("Y-m-d")),
547
  "sfsi_plus_sf_count" => "",
548
  "sfsi_plus_instagram_count" => ""
549
  );
libs/sfsi_plus_subscribe_widget.php CHANGED
@@ -21,8 +21,12 @@ function sfsi_plus_addStyleFunction()
21
  if ((email != "Enter your email") && (filter.test(email))) {
22
  if (feedtype == "8") {
23
  var url = "<?php echo $url; ?>"+feed_id+"/"+feedtype;
24
- window.open(url, "popupwindow", "scrollbars=yes,width=1080,height=760");
 
 
25
  return true;
 
 
26
  }
27
  } else {
28
  alert("Please enter email address");
@@ -232,7 +236,7 @@ function sfsi_plus_get_subscriberForm()
232
  $return = '';
233
  $url = $url.$sfsi_plus_feediid.'/8/';
234
  $return .= '<div class="sfsi_plus_subscribe_Popinner">
235
- <form method="post" onsubmit="return sfsi_plus_processfurther(this);" target="popupwindow" action="'.$url.'">
236
  <h5>'.__(trim($option9['sfsi_plus_form_heading_text']),SFSI_PLUS_DOMAIN).'</h5>
237
  <div class="sfsi_plus_subscription_form_field">
238
  <input type="email" name="data[Widget][email]" value="" placeholder="'.trim($option9['sfsi_plus_form_field_text']).'"/>
21
  if ((email != "Enter your email") && (filter.test(email))) {
22
  if (feedtype == "8") {
23
  var url = "<?php echo $url; ?>"+feed_id+"/"+feedtype;
24
+ window.open('', "popupwindow", "scrollbars=yes,width=1080,height=760");
25
+ ref.target="popupwindow";
26
+ ref.action=url;
27
  return true;
28
+ }else{
29
+ return false;
30
  }
31
  } else {
32
  alert("Please enter email address");
236
  $return = '';
237
  $url = $url.$sfsi_plus_feediid.'/8/';
238
  $return .= '<div class="sfsi_plus_subscribe_Popinner">
239
+ <form method="post" onsubmit="return sfsi_plus_processfurther(this);" action="#">
240
  <h5>'.__(trim($option9['sfsi_plus_form_heading_text']),SFSI_PLUS_DOMAIN).'</h5>
241
  <div class="sfsi_plus_subscription_form_field">
242
  <input type="email" name="data[Widget][email]" value="" placeholder="'.trim($option9['sfsi_plus_form_field_text']).'"/>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: socialsharepro
3
  Tags: Share, sharing, share buttons, share button, share social media, share icons, social buttons, sharing buttons, sharing icons, social media icons, social share, social sharing
4
  Requires at least: 3.0
5
  Tested up to: 5.1
6
- Stable tag: 3.0.4
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -444,9 +444,17 @@ The premium plugin offrs many more social buttons from other social media platfo
444
 
445
 
446
  == Changelog ==
 
 
 
 
 
447
  = 3.0.4 =
448
- * Updated: Security patch.
 
 
449
  * Update: solved Undefined constant notice resolved.
 
450
  * Update: ROUND SHORTCODE sharing error solved.
451
  * Update: curl errors in backend solved.
452
  * Update: ajax_object conflict solved and updated sfsi_plus_ajax.
@@ -815,5 +823,5 @@ The premium plugin offrs many more social buttons from other social media platfo
815
 
816
  == Upgrade Notice ==
817
 
818
- = 3.0.4 =
819
  * Please update
3
  Tags: Share, sharing, share buttons, share button, share social media, share icons, social buttons, sharing buttons, sharing icons, social media icons, social share, social sharing
4
  Requires at least: 3.0
5
  Tested up to: 5.1
6
+ Stable tag: 3.0.5
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
444
 
445
 
446
  == Changelog ==
447
+ = 3.0.5 =
448
+ * Update: Theme checker dom error updated
449
+ * Update: Deprecated Google plus
450
+ * Updated: Css changes to make icons more symetric
451
+
452
  = 3.0.4 =
453
+ * Updated: Security patch in freemius.
454
+
455
+ = 3.0.3 =
456
  * Update: solved Undefined constant notice resolved.
457
+ * Update: offline chat email validation added.
458
  * Update: ROUND SHORTCODE sharing error solved.
459
  * Update: curl errors in backend solved.
460
  * Update: ajax_object conflict solved and updated sfsi_plus_ajax.
823
 
824
  == Upgrade Notice ==
825
 
826
+ = 3.0.5 =
827
  * Please update
ultimate_social_media_icons.php CHANGED
@@ -7,7 +7,7 @@ Author: social share pro
7
  Text Domain: ultimate-social-media-plus
8
  Domain Path: /languages
9
  Author URI: http://socialshare.pro/
10
- Version: 3.0.4
11
  License: GPLv2
12
  */
13
 
@@ -103,7 +103,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
103
  //register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
104
 
105
  /*Plugin version setup*/
106
- if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 3.04)
107
  {
108
  add_action("init", "sfsi_plus_update_plugin");
109
  }
@@ -430,7 +430,7 @@ function sfsi_plus_beforeafterblogposts( $content )
430
  }
431
  if(!isset($sfsi_section8['sfsi_plus_rectgp']))
432
  {
433
- $sfsi_section8['sfsi_plus_rectgp'] = 'yes';
434
  }
435
  if(!isset($sfsi_section8['sfsi_plus_recttwtr']))
436
  {
7
  Text Domain: ultimate-social-media-plus
8
  Domain Path: /languages
9
  Author URI: http://socialshare.pro/
10
+ Version: 3.0.5
11
  License: GPLv2
12
  */
13
 
103
  //register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
104
 
105
  /*Plugin version setup*/
106
+ if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 3.05)
107
  {
108
  add_action("init", "sfsi_plus_update_plugin");
109
  }
430
  }
431
  if(!isset($sfsi_section8['sfsi_plus_rectgp']))
432
  {
433
+ $sfsi_section8['sfsi_plus_rectgp'] = 'no';
434
  }
435
  if(!isset($sfsi_section8['sfsi_plus_recttwtr']))
436
  {
views/sfsi_option_view1.php CHANGED
@@ -154,24 +154,7 @@
154
  </div>
155
  </li>
156
  <!-- END TWITTER ICON -->
157
-
158
- <!-- GOOGLE ICON -->
159
- <li class="gary_bg">
160
- <div class="radio_section tb_4_ck">
161
- <input name="sfsi_plus_google_display" <?php echo ($option1['sfsi_plus_google_display']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_google_display" type="checkbox" value="yes" class="styled" />
162
- </div>
163
- <span class="sfsicls_ggle_pls">
164
- Google+
165
- </span>
166
- <div class="sfsiplus_right_info">
167
- <p>
168
- <span><?php _e( 'Strongly recommended:', SFSI_PLUS_DOMAIN); ?></span>
169
- <?php _e( 'Increasingly important and beneficial for SEO.', SFSI_PLUS_DOMAIN); ?>
170
- <label class="expanded-area" ></label>
171
- </p>
172
- </div>
173
- </li>
174
- <!-- END GOOGLE ICON -->
175
 
176
  <!-- YOUTUBE ICON -->
177
  <li>
@@ -238,6 +221,7 @@
238
  </div>
239
  </li>
240
  <!-- END INSTAGRAM ICON -->
 
241
 
242
  <!-- Houzz ICON -->
243
  <li>
@@ -260,6 +244,24 @@
260
  </div>
261
  </li>
262
  <!-- END Houzz ICON -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
263
 
264
  <!-- Custom icon section start here -->
265
  <?php
154
  </div>
155
  </li>
156
  <!-- END TWITTER ICON -->
157
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
 
159
  <!-- YOUTUBE ICON -->
160
  <li>
221
  </div>
222
  </li>
223
  <!-- END INSTAGRAM ICON -->
224
+
225
 
226
  <!-- Houzz ICON -->
227
  <li>
244
  </div>
245
  </li>
246
  <!-- END Houzz ICON -->
247
+
248
+ <!-- GOOGLE ICON -->
249
+ <li class="gary_bg">
250
+ <div class="radio_section tb_4_ck">
251
+ <input name="sfsi_plus_google_display" <?php echo ($option1['sfsi_plus_google_display']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_google_display" type="checkbox" value="yes" class="styled" />
252
+ </div>
253
+ <span class="sfsicls_ggle_pls">
254
+ Google+
255
+ </span>
256
+ <div class="sfsiplus_right_info">
257
+ <p>
258
+ <span><?php _e( 'Deprecated:', SFSI_PLUS_DOMAIN); ?></span>
259
+ <?php _e( 'Google+ be closed/will close soon.', SFSI_PLUS_DOMAIN); ?>
260
+ <label class="expanded-area" ></label>
261
+ </p>
262
+ </div>
263
+ </li>
264
+ <!-- END GOOGLE ICON -->
265
 
266
  <!-- Custom icon section start here -->
267
  <?php
views/sfsi_option_view2.php CHANGED
@@ -54,9 +54,9 @@
54
  $option2['sfsi_plus_google_pageURL'] = (isset($option2['sfsi_plus_google_pageURL']))
55
  ? esc_url($option2['sfsi_plus_google_pageURL'])
56
  : '';
57
- // $option2['sfsi_plus_googleLike_option'] = (isset($option2['sfsi_plus_googleLike_option']))
58
- // ? sanitize_text_field($option2['sfsi_plus_googleLike_option'])
59
- // : '';
60
  $option2['sfsi_plus_googleShare_option'] = (isset($option2['sfsi_plus_googleShare_option']))
61
  ? sanitize_text_field($option2['sfsi_plus_googleShare_option'])
62
  : '';
@@ -363,55 +363,7 @@
363
  </div>
364
  </div>
365
  <!-- END TWITTER ICON -->
366
-
367
- <!-- GOOGLE ICON -->
368
- <div class="row sfsiplus_google_section">
369
- <h2 class="sfsicls_ggle_pls">Google+</h2>
370
- <div class="inr_cont google_in">
371
- <p>
372
- <?php _e( 'The Google+ icon can perform several actions. Pick below which ones it should perform. If you select several options, then users can select what they want to do', SFSI_PLUS_DOMAIN ); ?>
373
- <a class="rit_link pop-up" href="javascript:;" data-id="googlex-s2">
374
- (<?php _e( 'see an example', SFSI_PLUS_DOMAIN ); ?>).
375
- </a>
376
- </p>
377
- <p>
378
- <?php _e( 'The Google+ icon should allow users to...', SFSI_PLUS_DOMAIN ); ?>
379
- </p>
380
- <p class="radio_section fb_url">
381
- <input name="sfsi_plus_google_page" <?php echo ($option2['sfsi_plus_google_page']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
382
-
383
- <label>
384
- <?php _e( 'Visit my Google+ page at:', SFSI_PLUS_DOMAIN ); ?>
385
- </label>
386
-
387
- <input name="sfsi_plus_google_pageURL" type="url" placeholder="http://" value="<?php echo ($option2['sfsi_plus_google_pageURL']!='') ? $option2['sfsi_plus_google_pageURL'] : '' ;?>" class="add" />
388
-
389
- </p>
390
-
391
- <!--<p class="radio_section fb_url">
392
- <input name="sfsi_plus_googleLike_option" <?php //echo ($option2['sfsi_plus_googleLike_option']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
393
- <label>
394
- <?php //_e( 'Like my blog on Google+ (+1)', SFSI_PLUS_DOMAIN ); ?>
395
- </label>
396
- </p>-->
397
-
398
- <p class="radio_section fb_url">
399
- <input name="sfsi_plus_googleShare_option" <?php echo ($option2['sfsi_plus_googleShare_option']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
400
-
401
- <label>
402
- <?php _e( 'Share my blog with friends (on Google+)', SFSI_PLUS_DOMAIN ); ?>
403
- </label>
404
- </p>
405
- <?php if($option2['sfsi_plus_premium_google_box'] =='yes') { ?>
406
- <div class ="sfsi_plus_new_prmium_follw" >
407
- <p>
408
- <b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'In our Premium Plugin you can also allow users to follow you on Google+ directly from your site (without leaving your page, increasing followers). ', SFSI_PLUS_DOMAIN ); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=direct_follow_google&utm_medium=banner" target="_blank"><?php _e( 'See all features', SFSI_PLUS_DOMAIN ); ?></a>
409
- </p>
410
- </div>
411
- <?php } ?>
412
- </div>
413
- </div>
414
- <!-- END GOOGLE ICON -->
415
 
416
  <!-- YOUTUBE ICON -->
417
  <div class="row sfsiplus_youtube_section">
@@ -624,6 +576,55 @@
624
  </div>
625
  </div>
626
  <!-- HOUZZ INSTAGRAM ICON -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
627
 
628
  <!-- Custom icon section start here -->
629
  <div class="plus_custom-links sfsiplus_custom_section">
54
  $option2['sfsi_plus_google_pageURL'] = (isset($option2['sfsi_plus_google_pageURL']))
55
  ? esc_url($option2['sfsi_plus_google_pageURL'])
56
  : '';
57
+ $option2['sfsi_plus_googleLike_option'] = (isset($option2['sfsi_plus_googleLike_option']))
58
+ ? sanitize_text_field($option2['sfsi_plus_googleLike_option'])
59
+ : '';
60
  $option2['sfsi_plus_googleShare_option'] = (isset($option2['sfsi_plus_googleShare_option']))
61
  ? sanitize_text_field($option2['sfsi_plus_googleShare_option'])
62
  : '';
363
  </div>
364
  </div>
365
  <!-- END TWITTER ICON -->
366
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
367
 
368
  <!-- YOUTUBE ICON -->
369
  <div class="row sfsiplus_youtube_section">
576
  </div>
577
  </div>
578
  <!-- HOUZZ INSTAGRAM ICON -->
579
+
580
+ <!-- GOOGLE ICON -->
581
+ <div class="row sfsiplus_google_section">
582
+ <h2 class="sfsicls_ggle_pls">Google+</h2>
583
+ <div class="inr_cont google_in">
584
+ <p>
585
+ <?php _e( 'The Google+ icon can perform several actions. Pick below which ones it should perform. If you select several options, then users can select what they want to do', SFSI_PLUS_DOMAIN ); ?>
586
+ <a class="rit_link pop-up" href="javascript:;" data-id="googlex-s2">
587
+ (<?php _e( 'see an example', SFSI_PLUS_DOMAIN ); ?>).
588
+ </a>
589
+ </p>
590
+ <p>
591
+ <?php _e( 'The Google+ icon should allow users to...', SFSI_PLUS_DOMAIN ); ?>
592
+ </p>
593
+ <p class="radio_section fb_url">
594
+ <input name="sfsi_plus_google_page" <?php echo ($option2['sfsi_plus_google_page']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
595
+
596
+ <label>
597
+ <?php _e( 'Visit my Google+ page at:', SFSI_PLUS_DOMAIN ); ?>
598
+ </label>
599
+
600
+ <input name="sfsi_plus_google_pageURL" type="url" placeholder="http://" value="<?php echo ($option2['sfsi_plus_google_pageURL']!='') ? $option2['sfsi_plus_google_pageURL'] : '' ;?>" class="add" />
601
+
602
+ </p>
603
+
604
+ <p class="radio_section fb_url">
605
+ <input name="sfsi_plus_googleLike_option" <?php echo ($option2['sfsi_plus_googleLike_option']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
606
+ <label>
607
+ <?php _e( 'Like my blog on Google+ (+1)', SFSI_PLUS_DOMAIN ); ?>
608
+ </label>
609
+ </p>
610
+
611
+ <p class="radio_section fb_url">
612
+ <input name="sfsi_plus_googleShare_option" <?php echo ($option2['sfsi_plus_googleShare_option']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
613
+
614
+ <label>
615
+ <?php _e( 'Share my blog with friends (on Google+)', SFSI_PLUS_DOMAIN ); ?>
616
+ </label>
617
+ </p>
618
+ <?php if($option2['sfsi_plus_premium_google_box'] =='yes') { ?>
619
+ <div class ="sfsi_plus_new_prmium_follw" >
620
+ <p>
621
+ <b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'In our Premium Plugin you can also allow users to follow you on Google+ directly from your site (without leaving your page, increasing followers). ', SFSI_PLUS_DOMAIN ); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=direct_follow_google&utm_medium=banner" target="_blank"><?php _e( 'See all features', SFSI_PLUS_DOMAIN ); ?></a>
622
+ </p>
623
+ </div>
624
+ <?php } ?>
625
+ </div>
626
+ </div>
627
+ <!-- END GOOGLE ICON -->
628
 
629
  <!-- Custom icon section start here -->
630
  <div class="plus_custom-links sfsiplus_custom_section">
views/sfsi_option_view3.php CHANGED
@@ -65,7 +65,7 @@
65
  <?php _e( 'Default', SFSI_PLUS_DOMAIN ); ?>
66
  </label>
67
  <div class="sfsiplus_icns_tab_3">
68
- <span class="sfsiplus_row_1_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_1_2 sfsiplus_email_section"></span><span class="sfsiplus_row_1_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_1_4 sfsiplus_google_section"></span><span class="sfsiplus_row_1_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_1_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_1_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_1_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_1_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_1_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_1_11 sf_section"></span>-->
69
  </div>
70
  </li>
71
 
@@ -74,7 +74,7 @@
74
  <label>
75
  <?php _e( 'Flat', SFSI_PLUS_DOMAIN ); ?>
76
  </label>
77
- <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_2_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_2_2 sfsiplus_email_section"></span><span class="sfsiplus_row_2_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_2_4 sfsiplus_google_section"></span><span class="sfsiplus_row_2_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_2_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_2_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_2_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_2_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_2_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_2_11 sf_section"></span>-->
78
  </div>
79
  </li>
80
 
@@ -83,7 +83,7 @@
83
  <label>
84
  <?php _e( 'Thin', SFSI_PLUS_DOMAIN ); ?>
85
  </label>
86
- <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_3_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_3_2 sfsiplus_email_section"></span><span class="sfsiplus_row_3_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_3_4 sfsiplus_google_section"></span><span class="sfsiplus_row_3_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_3_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_3_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_3_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_3_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_3_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_3_11 sf_section"></span>-->
87
  </div>
88
  </li>
89
 
@@ -92,7 +92,7 @@
92
  <label>
93
  <?php _e( 'Cute', SFSI_PLUS_DOMAIN ); ?>
94
  </label>
95
- <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_4_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_4_2 sfsiplus_email_section"></span><span class="sfsiplus_row_4_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_4_4 sfsiplus_google_section"></span><span class="sfsiplus_row_4_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_4_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_4_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_4_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_4_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_4_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_4_11 sf_section"></span>-->
96
  </div>
97
  </li>
98
 
@@ -102,28 +102,28 @@
102
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='cubes') ? 'checked="true"' : '' ;?> type="radio" value="cubes" class="styled" />
103
  <label><?php _e( 'Cubes', SFSI_PLUS_DOMAIN ); ?></label>
104
 
105
- <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_5_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_5_2 sfsiplus_email_section"></span><span class="sfsiplus_row_5_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_5_4 sfsiplus_google_section"></span><span class="sfsiplus_row_5_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_5_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_5_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_5_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_5_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_5_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_5_11 sf_section"></span>-->
106
  </div>
107
  </li>
108
 
109
  <li>
110
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='chrome_blue') ? 'checked="true"' : '' ;?> type="radio" value="chrome_blue" class="styled" />
111
  <label><?php _e( 'Chrome Blue', SFSI_PLUS_DOMAIN ); ?></label>
112
- <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_6_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_6_2 sfsiplus_email_section"></span><span class="sfsiplus_row_6_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_6_4 sfsiplus_google_section"></span><span class="sfsiplus_row_6_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_6_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_6_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_6_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_6_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_6_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_6_11 sf_section"></span>-->
113
  </div>
114
  </li>
115
 
116
  <li>
117
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='chrome_grey') ? 'checked="true"' : '' ;?> type="radio" value="chrome_grey" class="styled" />
118
  <label><?php _e( 'Chrome Grey', SFSI_PLUS_DOMAIN ); ?></label>
119
- <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_7_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_7_2 sfsiplus_email_section"></span><span class="sfsiplus_row_7_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_7_4 sfsiplus_google_section"></span><span class="sfsiplus_row_7_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_7_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_7_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_7_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_7_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_7_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_7_11 sf_section"></span>-->
120
  </div>
121
  </li>
122
 
123
  <li>
124
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='splash') ? 'checked="true"' : '' ;?> type="radio" value="splash" class="styled" />
125
  <label><?php _e( 'Splash', SFSI_PLUS_DOMAIN ); ?></label>
126
- <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_8_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_8_2 sfsiplus_email_section"></span><span class="sfsiplus_row_8_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_8_4 sfsiplus_google_section"></span><span class="sfsiplus_row_8_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_8_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_8_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_8_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_8_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_8_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_8_11 sf_section"></span>-->
127
  </div>
128
  </li>
129
 
@@ -134,28 +134,28 @@
134
  <li>
135
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='orange') ? 'checked="true"' : '' ;?> type="radio" value="orange" class="styled" />
136
  <label><?php _e( 'Orange', SFSI_PLUS_DOMAIN ); ?></label>
137
- <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_9_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_9_2 sfsiplus_email_section"></span><span class="sfsiplus_row_9_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_9_4 sfsiplus_google_section"></span><span class="sfsiplus_row_9_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_9_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_9_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_9_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_9_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_9_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_9_11 sf_section"></span>-->
138
  </div>
139
  </li>
140
 
141
  <li>
142
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='crystal') ? 'checked="true"' : '' ;?> type="radio" value="crystal" class="styled" />
143
  <label><?php _e( 'Crystal', SFSI_PLUS_DOMAIN ); ?></label>
144
- <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_10_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_10_2 sfsiplus_email_section"></span><span class="sfsiplus_row_10_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_10_4 sfsiplus_google_section"></span><span class="sfsiplus_row_10_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_10_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_10_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_10_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_10_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_10_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_10_11 sf_section"></span>-->
145
  </div>
146
  </li>
147
 
148
  <li>
149
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='glossy') ? 'checked="true"' : '' ;?> type="radio" value="glossy" class="styled" />
150
  <label><?php _e( 'Glossy', SFSI_PLUS_DOMAIN ); ?></label>
151
- <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_11_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_11_2 sfsiplus_email_section"></span><span class="sfsiplus_row_11_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_11_4 sfsiplus_google_section"></span><span class="sfsiplus_row_11_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_11_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_11_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_11_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_11_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_11_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_11_11 sf_section"></span>-->
152
  </div>
153
  </li>
154
 
155
  <li>
156
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='black') ? 'checked="true"' : '' ;?> type="radio" value="black" class="styled" />
157
  <label><?php _e( 'Black', SFSI_PLUS_DOMAIN ); ?></label>
158
- <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_12_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_12_2 sfsiplus_email_section"></span><span class="sfsiplus_row_12_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_12_4 sfsiplus_google_section"></span><span class="sfsiplus_row_12_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_12_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_12_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_12_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_12_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_12_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_12_11 sf_section"></span>-->
159
  </div>
160
  </li>
161
 
@@ -165,21 +165,21 @@
165
  <li>
166
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='silver') ? 'checked="true"' : '' ;?> type="radio" value="silver" class="styled" />
167
  <label><?php _e( 'Silver', SFSI_PLUS_DOMAIN ); ?></label>
168
- <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_13_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_13_2 sfsiplus_email_section"></span><span class="sfsiplus_row_13_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_13_4 sfsiplus_google_section"></span><span class="sfsiplus_row_13_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_13_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_13_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_13_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_13_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_13_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_13_11 sf_section"></span>-->
169
  </div>
170
  </li>
171
 
172
  <li>
173
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='shaded_dark') ? 'checked="true"' : '' ;?> type="radio" value="shaded_dark" class="styled" />
174
  <label><?php _e( 'Shaded Dark', SFSI_PLUS_DOMAIN ); ?></label>
175
- <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_14_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_14_2 sfsiplus_email_section"></span><span class="sfsiplus_row_14_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_14_4 sfsiplus_google_section"></span><span class="sfsiplus_row_14_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_14_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_14_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_14_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_14_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_14_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_14_11 sf_section"></span>-->
176
  </div>
177
  </li>
178
 
179
  <li>
180
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='shaded_light') ? 'checked="true"' : '' ;?> type="radio" value="shaded_light" class="styled" />
181
  <label><?php _e( 'Shaded Light', SFSI_PLUS_DOMAIN ); ?></label>
182
- <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_15_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_15_2 sfsiplus_email_section"></span><span class="sfsiplus_row_15_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_15_4 sfsiplus_google_section"></span><span class="sfsiplus_row_15_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_15_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_15_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_15_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_15_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_15_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_15_11 sf_section"></span>--> </div>
183
  </li>
184
 
185
  <li>
@@ -188,7 +188,7 @@
188
  <?php _e( 'Transparent', SFSI_PLUS_DOMAIN ); ?> <br/>
189
  <span style="font-size: 9px;">(<?php _e( 'for dark backgrounds', SFSI_PLUS_DOMAIN )?>)</span>
190
  </label>
191
- <div class="sfsiplus_icns_tab_3 trans_bg" style="padding-left: 6px;"><span class="sfsiplus_row_16_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_16_2 sfsiplus_email_section"></span><span class="sfsiplus_row_16_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_16_4 sfsiplus_google_section"></span><span class="sfsiplus_row_16_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_16_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_16_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_16_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_16_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_16_11 sfsiplus_houzz_section"></span><!--<span class="sfsiplus_row_16_11 sf_section"></span>--></div>
192
  </li>
193
 
194
  <!--Custom Icon Support {Monad}-->
@@ -231,16 +231,6 @@
231
  echo '<span class="sfsiplus_row_17_3 sfsiplus_facebook_section" style="background-position:-118px 0;"></span>';
232
  }
233
 
234
- if(get_option("plus_google_skin"))
235
- {
236
- $icon = get_option("plus_google_skin");
237
- echo '<span class="sfsiplus_row_17_4 sfsiplus_google_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;"></span>';
238
- }
239
- else
240
- {
241
- echo '<span class="sfsiplus_row_17_4 sfsiplus_google_section" style="background-position:-176px 0;"></span>';
242
- }
243
-
244
  if(get_option("plus_twitter_skin"))
245
  {
246
  $icon = get_option("plus_twitter_skin");
@@ -300,6 +290,16 @@
300
  {
301
  echo '<span class="sfsiplus_row_17_11 sfsiplus_houzz_section" style="background-position:-711px 0;"></span>';
302
  }
 
 
 
 
 
 
 
 
 
 
303
  ?>
304
 
305
  </div>
65
  <?php _e( 'Default', SFSI_PLUS_DOMAIN ); ?>
66
  </label>
67
  <div class="sfsiplus_icns_tab_3">
68
+ <span class="sfsiplus_row_1_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_1_2 sfsiplus_email_section"></span><span class="sfsiplus_row_1_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_1_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_1_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_1_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_1_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_1_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_1_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_1_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_1_11 sf_section"></span>-->
69
  </div>
70
  </li>
71
 
74
  <label>
75
  <?php _e( 'Flat', SFSI_PLUS_DOMAIN ); ?>
76
  </label>
77
+ <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_2_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_2_2 sfsiplus_email_section"></span><span class="sfsiplus_row_2_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_2_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_2_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_2_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_2_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_2_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_2_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_2_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_2_11 sf_section"></span>-->
78
  </div>
79
  </li>
80
 
83
  <label>
84
  <?php _e( 'Thin', SFSI_PLUS_DOMAIN ); ?>
85
  </label>
86
+ <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_3_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_3_2 sfsiplus_email_section"></span><span class="sfsiplus_row_3_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_3_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_3_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_3_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_3_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_3_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_3_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_3_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_3_11 sf_section"></span>-->
87
  </div>
88
  </li>
89
 
92
  <label>
93
  <?php _e( 'Cute', SFSI_PLUS_DOMAIN ); ?>
94
  </label>
95
+ <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_4_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_4_2 sfsiplus_email_section"></span><span class="sfsiplus_row_4_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_4_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_4_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_4_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_4_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_4_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_4_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_4_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_4_11 sf_section"></span>-->
96
  </div>
97
  </li>
98
 
102
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='cubes') ? 'checked="true"' : '' ;?> type="radio" value="cubes" class="styled" />
103
  <label><?php _e( 'Cubes', SFSI_PLUS_DOMAIN ); ?></label>
104
 
105
+ <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_5_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_5_2 sfsiplus_email_section"></span><span class="sfsiplus_row_5_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_5_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_5_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_5_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_5_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_5_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_5_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_5_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_5_11 sf_section"></span>-->
106
  </div>
107
  </li>
108
 
109
  <li>
110
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='chrome_blue') ? 'checked="true"' : '' ;?> type="radio" value="chrome_blue" class="styled" />
111
  <label><?php _e( 'Chrome Blue', SFSI_PLUS_DOMAIN ); ?></label>
112
+ <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_6_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_6_2 sfsiplus_email_section"></span><span class="sfsiplus_row_6_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_6_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_6_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_6_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_6_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_6_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_6_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_6_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_6_11 sf_section"></span>-->
113
  </div>
114
  </li>
115
 
116
  <li>
117
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='chrome_grey') ? 'checked="true"' : '' ;?> type="radio" value="chrome_grey" class="styled" />
118
  <label><?php _e( 'Chrome Grey', SFSI_PLUS_DOMAIN ); ?></label>
119
+ <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_7_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_7_2 sfsiplus_email_section"></span><span class="sfsiplus_row_7_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_7_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_7_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_7_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_7_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_7_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_7_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_7_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_7_11 sf_section"></span>-->
120
  </div>
121
  </li>
122
 
123
  <li>
124
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='splash') ? 'checked="true"' : '' ;?> type="radio" value="splash" class="styled" />
125
  <label><?php _e( 'Splash', SFSI_PLUS_DOMAIN ); ?></label>
126
+ <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_8_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_8_2 sfsiplus_email_section"></span><span class="sfsiplus_row_8_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_8_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_8_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_8_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_8_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_8_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_8_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_8_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_8_11 sf_section"></span>-->
127
  </div>
128
  </li>
129
 
134
  <li>
135
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='orange') ? 'checked="true"' : '' ;?> type="radio" value="orange" class="styled" />
136
  <label><?php _e( 'Orange', SFSI_PLUS_DOMAIN ); ?></label>
137
+ <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_9_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_9_2 sfsiplus_email_section"></span><span class="sfsiplus_row_9_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_9_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_9_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_9_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_9_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_9_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_9_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_9_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_9_11 sf_section"></span>-->
138
  </div>
139
  </li>
140
 
141
  <li>
142
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='crystal') ? 'checked="true"' : '' ;?> type="radio" value="crystal" class="styled" />
143
  <label><?php _e( 'Crystal', SFSI_PLUS_DOMAIN ); ?></label>
144
+ <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_10_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_10_2 sfsiplus_email_section"></span><span class="sfsiplus_row_10_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_10_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_10_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_10_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_10_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_10_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_10_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_10_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_10_11 sf_section"></span>-->
145
  </div>
146
  </li>
147
 
148
  <li>
149
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='glossy') ? 'checked="true"' : '' ;?> type="radio" value="glossy" class="styled" />
150
  <label><?php _e( 'Glossy', SFSI_PLUS_DOMAIN ); ?></label>
151
+ <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_11_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_11_2 sfsiplus_email_section"></span><span class="sfsiplus_row_11_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_11_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_11_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_11_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_11_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_11_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_11_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_11_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_11_11 sf_section"></span>-->
152
  </div>
153
  </li>
154
 
155
  <li>
156
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='black') ? 'checked="true"' : '' ;?> type="radio" value="black" class="styled" />
157
  <label><?php _e( 'Black', SFSI_PLUS_DOMAIN ); ?></label>
158
+ <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_12_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_12_2 sfsiplus_email_section"></span><span class="sfsiplus_row_12_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_12_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_12_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_12_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_12_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_12_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_12_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_12_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_12_11 sf_section"></span>-->
159
  </div>
160
  </li>
161
 
165
  <li>
166
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='silver') ? 'checked="true"' : '' ;?> type="radio" value="silver" class="styled" />
167
  <label><?php _e( 'Silver', SFSI_PLUS_DOMAIN ); ?></label>
168
+ <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_13_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_13_2 sfsiplus_email_section"></span><span class="sfsiplus_row_13_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_13_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_13_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_13_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_13_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_13_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_13_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_13_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_13_11 sf_section"></span>-->
169
  </div>
170
  </li>
171
 
172
  <li>
173
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='shaded_dark') ? 'checked="true"' : '' ;?> type="radio" value="shaded_dark" class="styled" />
174
  <label><?php _e( 'Shaded Dark', SFSI_PLUS_DOMAIN ); ?></label>
175
+ <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_14_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_14_2 sfsiplus_email_section"></span><span class="sfsiplus_row_14_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_14_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_14_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_14_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_14_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_14_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_14_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_14_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_14_11 sf_section"></span>-->
176
  </div>
177
  </li>
178
 
179
  <li>
180
  <input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='shaded_light') ? 'checked="true"' : '' ;?> type="radio" value="shaded_light" class="styled" />
181
  <label><?php _e( 'Shaded Light', SFSI_PLUS_DOMAIN ); ?></label>
182
+ <div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_15_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_15_2 sfsiplus_email_section"></span><span class="sfsiplus_row_15_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_15_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_15_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_15_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_15_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_15_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_15_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_15_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_15_11 sf_section"></span>--> </div>
183
  </li>
184
 
185
  <li>
188
  <?php _e( 'Transparent', SFSI_PLUS_DOMAIN ); ?> <br/>
189
  <span style="font-size: 9px;">(<?php _e( 'for dark backgrounds', SFSI_PLUS_DOMAIN )?>)</span>
190
  </label>
191
+ <div class="sfsiplus_icns_tab_3 trans_bg" style="padding-left: 6px;"><span class="sfsiplus_row_16_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_16_2 sfsiplus_email_section"></span><span class="sfsiplus_row_16_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_16_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_16_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_16_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_16_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_16_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_16_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_16_4 sfsiplus_google_section"></span><!--<span class="sfsiplus_row_16_11 sf_section"></span>--></div>
192
  </li>
193
 
194
  <!--Custom Icon Support {Monad}-->
231
  echo '<span class="sfsiplus_row_17_3 sfsiplus_facebook_section" style="background-position:-118px 0;"></span>';
232
  }
233
 
 
 
 
 
 
 
 
 
 
 
234
  if(get_option("plus_twitter_skin"))
235
  {
236
  $icon = get_option("plus_twitter_skin");
290
  {
291
  echo '<span class="sfsiplus_row_17_11 sfsiplus_houzz_section" style="background-position:-711px 0;"></span>';
292
  }
293
+
294
+ if(get_option("plus_google_skin"))
295
+ {
296
+ $icon = get_option("plus_google_skin");
297
+ echo '<span class="sfsiplus_row_17_4 sfsiplus_google_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;"></span>';
298
+ }
299
+ else
300
+ {
301
+ echo '<span class="sfsiplus_row_17_4 sfsiplus_google_section" style="background-position:-176px 0;"></span>';
302
+ }
303
  ?>
304
 
305
  </div>
views/sfsi_option_view4.php CHANGED
@@ -182,11 +182,6 @@
182
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/fb.png" alt="Facebook" />
183
  </a><span>12k</span>
184
  </li>
185
- <li class="sfsiplus_google_section">
186
- <a href="#" title="Google Plus">
187
- <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/google_plus.png" alt="Google Plus" />
188
- </a><span>12k</span>
189
- </li>
190
  <li class="sfsiplus_twitter_section">
191
  <a href="#" title="Twitter">
192
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/twitter.png" alt="Twitter" />
@@ -217,6 +212,11 @@
217
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/houzz.png" alt="instagram" />
218
  </a><span>12k</span>
219
  </li>
 
 
 
 
 
220
  </ul> <!-- END sample icons -->
221
  <p>
222
  <?php _e( 'Of course, if you start at 0, you shoot yourself in the foot with that. So we suggest that you only turn this feature on once you have a good number of followers/likes/shares (min. of 20 – no worries if it’s not too many, it should just not be 0).', SFSI_PLUS_DOMAIN ); ?>
182
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/fb.png" alt="Facebook" />
183
  </a><span>12k</span>
184
  </li>
 
 
 
 
 
185
  <li class="sfsiplus_twitter_section">
186
  <a href="#" title="Twitter">
187
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/twitter.png" alt="Twitter" />
212
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/houzz.png" alt="instagram" />
213
  </a><span>12k</span>
214
  </li>
215
+ <li class="sfsiplus_google_section">
216
+ <a href="#" title="Google Plus">
217
+ <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/google_plus.png" alt="Google Plus" />
218
+ </a><span>12k</span>
219
+ </li>
220
  </ul> <!-- END sample icons -->
221
  <p>
222
  <?php _e( 'Of course, if you start at 0, you shoot yourself in the foot with that. So we suggest that you only turn this feature on once you have a good number of followers/likes/shares (min. of 20 – no worries if it’s not too many, it should just not be 0).', SFSI_PLUS_DOMAIN ); ?>
views/sfsi_option_view8.php CHANGED
@@ -11,7 +11,7 @@
11
  }
12
  if(!isset($option8['sfsi_plus_rectgp']))
13
  {
14
- $option8['sfsi_plus_rectgp'] = 'yes';
15
  }
16
  if(!isset($option8['sfsi_plus_recttwtr']))
17
  {
11
  }
12
  if(!isset($option8['sfsi_plus_rectgp']))
13
  {
14
+ $option8['sfsi_plus_rectgp'] = 'no';
15
  }
16
  if(!isset($option8['sfsi_plus_recttwtr']))
17
  {
views/sfsi_options_view.php CHANGED
@@ -71,10 +71,14 @@
71
 
72
  <p><?php _e( 'Simply answer the questions below (at least the first 3) by clicking on them - that`s it!', SFSI_PLUS_DOMAIN ); ?></p>
73
 
74
- <p><a style="text-decoration: none;" href="javascript:void(0)"><?php _e( 'New:', SFSI_PLUS_DOMAIN ); ?> </a><?php _e('Our new Premium Plugin allows many more placement options, better sharing features (e.g. define which text &amp; images will get shared), optimization for mobile, more icon design styles, <a target="_blank" href="https://www.ultimatelysocial.com/animated-social-media-icons/">animated icons</a>, <a target="_blank" href="https://www.ultimatelysocial.com/themed-icons-search/">themed icons</a>, and much more.', SFSI_PLUS_DOMAIN ); ?> <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&amp;utm_campaign=notification_banner&amp;utm_medium=banner" target="_blank"><?php _e('See all features', SFSI_PLUS_DOMAIN ); ?></a></p>
 
 
 
 
75
 
76
 
77
- <p><?php _e( 'Please', SFSI_PLUS_DOMAIN ); ?> <a target="_blank" style="text-decoration: underline;" href="https://goo.gl/MU6pTN#no-topic-0"><?php _e( 'give us feedback,', SFSI_PLUS_DOMAIN ); ?></a><?php _e( ' and tell us how we can make the plugin better. Thank you!.', SFSI_PLUS_DOMAIN ); ?></p>
78
 
79
  </div>
80
 
71
 
72
  <p><?php _e( 'Simply answer the questions below (at least the first 3) by clicking on them - that`s it!', SFSI_PLUS_DOMAIN ); ?></p>
73
 
74
+ <p><a style="text-decoration: none;" href="javascript:void(0)"><?php _e( 'New:', SFSI_PLUS_DOMAIN ); ?> </a><?php _e('Our new Premium Plugin allows many more placement options, better sharing features (e.g. define which text &amp; images will get shared), optimization for mobile, <a class="sfsi_plus_unbold_link" target="_blank" href="https://www.ultimatelysocial.com/extra-icon-style/">more icon design styles</a>, <a class="sfsi_plus_unbold_link" target="_blank" href="https://www.ultimatelysocial.com/animated-social-media-icons/">animated icons</a>, <a class="sfsi_plus_unbold_link" target="_blank" href="https://www.ultimatelysocial.com/themed-icons-search/">themed icons</a>, and <a class="sfsi_plus_unbold_link" href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=notification_banner&utm_medium=banner" target="_blank">much more</a>.', SFSI_PLUS_DOMAIN ); ?>
75
+ <a class="pop-up" href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&amp;utm_campaign=notification_banner&amp;utm_medium=banner" data-id="sfsi_plus_quickpay-overlay" onclick="sfsi_plus_open_quick_checkout(event)" target="_blank">
76
+ <?php _e('Go premium now',SFSI_PLUS_DOMAIN); ?>
77
+ </a>
78
+ </p>
79
 
80
 
81
+ <p><?php _e( 'Please', SFSI_PLUS_DOMAIN ); ?> <a target="_blank" style="text-decoration: underline;" href="https://wordpress.org/support/plugin/ultimate-social-media-plus/reviews/?filter=5"><?php _e( 'give us feedback,', SFSI_PLUS_DOMAIN ); ?></a><?php _e( ' and tell us how we can make the plugin better. Thank you!.', SFSI_PLUS_DOMAIN ); ?></p>
82
 
83
  </div>
84
 
views/sfsi_pop_content.php CHANGED
@@ -442,28 +442,6 @@ $pin_url=($option2['sfsi_plus_pinterest_pageUrl']!='') ? $option2['sfsi_plus_pi
442
  ?>
443
  </div>
444
  </li>
445
- <li>
446
- <div class="cstm_icnname">
447
- Google+
448
- </div>
449
- <div class="cstmskins_btn">
450
- <?php
451
- if(get_option("plus_google_skin"))
452
- {
453
- $google_skin = get_option("plus_google_skin");
454
- echo "<img src='".$google_skin."' width='30px' height='30px' class='imgskin'>";
455
- echo '<a href="javascript:" onclick="upload_image(this);" title="plus_google_skin" class="cstmskin_btn">Update</a>';
456
- echo '<a href="javascript:" onclick="sfsiplus_deleteskin_icon(this);" title="plus_google_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
457
- }
458
- else
459
- {
460
- echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
461
- echo '<a href="javascript:" onclick="upload_image(this);" title="plus_google_skin" class="cstmskin_btn">Upload</a>';
462
- echo '<a href="javascript:" onclick="sfsiplus_deleteskin_icon(this);" title="plus_google_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
463
- }
464
- ?>
465
- </div>
466
- </li>
467
  <li>
468
  <div class="cstm_icnname">
469
  Share
@@ -574,7 +552,28 @@ $pin_url=($option2['sfsi_plus_pinterest_pageUrl']!='') ? $option2['sfsi_plus_pi
574
  ?>
575
  </div>
576
  </li>
577
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
578
  </ul>
579
  <div class="cstmskins_sbmt">
580
  <a href="javascript:" class="done_btn" onclick="SFSI_plus_done();">
@@ -601,4 +600,53 @@ $pin_url=($option2['sfsi_plus_pinterest_pageUrl']!='') ? $option2['sfsi_plus_pi
601
  }
602
  </script>
603
  </div>
604
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
442
  ?>
443
  </div>
444
  </li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
445
  <li>
446
  <div class="cstm_icnname">
447
  Share
552
  ?>
553
  </div>
554
  </li>
555
+ <li>
556
+ <div class="cstm_icnname">
557
+ Google+
558
+ </div>
559
+ <div class="cstmskins_btn">
560
+ <?php
561
+ if(get_option("plus_google_skin"))
562
+ {
563
+ $google_skin = get_option("plus_google_skin");
564
+ echo "<img src='".$google_skin."' width='30px' height='30px' class='imgskin'>";
565
+ echo '<a href="javascript:" onclick="upload_image(this);" title="plus_google_skin" class="cstmskin_btn">Update</a>';
566
+ echo '<a href="javascript:" onclick="sfsiplus_deleteskin_icon(this);" title="plus_google_skin" data-nonce="'.$nonce.'" class="cstmskin_btn">Delete</a>';
567
+ }
568
+ else
569
+ {
570
+ echo "<img src='' width='30px' height='30px' class='imgskin skswrpr'>";
571
+ echo '<a href="javascript:" onclick="upload_image(this);" title="plus_google_skin" class="cstmskin_btn">Upload</a>';
572
+ echo '<a href="javascript:" onclick="sfsiplus_deleteskin_icon(this);" title="plus_google_skin" data-nonce="'.$nonce.'" class="cstmskin_btn dlt_btn">Delete</a>';
573
+ }
574
+ ?>
575
+ </div>
576
+ </li>
577
  </ul>
578
  <div class="cstmskins_sbmt">
579
  <a href="javascript:" class="done_btn" onclick="SFSI_plus_done();">
600
  }
601
  </script>
602
  </div>
603
+ </div>
604
+
605
+ <!-- quickpay overlay -->
606
+ <div class="pop-overlay read-overlay sfsi_plus_quickpay-overlay" style="background:rgba(255,255,255,.6);z-index:9999;overflow-y:auto" >
607
+ <script type="text/javascript" src="https://sellcodes.com/quick_purchase/XdHlrQnc/embed.js"></script>
608
+ <div class="pop_up_box sfsi_pop_up" style="padding-left: 0;padding-right: 0;padding-top:0;margin-top:7%;width:50%;" >
609
+ <div class="" >
610
+ <h2 style="font-size: 30px; padding: 30px 10px ; border:1px solid #eee;background:#fbfbfb;text-align:center" >How do you want to pay?</h2>
611
+ </div>
612
+ <div class="sfsi_plus_quick-pay-box" style="display:none" >
613
+ <div>
614
+ <div class="sfsi_plus_row sfsi_plus_text_center">
615
+ <div class="sfsi_plus_col_6" style="text-align: right; vertical-align: middle;">
616
+ <div class="sellcodes-quick-purchase" onclick="sfsi_plus_quickpay_container_click(event)" style="margin-right: 15px; padding: 18px 40px !important;cursor:pointer">
617
+ <p class="sc-button" data-product-id="XdHlrQnc" data-option-id="ftHaa2zt" data-paymethod="0">
618
+ <img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/visa.png" />
619
+ <img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/mastercard.png" />
620
+ </p>
621
+
622
+ </div>
623
+ </div>
624
+ <div class="sfsi_plus_col_6" style="text-align: left; vertical-align: middle;">
625
+ <div class="sellcodes-quick-purchase" onclick="sfsi_plus_quickpay_container_click(event)" style="margin-left: 0px;cursor:pointer">
626
+ <p class="sc-button" data-product-id="XdHlrQnc" data-option-id="ftHaa2zt" data-paymethod="1">
627
+ <img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/paypal-1.png"/>
628
+ </p>
629
+ </div>
630
+ </div>
631
+ </div>
632
+ <div class="sfsi_plus_subheading" style="text-align: center;color:#888;margin:20px;" >Click will establish a connection to Sellcodes.com</div>
633
+ </div>
634
+ <div class="sfsi_plus_quick-pay-box_container" style="background: #fbfbfb;padding-top: 20px;padding-bottom: 20px;border-top:1px solid #eee" >
635
+ <div class="sfsi_plus_quick-pay-box_on_box" style="background: transparent; padding: 0 10px; display:block; width: 97%; position: absolute; font-weight: 700; letter-spacing: 2px; text-align: center; font-size: 20px; color: #000000;" ><span style="background: #fbfbfb; padding: 0 20px;">Key points</span></div>
636
+ <div style="margin:10px 70px;border-radius:10px;border:1px solid #bbb;font-size: 17px;line-height: 28px;" >
637
+ <ol style="padding: 15px 20px 10px 10px; font-size: 18px; letter-spacing: 0.5px; color: #000000;">
638
+ <li>You‘ll get access to <a href="https://www.ultimatelysocial.com/usm-premium/" target="_black" style="color: #000000;">all premium features</a></li>
639
+ <li>The plugin is <b>priced really fairly</b> starting at <del>44.98 USD</del> today: 40% off!</li>
640
+ <li><b>Use it for lifetime:</b> Support and updates are limited to 1 year, however after that it will not be disabled, you can keep using the plugin (even if you don‘t renew)</li>
641
+ <li>One license is valid for one site (as support is included), but we <b>offer 20% discounts</b> for all future purchases</li>
642
+ <li>We provide a <b>14 day money-back guarantee</b> if you‘re not satisfied for <u>any reason</u></li>
643
+ </ol>
644
+ <div style="text-align: center;margin-bottom:20px; color: #000000; letter-spacing: 0.5px;" >Still have questions? <a href="" onclick="event.preventDefault();sfsi_plus_open_chat();sfsi_plus_close_quickpay()" style="display:inline;font-weight: inherit; color: #000000;">Please ask!</a></div>
645
+ </div>
646
+ <div style="text-align: center;font-size:20px; margin: 40px 0 25px 0; letter-spacing: 1px;" >
647
+ <a href="" onclick="event.preventDefault();sfsi_plus_close_quickpay();" style="color: #000000; font-weight: 700;">Close</a>
648
+ </div>
649
+ </div>
650
+ </div>
651
+ </div>
652
+ </div>