Version Description
- Plugin updated for translations
- E-NOTICE error fixed
Download this release
Release Info
Developer | socialdude |
Plugin | Social Share Icons & Social Share Buttons |
Version | 2.3.4 |
Comparing to | |
See all releases |
Code changes from version 2.3.3 to 2.3.4
- images/Thumbs.db +0 -0
- images/fbshare.png +0 -0
- js/custom-admin.js +2 -0
- libs/controllers/sfsi_buttons_controller.php +4 -2
- libs/controllers/sfsiocns_OnPosts.php +39 -14
- libs/sfsi_install_uninstall.php +17 -10
- libs/sfsi_widget.php +2 -3
- readme.txt +7 -3
- ultimate_social_media_icons.php +28 -19
- views/sfsi_option_view1.php +28 -26
- views/sfsi_option_view2.php +15 -25
- views/sfsi_option_view3.php +4 -4
- views/sfsi_option_view4.php +6 -6
- views/sfsi_option_view5.php +4 -4
- views/sfsi_option_view7.php +4 -4
- views/sfsi_option_view8.php +17 -11
- views/sfsi_option_view9.php +9 -11
- views/sfsi_options_view.php +8 -5
- views/sfsi_pop_content.php +7 -5
images/Thumbs.db
CHANGED
Binary file
|
images/fbshare.png
ADDED
Binary file
|
js/custom-admin.js
CHANGED
@@ -697,6 +697,7 @@ function sfsi_plus_update_step8()
|
|
697 |
rshr = SFSI("input[name='sfsi_plus_rectshr']:checked").val(),
|
698 |
rtwr = SFSI("input[name='sfsi_plus_recttwtr']:checked").val(),
|
699 |
rpin = SFSI("input[name='sfsi_plus_rectpinit']:checked").val(),
|
|
|
700 |
_ = [];
|
701 |
/*SFSI("#sfsi_plus_Show_popupOn_PageIDs :selected").each(function(s, i) {
|
702 |
_[s] = SFSI(i).val()
|
@@ -733,6 +734,7 @@ function sfsi_plus_update_step8()
|
|
733 |
sfsi_plus_rectshr: rshr,
|
734 |
sfsi_plus_recttwtr: rtwr,
|
735 |
sfsi_plus_rectpinit: rpin,
|
|
|
736 |
nonce:nonce
|
737 |
};
|
738 |
SFSI.ajax({
|
697 |
rshr = SFSI("input[name='sfsi_plus_rectshr']:checked").val(),
|
698 |
rtwr = SFSI("input[name='sfsi_plus_recttwtr']:checked").val(),
|
699 |
rpin = SFSI("input[name='sfsi_plus_rectpinit']:checked").val(),
|
700 |
+
rfbshare = SFSI("input[name='sfsi_plus_rectfbshare']:checked").val(),
|
701 |
_ = [];
|
702 |
/*SFSI("#sfsi_plus_Show_popupOn_PageIDs :selected").each(function(s, i) {
|
703 |
_[s] = SFSI(i).val()
|
734 |
sfsi_plus_rectshr: rshr,
|
735 |
sfsi_plus_recttwtr: rtwr,
|
736 |
sfsi_plus_rectpinit: rpin,
|
737 |
+
sfsi_plus_rectfbshare: rfbshare,
|
738 |
nonce:nonce
|
739 |
};
|
740 |
SFSI.ajax({
|
libs/controllers/sfsi_buttons_controller.php
CHANGED
@@ -601,6 +601,7 @@ function sfsi_plus_options_updater8()
|
|
601 |
$sfsi_plus_rectshr = isset($_POST["sfsi_plus_rectshr"]) ? $_POST["sfsi_plus_rectshr"] : 'no';
|
602 |
$sfsi_plus_recttwtr = isset($_POST["sfsi_plus_recttwtr"]) ? $_POST["sfsi_plus_recttwtr"] : 'no';
|
603 |
$sfsi_plus_rectpinit = isset($_POST["sfsi_plus_rectpinit"]) ? $_POST["sfsi_plus_rectpinit"] : 'no';
|
|
|
604 |
|
605 |
$up_option8=array(
|
606 |
'sfsi_plus_show_via_widget' => sanitize_text_field($sfsi_plus_show_via_widget),
|
@@ -632,7 +633,8 @@ function sfsi_plus_options_updater8()
|
|
632 |
'sfsi_plus_rectgp' => sanitize_text_field($sfsi_plus_rectgp),
|
633 |
'sfsi_plus_rectshr' => sanitize_text_field($sfsi_plus_rectshr),
|
634 |
'sfsi_plus_recttwtr' => sanitize_text_field($sfsi_plus_recttwtr),
|
635 |
-
'sfsi_plus_rectpinit' => sanitize_text_field($sfsi_plus_rectpinit)
|
|
|
636 |
);
|
637 |
update_option('sfsi_plus_section8_options',serialize($up_option8));
|
638 |
header('Content-Type: application/json');
|
@@ -1003,7 +1005,7 @@ function sfsi_plus_sanitize_field($value)
|
|
1003 |
return strip_tags(trim($value));
|
1004 |
}
|
1005 |
//Sanitize color code
|
1006 |
-
if(@!function_exists(sfsi_plus_sanitize_hex_color))
|
1007 |
{
|
1008 |
function sfsi_plus_sanitize_hex_color( $color )
|
1009 |
{
|
601 |
$sfsi_plus_rectshr = isset($_POST["sfsi_plus_rectshr"]) ? $_POST["sfsi_plus_rectshr"] : 'no';
|
602 |
$sfsi_plus_recttwtr = isset($_POST["sfsi_plus_recttwtr"]) ? $_POST["sfsi_plus_recttwtr"] : 'no';
|
603 |
$sfsi_plus_rectpinit = isset($_POST["sfsi_plus_rectpinit"]) ? $_POST["sfsi_plus_rectpinit"] : 'no';
|
604 |
+
$sfsi_plus_rectfbshare = isset($_POST["sfsi_plus_rectfbshare"]) ? $_POST["sfsi_plus_rectfbshare"] : 'no';
|
605 |
|
606 |
$up_option8=array(
|
607 |
'sfsi_plus_show_via_widget' => sanitize_text_field($sfsi_plus_show_via_widget),
|
633 |
'sfsi_plus_rectgp' => sanitize_text_field($sfsi_plus_rectgp),
|
634 |
'sfsi_plus_rectshr' => sanitize_text_field($sfsi_plus_rectshr),
|
635 |
'sfsi_plus_recttwtr' => sanitize_text_field($sfsi_plus_recttwtr),
|
636 |
+
'sfsi_plus_rectpinit' => sanitize_text_field($sfsi_plus_rectpinit),
|
637 |
+
'sfsi_plus_rectfbshare' => sanitize_text_field($sfsi_plus_rectfbshare)
|
638 |
);
|
639 |
update_option('sfsi_plus_section8_options',serialize($up_option8));
|
640 |
header('Content-Type: application/json');
|
1005 |
return strip_tags(trim($value));
|
1006 |
}
|
1007 |
//Sanitize color code
|
1008 |
+
if(@!function_exists("sfsi_plus_sanitize_hex_color"))
|
1009 |
{
|
1010 |
function sfsi_plus_sanitize_hex_color( $color )
|
1011 |
{
|
libs/controllers/sfsiocns_OnPosts.php
CHANGED
@@ -37,6 +37,10 @@ function sfsi_plus_social_buttons_below($content)
|
|
37 |
{
|
38 |
$sfsi_section8['sfsi_plus_rectpinit'] = 'no';
|
39 |
}
|
|
|
|
|
|
|
|
|
40 |
//checking for standard icons
|
41 |
|
42 |
/* check if option activated in admin or not */
|
@@ -65,7 +69,7 @@ function sfsi_plus_social_buttons_below($content)
|
|
65 |
$txt=(isset($sfsi_section8['sfsi_plus_textBefor_icons']))? $sfsi_section8['sfsi_plus_textBefor_icons'] : "Please follow and like us:" ;
|
66 |
//$float= $sfsi_section6['sfsi_plus_icons_alignment'];
|
67 |
$float= $sfsi_section8['sfsi_plus_icons_alignment'];
|
68 |
-
if($sfsi_section8['sfsi_plus_rectsub'] == 'yes' || $sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['sfsi_plus_rectgp'] == 'yes' || $sfsi_section8['sfsi_plus_rectshr'] == 'yes' || $sfsi_section8['sfsi_plus_recttwtr'] == 'yes' || $sfsi_section8['sfsi_plus_rectpinit'] == 'yes')
|
69 |
{
|
70 |
$icons="<div class='sfsi_plus_Sicons ".$float."' style='float:".$float."'><div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
71 |
}
|
@@ -75,12 +79,13 @@ function sfsi_plus_social_buttons_below($content)
|
|
75 |
if(!isset($sfsiLikeWithsub)){$sfsiLikeWithsub = $sfsiLikeWith;}
|
76 |
$icons.="<div class='sf_subscrbe' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_Subscribelike($permalink,$show_count)."</div>";
|
77 |
}
|
78 |
-
if($sfsi_section8['sfsi_plus_rectfb'] == 'yes')
|
79 |
{
|
80 |
if($show_count){}else{$sfsiLikeWithfb = "48px";}
|
81 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
82 |
$icons.="<div class='sf_fb' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
83 |
}
|
|
|
84 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
85 |
{
|
86 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
@@ -197,15 +202,30 @@ function sfsi_plus_FBlike($permalink,$show_count)
|
|
197 |
{
|
198 |
$send = 'false';
|
199 |
$width = 180;
|
200 |
-
|
201 |
-
$fb_like_html = '
|
202 |
-
if($
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
}
|
210 |
|
211 |
/* create pinit button */
|
@@ -220,8 +240,8 @@ function sfsi_plus_pinitpinterest($permalink,$show_count)
|
|
220 |
{
|
221 |
$pinit_html .= 'count-layout="none"';
|
222 |
}
|
223 |
-
$pinit_html .= '><img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png"
|
224 |
-
|
225 |
return $pinit_html;
|
226 |
}
|
227 |
|
@@ -324,7 +344,12 @@ function sfsi_plus_footer_script()
|
|
324 |
{
|
325 |
$sfsi_section8['sfsi_plus_rectpinit'] = 'no';
|
326 |
}
|
327 |
-
if($
|
|
|
|
|
|
|
|
|
|
|
328 |
{?>
|
329 |
<!--facebook like and share js -->
|
330 |
<div id="fb-root"></div>
|
37 |
{
|
38 |
$sfsi_section8['sfsi_plus_rectpinit'] = 'no';
|
39 |
}
|
40 |
+
if(!isset($sfsi_section8['sfsi_plus_rectfbshare']))
|
41 |
+
{
|
42 |
+
$sfsi_section8['sfsi_plus_rectfbshare'] = 'no';
|
43 |
+
}
|
44 |
//checking for standard icons
|
45 |
|
46 |
/* check if option activated in admin or not */
|
69 |
$txt=(isset($sfsi_section8['sfsi_plus_textBefor_icons']))? $sfsi_section8['sfsi_plus_textBefor_icons'] : "Please follow and like us:" ;
|
70 |
//$float= $sfsi_section6['sfsi_plus_icons_alignment'];
|
71 |
$float= $sfsi_section8['sfsi_plus_icons_alignment'];
|
72 |
+
if($sfsi_section8['sfsi_plus_rectsub'] == 'yes' || $sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['sfsi_plus_rectgp'] == 'yes' || $sfsi_section8['sfsi_plus_rectshr'] == 'yes' || $sfsi_section8['sfsi_plus_recttwtr'] == 'yes' || $sfsi_section8['sfsi_plus_rectpinit'] == 'yes' || $sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
73 |
{
|
74 |
$icons="<div class='sfsi_plus_Sicons ".$float."' style='float:".$float."'><div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
75 |
}
|
79 |
if(!isset($sfsiLikeWithsub)){$sfsiLikeWithsub = $sfsiLikeWith;}
|
80 |
$icons.="<div class='sf_subscrbe' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_Subscribelike($permalink,$show_count)."</div>";
|
81 |
}
|
82 |
+
if($sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
83 |
{
|
84 |
if($show_count){}else{$sfsiLikeWithfb = "48px";}
|
85 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
86 |
$icons.="<div class='sf_fb' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
87 |
}
|
88 |
+
|
89 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
90 |
{
|
91 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
202 |
{
|
203 |
$send = 'false';
|
204 |
$width = 180;
|
205 |
+
$option8= unserialize(get_option('sfsi_plus_section8_options',false));
|
206 |
+
$fb_like_html = '';
|
207 |
+
if($option8['sfsi_plus_rectfbshare'] == 'yes' && $option8['sfsi_plus_rectfb'] == 'yes')
|
208 |
+
{
|
209 |
+
$fb_like_html .='<div class="fb-like" href="'.$permalink.'" width="'.$width.'" send="'.$send.'" showfaces="false" action="like" data-share="true"';
|
210 |
+
}
|
211 |
+
else if($option8['sfsi_plus_rectfb'] == 'no' && $option8['sfsi_plus_rectfbshare'] == 'yes')
|
212 |
+
{
|
213 |
+
$fb_like_html .= '<div class="fb-share-button" href="'.$permalink.'" width="'.$width.'" send="'.$send.'" ';
|
214 |
+
}
|
215 |
+
else
|
216 |
+
{
|
217 |
+
$fb_like_html .= '<div class="fb-like" href="'.$permalink.'" width="'.$width.'" send="'.$send.'" showfaces="false" action="like" data-share="false"';
|
218 |
+
}
|
219 |
+
if($show_count==1)
|
220 |
+
{
|
221 |
+
$fb_like_html .= 'data-layout="button_count"';
|
222 |
+
}
|
223 |
+
else
|
224 |
+
{
|
225 |
+
$fb_like_html .= 'data-layout="button"';
|
226 |
+
}
|
227 |
+
$fb_like_html .= ' ></div>';
|
228 |
+
return $fb_like_html;
|
229 |
}
|
230 |
|
231 |
/* create pinit button */
|
240 |
{
|
241 |
$pinit_html .= 'count-layout="none"';
|
242 |
}
|
243 |
+
$pinit_html .= '><img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png" /></a>';
|
244 |
+
|
245 |
return $pinit_html;
|
246 |
}
|
247 |
|
344 |
{
|
345 |
$sfsi_section8['sfsi_plus_rectpinit'] = 'no';
|
346 |
}
|
347 |
+
if(!isset($sfsi_section8['sfsi_plus_rectfbshare']))
|
348 |
+
{
|
349 |
+
$sfsi_section8['sfsi_plus_rectfbshare'] = 'no';
|
350 |
+
}
|
351 |
+
|
352 |
+
if($sfsi_section1['sfsi_plus_facebook_display']=="yes" || $sfsi_section8['sfsi_plus_rectfb'] == "yes" || $sfsi_section8['sfsi_plus_rectfbshare'] = "yes")
|
353 |
{?>
|
354 |
<!--facebook like and share js -->
|
355 |
<div id="fb-root"></div>
|
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", "2.
|
16 |
|
17 |
/*show notification*/
|
18 |
if(!get_option('sfsi_plus_show_notification'))
|
@@ -75,9 +75,16 @@ function sfsi_plus_update_plugin()
|
|
75 |
$option8['sfsi_plus_icons_floatMargin_right'] = '';
|
76 |
update_option('sfsi_plus_section8_options', serialize($option8));
|
77 |
}
|
78 |
-
if(isset($option8) && !empty($option8)
|
79 |
{
|
80 |
-
$option8['sfsi_plus_rectpinit']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
update_option('sfsi_plus_section8_options', serialize($option8));
|
82 |
}
|
83 |
|
@@ -344,7 +351,8 @@ function sfsi_plus_activate_plugin()
|
|
344 |
'sfsi_plus_rectgp'=>'yes',
|
345 |
'sfsi_plus_rectshr'=>'no',
|
346 |
'sfsi_plus_recttwtr'=>'yes',
|
347 |
-
'sfsi_plus_rectpinit'=>'yes'
|
|
|
348 |
add_option('sfsi_plus_section8_options', serialize($options8));
|
349 |
|
350 |
/*Some additional option added*/
|
@@ -530,9 +538,9 @@ function sfsi_plus_check_wp_head() {
|
|
530 |
$path=pathinfo($_SERVER['REQUEST_URI']);
|
531 |
if($path['basename']=="themes.php" || $path['basename']=="theme-editor.php" || $path['basename']=="admin.php?page=sfsi-plus-options")
|
532 |
{
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
}
|
537 |
}
|
538 |
/* admin notice if wp_footer is missing in active theme */
|
@@ -554,8 +562,7 @@ function sfsi_plus_check_wp_footer() {
|
|
554 |
|
555 |
if($path['basename']=="themes.php" || $path['basename']=="theme-editor.php" || $path['basename']=="admin.php?page=sfsi-plus-options")
|
556 |
{
|
557 |
-
|
558 |
-
echo "<div class=\"error\" ><p>".__("Error : Please fix your theme to make plugins work correctly. Go to the <a href=\"theme-editor.php\">Theme Editor</a> and insert <code><?php wp_footer(); ?></code> as the first line of your theme's <code>footer.php</code> file.", SFSI_PLUS_DOMAIN)."</p></div>";
|
559 |
}
|
560 |
}
|
561 |
}
|
@@ -566,7 +573,7 @@ function sfsi_plus_activation_msg()
|
|
566 |
|
567 |
if(get_option('sfsi_plus_activate',false)==1)
|
568 |
{
|
569 |
-
echo "<div class='updated'
|
570 |
update_option('sfsi_plus_activate',0);
|
571 |
}
|
572 |
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_plus_pluginVersion", "2.34");
|
16 |
|
17 |
/*show notification*/
|
18 |
if(!get_option('sfsi_plus_show_notification'))
|
75 |
$option8['sfsi_plus_icons_floatMargin_right'] = '';
|
76 |
update_option('sfsi_plus_section8_options', serialize($option8));
|
77 |
}
|
78 |
+
if(isset($option8) && !empty($option8))
|
79 |
{
|
80 |
+
if(!isset($option8['sfsi_plus_rectpinit']))
|
81 |
+
{
|
82 |
+
$option8['sfsi_plus_rectpinit'] = 'no';
|
83 |
+
}
|
84 |
+
if(!isset($option8['sfsi_plus_rectfbshare']))
|
85 |
+
{
|
86 |
+
$option8['sfsi_plus_rectfbshare'] = 'no';
|
87 |
+
}
|
88 |
update_option('sfsi_plus_section8_options', serialize($option8));
|
89 |
}
|
90 |
|
351 |
'sfsi_plus_rectgp'=>'yes',
|
352 |
'sfsi_plus_rectshr'=>'no',
|
353 |
'sfsi_plus_recttwtr'=>'yes',
|
354 |
+
'sfsi_plus_rectpinit'=>'yes',
|
355 |
+
'sfsi_plus_rectfbshare'=>'yes');
|
356 |
add_option('sfsi_plus_section8_options', serialize($options8));
|
357 |
|
358 |
/*Some additional option added*/
|
538 |
$path=pathinfo($_SERVER['REQUEST_URI']);
|
539 |
if($path['basename']=="themes.php" || $path['basename']=="theme-editor.php" || $path['basename']=="admin.php?page=sfsi-plus-options")
|
540 |
{
|
541 |
+
echo "<div class=\"error\" ><p>". __( 'Error : Please fix your theme to make plugins work correctly. Go to the Theme Editor and insert <?php wp_head(); ?> just before the </head> line of your theme`s header.php file.', SFSI_PLUS_DOMAIN )."<a href=\"theme-editor.php\">".__('Go to your theme editor: click here.', SFSI_PLUS_DOMAIN )."</a></p></div>";
|
542 |
+
|
543 |
+
}
|
544 |
}
|
545 |
}
|
546 |
/* admin notice if wp_footer is missing in active theme */
|
562 |
|
563 |
if($path['basename']=="themes.php" || $path['basename']=="theme-editor.php" || $path['basename']=="admin.php?page=sfsi-plus-options")
|
564 |
{
|
565 |
+
echo "<div class=\"error\" ><p>". __("Error : Please fix your theme to make plugins work correctly. Go to the Theme Editor and insert <?php wp_footer(); ?> as the first line of your theme's footer.php file.", SFSI_PLUS_DOMAIN)."<a href=\"theme-editor.php\">".__('Go to your theme editor: click here.', SFSI_PLUS_DOMAIN )."</a></p></div>";
|
|
|
566 |
}
|
567 |
}
|
568 |
}
|
573 |
|
574 |
if(get_option('sfsi_plus_activate',false)==1)
|
575 |
{
|
576 |
+
echo "<div class='updated'><p>".__("Thank you for installing the Ultimate Social Media PLUS plugin. Please go to the plugin's settings page to configure it: ",SFSI_PLUS_DOMAIN)."<b><a href='admin.php?page=sfsi-plus-options'>".__("Click here",SFSI_PLUS_DOMAIN)."</a></b></p></div>";
|
577 |
update_option('sfsi_plus_activate',0);
|
578 |
}
|
579 |
|
libs/sfsi_widget.php
CHANGED
@@ -102,9 +102,8 @@ class Sfsi_Plus_Widget extends WP_Widget
|
|
102 |
<input type="hidden" value="<?php echo $instance['showf'] ?>" id="<?php echo $this->get_field_id( 'showf' ); ?>" name="<?php echo $this->get_field_name( 'showf' ); ?>" />
|
103 |
</p>
|
104 |
<p>
|
105 |
-
<?php
|
106 |
-
|
107 |
-
?>
|
108 |
</p>
|
109 |
<?php
|
110 |
}
|
102 |
<input type="hidden" value="<?php echo $instance['showf'] ?>" id="<?php echo $this->get_field_id( 'showf' ); ?>" name="<?php echo $this->get_field_name( 'showf' ); ?>" />
|
103 |
</p>
|
104 |
<p>
|
105 |
+
<?php _e('Please go to the plugin page to set your preferences:',SFSI_PLUS_DOMAIN); ?>
|
106 |
+
<a href="admin.php?page=sfsi-plus-options"><?php _e('Click here', SFSI_PLUS_DOMAIN); ?></a>
|
|
|
107 |
</p>
|
108 |
<?php
|
109 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=seb.r
|
|
4 |
Tags: social media, facebook, instagram, youtube, twitter, share, social share, buttons, counter, pop-up, subscription, icons
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.4.2
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -372,6 +372,10 @@ Plugin adalah gratis dan sangat mudah digunakan.
|
|
372 |
|
373 |
== Changelog ==
|
374 |
|
|
|
|
|
|
|
|
|
375 |
= 2.3.3 =
|
376 |
* Removed the js files from plugin and using the ones provided by WP now
|
377 |
* POST calls optimized (sanitize, escape, validate)
|
@@ -502,5 +506,5 @@ Plugin adalah gratis dan sangat mudah digunakan.
|
|
502 |
|
503 |
== Upgrade Notice ==
|
504 |
|
505 |
-
= 2.3.
|
506 |
-
*
|
4 |
Tags: social media, facebook, instagram, youtube, twitter, share, social share, buttons, counter, pop-up, subscription, icons
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.4.2
|
7 |
+
Stable tag: 2.3.4
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
372 |
|
373 |
== Changelog ==
|
374 |
|
375 |
+
= 2.3.4 =
|
376 |
+
* Plugin updated for translations
|
377 |
+
* E-NOTICE error fixed
|
378 |
+
|
379 |
= 2.3.3 =
|
380 |
* Removed the js files from plugin and using the ones provided by WP now
|
381 |
* POST calls optimized (sanitize, escape, validate)
|
506 |
|
507 |
== Upgrade Notice ==
|
508 |
|
509 |
+
= 2.3.4 =
|
510 |
+
* Upgrade if you faced issues
|
ultimate_social_media_icons.php
CHANGED
@@ -6,7 +6,7 @@ Description: The best social media plugin on the market. And 100% FREE. Allows y
|
|
6 |
Author: UltimatelySocial
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Author URI: http://ultimatelysocial.com
|
9 |
-
Version: 2.3.
|
10 |
License: GPLv2
|
11 |
*/
|
12 |
|
@@ -36,7 +36,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
|
|
36 |
register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
37 |
|
38 |
/*Plugin version setup*/
|
39 |
-
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.
|
40 |
{
|
41 |
add_action("init", "sfsi_plus_update_plugin");
|
42 |
}
|
@@ -346,6 +346,10 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
346 |
{
|
347 |
$sfsi_section8['sfsi_plus_rectpinit'] = 'no';
|
348 |
}
|
|
|
|
|
|
|
|
|
349 |
|
350 |
//checking for standard icons
|
351 |
$txt=(isset($sfsi_section8['sfsi_plus_textBefor_icons']))? $sfsi_section8['sfsi_plus_textBefor_icons'] : "Please follow and like us:" ;
|
@@ -377,7 +381,8 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
377 |
$sfsi_section8['sfsi_plus_rectgp'] == 'yes' ||
|
378 |
$sfsi_section8['sfsi_plus_rectshr'] == 'yes' ||
|
379 |
$sfsi_section8['sfsi_plus_recttwtr'] == 'yes' ||
|
380 |
-
$sfsi_section8['sfsi_plus_rectpinit'] == 'yes'
|
|
|
381 |
)
|
382 |
{
|
383 |
$icons_before .= "<div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
@@ -388,12 +393,18 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
388 |
if(!isset($sfsiLikeWithsub)){$sfsiLikeWithsub = $sfsiLikeWith;}
|
389 |
$icons_before.="<div class='sf_subscrbe' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_Subscribelike($permalink,$show_count)."</div>";
|
390 |
}
|
391 |
-
if($sfsi_section8['sfsi_plus_rectfb'] == 'yes')
|
392 |
{
|
393 |
if($show_count){}else{$sfsiLikeWithfb = "48px";}
|
394 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
395 |
$icons_before .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
396 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
397 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
398 |
{
|
399 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
@@ -447,7 +458,8 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
447 |
$sfsi_section8['sfsi_plus_rectgp'] == 'yes' ||
|
448 |
$sfsi_section8['sfsi_plus_rectshr'] == 'yes' ||
|
449 |
$sfsi_section8['sfsi_plus_recttwtr'] == 'yes' ||
|
450 |
-
$sfsi_section8['sfsi_plus_rectpinit'] == 'yes'
|
|
|
451 |
)
|
452 |
{
|
453 |
$icons_after .= "<div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
@@ -458,12 +470,18 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
458 |
if(!isset($sfsiLikeWithsub)){$sfsiLikeWithsub = $sfsiLikeWith;}
|
459 |
$icons_after.="<div class='sf_subscrbe' style='display: inline-block;vertical-align: middle; width: auto;'>".sfsi_plus_Subscribelike($permalink,$show_count)."</div>";
|
460 |
}
|
461 |
-
if($sfsi_section8['sfsi_plus_rectfb'] == 'yes')
|
462 |
{
|
463 |
if($show_count){}else{$sfsiLikeWithfb = "48px";}
|
464 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
465 |
$icons_after .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
466 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
467 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
468 |
{
|
469 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
@@ -556,19 +574,10 @@ function sfsi_plus_admin_notice()
|
|
556 |
?>
|
557 |
<div class="error" style="<?php echo $style; ?>">
|
558 |
<div class="alignleft" style="margin: 9px 0;">
|
559 |
-
<?php
|
560 |
-
|
561 |
-
'
|
562 |
-
|
563 |
-
);
|
564 |
-
?>
|
565 |
-
<a href="mailto:support@ultimatelysocial.com">support@ultimatelysocial.com</a>
|
566 |
-
<?php
|
567 |
-
_e(
|
568 |
-
'and state the error code you see below.',
|
569 |
-
SFSI_PLUS_DOMAIN
|
570 |
-
);
|
571 |
-
?>
|
572 |
<p style="text-align:left">
|
573 |
<b><?php _e('Error', SFSI_PLUS_DOMAIN); ?>: <?php echo ucfirst(get_option("sfsi_plus_curlErrorMessage")); ?></b>
|
574 |
</p>
|
6 |
Author: UltimatelySocial
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Author URI: http://ultimatelysocial.com
|
9 |
+
Version: 2.3.4
|
10 |
License: GPLv2
|
11 |
*/
|
12 |
|
36 |
register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
37 |
|
38 |
/*Plugin version setup*/
|
39 |
+
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.34)
|
40 |
{
|
41 |
add_action("init", "sfsi_plus_update_plugin");
|
42 |
}
|
346 |
{
|
347 |
$sfsi_section8['sfsi_plus_rectpinit'] = 'no';
|
348 |
}
|
349 |
+
if(!isset($sfsi_section8['sfsi_plus_rectfbshare']))
|
350 |
+
{
|
351 |
+
$sfsi_section8['sfsi_plus_rectfbshare'] = 'no';
|
352 |
+
}
|
353 |
|
354 |
//checking for standard icons
|
355 |
$txt=(isset($sfsi_section8['sfsi_plus_textBefor_icons']))? $sfsi_section8['sfsi_plus_textBefor_icons'] : "Please follow and like us:" ;
|
381 |
$sfsi_section8['sfsi_plus_rectgp'] == 'yes' ||
|
382 |
$sfsi_section8['sfsi_plus_rectshr'] == 'yes' ||
|
383 |
$sfsi_section8['sfsi_plus_recttwtr'] == 'yes' ||
|
384 |
+
$sfsi_section8['sfsi_plus_rectpinit'] == 'yes' ||
|
385 |
+
$sfsi_section8['sfsi_plus_rectfbshare'] == 'yes'
|
386 |
)
|
387 |
{
|
388 |
$icons_before .= "<div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
393 |
if(!isset($sfsiLikeWithsub)){$sfsiLikeWithsub = $sfsiLikeWith;}
|
394 |
$icons_before.="<div class='sf_subscrbe' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_Subscribelike($permalink,$show_count)."</div>";
|
395 |
}
|
396 |
+
if($sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
397 |
{
|
398 |
if($show_count){}else{$sfsiLikeWithfb = "48px";}
|
399 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
400 |
$icons_before .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
401 |
}
|
402 |
+
/*if($sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
403 |
+
{
|
404 |
+
if($show_count){}else{$sfsiLikeWithfbshare = "48px";}
|
405 |
+
if(!isset($sfsiLikeWithfbshare)){$sfsiLikeWithfbshare = $sfsiLikeWith;}
|
406 |
+
$icons_before .= "<div class='sf_fbshare' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
407 |
+
}*/
|
408 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
409 |
{
|
410 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
458 |
$sfsi_section8['sfsi_plus_rectgp'] == 'yes' ||
|
459 |
$sfsi_section8['sfsi_plus_rectshr'] == 'yes' ||
|
460 |
$sfsi_section8['sfsi_plus_recttwtr'] == 'yes' ||
|
461 |
+
$sfsi_section8['sfsi_plus_rectpinit'] == 'yes' ||
|
462 |
+
$sfsi_section8['sfsi_plus_rectfbshare'] == 'yes'
|
463 |
)
|
464 |
{
|
465 |
$icons_after .= "<div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>".$txt."</span></div>";
|
470 |
if(!isset($sfsiLikeWithsub)){$sfsiLikeWithsub = $sfsiLikeWith;}
|
471 |
$icons_after.="<div class='sf_subscrbe' style='display: inline-block;vertical-align: middle; width: auto;'>".sfsi_plus_Subscribelike($permalink,$show_count)."</div>";
|
472 |
}
|
473 |
+
if($sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
474 |
{
|
475 |
if($show_count){}else{$sfsiLikeWithfb = "48px";}
|
476 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
477 |
$icons_after .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
478 |
}
|
479 |
+
/*if($sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
480 |
+
{
|
481 |
+
if($show_count){}else{$sfsiLikeWithfbshare = "48px";}
|
482 |
+
if(!isset($sfsiLikeWithfbshare)){$sfsiLikeWithfbshare = $sfsiLikeWith;}
|
483 |
+
$icons_before .= "<div class='sf_fbshare' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
484 |
+
}*/
|
485 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
486 |
{
|
487 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
574 |
?>
|
575 |
<div class="error" style="<?php echo $style; ?>">
|
576 |
<div class="alignleft" style="margin: 9px 0;">
|
577 |
+
<?php _e('There seems to be an error on your website which prevents the plugin to work properly. Please check the FAQ:', SFSI_PLUS_DOMAIN ); ?>
|
578 |
+
<a href="http://www.ultimatelysocial.com/faq">
|
579 |
+
<?php _e('Click here',SFSI_PLUS_DOMAIN); ?>
|
580 |
+
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
581 |
<p style="text-align:left">
|
582 |
<b><?php _e('Error', SFSI_PLUS_DOMAIN); ?>: <?php echo ucfirst(get_option("sfsi_plus_curlErrorMessage")); ?></b>
|
583 |
</p>
|
views/sfsi_option_view1.php
CHANGED
@@ -44,7 +44,7 @@
|
|
44 |
<div class="tab1" >
|
45 |
<p class="top_txt">
|
46 |
<?php
|
47 |
-
_e( 'In general,
|
48 |
?>
|
49 |
</p>
|
50 |
<ul class="plus_icn_listing">
|
@@ -119,7 +119,8 @@
|
|
119 |
</span>
|
120 |
<div class="sfsiplus_right_info">
|
121 |
<p>
|
122 |
-
|
|
|
123 |
|
124 |
<label class="expanded-area" >
|
125 |
<?php _e( 'Facebook is the giant in the social media world, and even if you don’t have a Facebook account yourself you should display this icon, so that Facebook users can share your site on Facebook.', SFSI_PLUS_DOMAIN); ?>
|
@@ -140,7 +141,8 @@
|
|
140 |
</span>
|
141 |
<div class="sfsiplus_right_info">
|
142 |
<p>
|
143 |
-
|
|
|
144 |
|
145 |
<label class="expanded-area" >
|
146 |
<?php _e( 'If you have a Twitter-account then adding this icon is a no-brainer. However, similar as with facebook, even if you don’t have one you should still show this icon so that Twitter-users can share your site.', SFSI_PLUS_DOMAIN); ?>
|
@@ -162,7 +164,8 @@
|
|
162 |
</span>
|
163 |
<div class="sfsiplus_right_info">
|
164 |
<p>
|
165 |
-
|
|
|
166 |
<label class="expanded-area" ></label>
|
167 |
</p>
|
168 |
</div>
|
@@ -179,9 +182,8 @@
|
|
179 |
</span>
|
180 |
<div class="sfsiplus_right_info">
|
181 |
<p>
|
182 |
-
|
183 |
-
|
184 |
-
?>
|
185 |
</p>
|
186 |
</div>
|
187 |
</li>
|
@@ -197,9 +199,8 @@
|
|
197 |
</span>
|
198 |
<div class="sfsiplus_right_info">
|
199 |
<p>
|
200 |
-
|
201 |
-
|
202 |
-
?>
|
203 |
</p>
|
204 |
</div>
|
205 |
</li>
|
@@ -215,7 +216,8 @@
|
|
215 |
</span>
|
216 |
<div class="sfsiplus_right_info">
|
217 |
<p>
|
218 |
-
|
|
|
219 |
</p>
|
220 |
</div>
|
221 |
</li>
|
@@ -229,7 +231,8 @@
|
|
229 |
</span>
|
230 |
<div class="sfsiplus_right_info">
|
231 |
<p>
|
232 |
-
|
|
|
233 |
</p>
|
234 |
</div>
|
235 |
</li>
|
@@ -245,7 +248,8 @@
|
|
245 |
</span>
|
246 |
<div class="sfsiplus_right_info">
|
247 |
<p>
|
248 |
-
|
|
|
249 |
|
250 |
<label class="expanded-area" >
|
251 |
<?php _e( 'Everybody uses email – that’s why it’s', SFSI_PLUS_DOMAIN); ?>
|
@@ -280,13 +284,13 @@
|
|
280 |
</span>
|
281 |
<div class="sfsiplus_right_info">
|
282 |
<p>
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
</p>
|
291 |
</div>
|
292 |
</li>
|
@@ -325,9 +329,8 @@
|
|
325 |
</span>
|
326 |
<div class="sfsiplus_right_info">
|
327 |
<p>
|
328 |
-
|
329 |
-
|
330 |
-
?>
|
331 |
</p>
|
332 |
</div>
|
333 |
</li>
|
@@ -351,9 +354,8 @@
|
|
351 |
|
352 |
<div class="sfsiplus_right_info">
|
353 |
<p>
|
354 |
-
|
355 |
-
|
356 |
-
?>
|
357 |
</p>
|
358 |
</div>
|
359 |
</li>
|
44 |
<div class="tab1" >
|
45 |
<p class="top_txt">
|
46 |
<?php
|
47 |
+
_e( 'In general, the more icons you offer the better because people have different preferences, and more options means that there’s something for everybody, increasing the chances that you get followed and/or shared.', SFSI_PLUS_DOMAIN);
|
48 |
?>
|
49 |
</p>
|
50 |
<ul class="plus_icn_listing">
|
119 |
</span>
|
120 |
<div class="sfsiplus_right_info">
|
121 |
<p>
|
122 |
+
<span><?php _e( 'Strongly recommended:', SFSI_PLUS_DOMAIN); ?></span>
|
123 |
+
<?php _e( 'Facebook is crucial, esp. for sharing.', SFSI_PLUS_DOMAIN); ?>
|
124 |
|
125 |
<label class="expanded-area" >
|
126 |
<?php _e( 'Facebook is the giant in the social media world, and even if you don’t have a Facebook account yourself you should display this icon, so that Facebook users can share your site on Facebook.', SFSI_PLUS_DOMAIN); ?>
|
141 |
</span>
|
142 |
<div class="sfsiplus_right_info">
|
143 |
<p>
|
144 |
+
<span><?php _e( 'Strongly recommended:', SFSI_PLUS_DOMAIN); ?></span>
|
145 |
+
<?php _e( 'Can have a strong promotional effect.', SFSI_PLUS_DOMAIN); ?>
|
146 |
|
147 |
<label class="expanded-area" >
|
148 |
<?php _e( 'If you have a Twitter-account then adding this icon is a no-brainer. However, similar as with facebook, even if you don’t have one you should still show this icon so that Twitter-users can share your site.', SFSI_PLUS_DOMAIN); ?>
|
164 |
</span>
|
165 |
<div class="sfsiplus_right_info">
|
166 |
<p>
|
167 |
+
<span><?php _e( 'Strongly recommended:', SFSI_PLUS_DOMAIN); ?></span>
|
168 |
+
<?php _e( 'Increasingly important and beneficial for SEO.', SFSI_PLUS_DOMAIN); ?>
|
169 |
<label class="expanded-area" ></label>
|
170 |
</p>
|
171 |
</div>
|
182 |
</span>
|
183 |
<div class="sfsiplus_right_info">
|
184 |
<p>
|
185 |
+
<span><?php _e( 'It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
186 |
+
<?php _e( 'Show this icon if you have a youtube account (and you should set up one if you have video content – that can increase your traffic significantly).', SFSI_PLUS_DOMAIN); ?>
|
|
|
187 |
</p>
|
188 |
</div>
|
189 |
</li>
|
199 |
</span>
|
200 |
<div class="sfsiplus_right_info">
|
201 |
<p>
|
202 |
+
<span><?php _e( 'It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
203 |
+
<?php _e( 'No.1 network for business purposes. Use this icon if you’re a LinkedInner.', SFSI_PLUS_DOMAIN); ?>
|
|
|
204 |
</p>
|
205 |
</div>
|
206 |
</li>
|
216 |
</span>
|
217 |
<div class="sfsiplus_right_info">
|
218 |
<p>
|
219 |
+
<span><?php _e( 'It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
220 |
+
<?php _e('Show this icon if you have a Pinterest account (and you should set up one if you have publish new pictures regularly – that can increase your traffic significantly).', SFSI_PLUS_DOMAIN); ?>
|
221 |
</p>
|
222 |
</div>
|
223 |
</li>
|
231 |
</span>
|
232 |
<div class="sfsiplus_right_info">
|
233 |
<p>
|
234 |
+
<span><?php _e( 'It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
235 |
+
<?php _e('Show this icon if you have a Instagram account.', SFSI_PLUS_DOMAIN); ?>
|
236 |
</p>
|
237 |
</div>
|
238 |
</li>
|
248 |
</span>
|
249 |
<div class="sfsiplus_right_info">
|
250 |
<p>
|
251 |
+
<span><?php _e( 'It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
252 |
+
<?php _e('Third-party service AddThis allows your visitors to share via many other social networks, however it may also slow down your site a bit.', SFSI_PLUS_DOMAIN); ?>
|
253 |
|
254 |
<label class="expanded-area" >
|
255 |
<?php _e( 'Everybody uses email – that’s why it’s', SFSI_PLUS_DOMAIN); ?>
|
284 |
</span>
|
285 |
<div class="sfsiplus_right_info">
|
286 |
<p>
|
287 |
+
<span><?php _e( 'It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
288 |
+
<?php _e('Show this icon if you have a Houzz account.', SFSI_PLUS_DOMAIN); ?>
|
289 |
+
|
290 |
+
<?php _e( 'Houzz is the No.1 site & community in the world of architecture and interior design.', SFSI_PLUS_DOMAIN); ?>
|
291 |
+
<a href="http://www.houzz.com/" target="_blank">
|
292 |
+
<?php _e('click here',SFSI_PLUS_DOMAIN); ?>
|
293 |
+
</a>
|
294 |
</p>
|
295 |
</div>
|
296 |
</li>
|
329 |
</span>
|
330 |
<div class="sfsiplus_right_info">
|
331 |
<p>
|
332 |
+
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
333 |
+
<?php _e('Upload a custom icon if you have other accounts/websites you want to link to.', SFSI_PLUS_DOMAIN); ?>
|
|
|
334 |
</p>
|
335 |
</div>
|
336 |
</li>
|
354 |
|
355 |
<div class="sfsiplus_right_info">
|
356 |
<p>
|
357 |
+
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
358 |
+
<?php _e('Upload a custom icon if you have other accounts/websites you want to link to.', SFSI_PLUS_DOMAIN); ?>
|
|
|
359 |
</p>
|
360 |
</div>
|
361 |
</li>
|
views/sfsi_option_view2.php
CHANGED
@@ -141,8 +141,7 @@
|
|
141 |
</h4>
|
142 |
<input name="sfsi_plus_rss_url" id="sfsi_plus_rss_url" class="add" type="url" value="<?php echo ($option2['sfsi_plus_rss_url']!='') ? $option2['sfsi_plus_rss_url'] : '' ;?>" placeholder="E.g http://www.yoursite.com/feed" />
|
143 |
<span class="sfrsTxt" >
|
144 |
-
<?php _e( 'For most blogs it’s', SFSI_PLUS_DOMAIN); ?>
|
145 |
-
<strong> http://blogname.com/feed </strong>
|
146 |
</span>
|
147 |
</div>
|
148 |
</div>
|
@@ -159,26 +158,17 @@
|
|
159 |
Email
|
160 |
</h2>
|
161 |
<div class="inr_cont">
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
<?php _e('claim your feed', SFSI_PLUS_DOMAIN ); ?>
|
174 |
-
</a>
|
175 |
-
<?php _e('for that) and it also make sense if you already offer an email newsletter',SFSI_PLUS_DOMAIN);?>
|
176 |
-
<a href="http://specificfeeds.com/rss" target="_new">
|
177 |
-
<?php _e('(learn more)', SFSI_PLUS_DOMAIN ); ?>
|
178 |
-
</a>.
|
179 |
-
</p>
|
180 |
-
|
181 |
-
<p><?php _e( 'Please pick which icon type you want to use:', SFSI_PLUS_DOMAIN); ?></p>
|
182 |
|
183 |
<ul class="tab_2_email_sec">
|
184 |
<li>
|
@@ -186,7 +176,7 @@
|
|
186 |
<input name="sfsi_plus_rss_icons" <?php echo ($option2['sfsi_plus_rss_icons']=='email') ? 'checked="true"' : '' ;?> type="radio" value="email" class="styled" /><span class="email_icn"></span>
|
187 |
</div>
|
188 |
<label>
|
189 |
-
<?php _e( 'Email
|
190 |
</label>
|
191 |
</li>
|
192 |
<li>
|
@@ -404,13 +394,13 @@
|
|
404 |
<input name="sfsi_plus_ytube_user" type="url" value="<?php echo (isset($option2['sfsi_plus_ytube_user']) && $option2['sfsi_plus_ytube_user']!='') ? $option2['sfsi_plus_ytube_user'] : '' ;?>" placeholder="Youtube username" class="add" />
|
405 |
</p>
|
406 |
<div class="utbe_instruction">
|
407 |
-
<?php _e( 'To find your Username go to "My channel" in Youtube menu bar on the left & Select the "About" tab and take your user name from URL there (e.g. https://www.youtube.com/user
|
408 |
</div>
|
409 |
</div>
|
410 |
<div class="cstmutbchnlidwpr" <?php if($sfsi_plus_youtubeusernameorid == 'id'){echo 'style="display: block"';}?>>
|
411 |
<p class="extra_pp">
|
412 |
<label>
|
413 |
-
<?php _e( '
|
414 |
</label>
|
415 |
<input name="sfsi_plus_ytube_chnlid" type="url" value="<?php echo (isset($option2['sfsi_plus_ytube_chnlid']) && $option2['sfsi_plus_ytube_chnlid']!='') ? $option2['sfsi_plus_ytube_chnlid'] : '' ;?>" placeholder="youtube_channel_id" class="add" />
|
416 |
</p>
|
141 |
</h4>
|
142 |
<input name="sfsi_plus_rss_url" id="sfsi_plus_rss_url" class="add" type="url" value="<?php echo ($option2['sfsi_plus_rss_url']!='') ? $option2['sfsi_plus_rss_url'] : '' ;?>" placeholder="E.g http://www.yoursite.com/feed" />
|
143 |
<span class="sfrsTxt" >
|
144 |
+
<?php _e( 'For most blogs it’s http://blogname.com/feed', SFSI_PLUS_DOMAIN); ?>
|
|
|
145 |
</span>
|
146 |
</div>
|
147 |
</div>
|
158 |
Email
|
159 |
</h2>
|
160 |
<div class="inr_cont">
|
161 |
+
<p>
|
162 |
+
<?php _e('Sends your new posts automatically to subscribers. It`s FREE and you get full access to your subscriber`s emails and interesting statistics:', SFSI_PLUS_DOMAIN ); ?>
|
163 |
+
<a target="_new" href="<?php echo $connectToFeed; ?>">
|
164 |
+
<?php _e('Claim your feed to get full access.', SFSI_PLUS_DOMAIN ); ?>
|
165 |
+
</a>
|
166 |
+
<?php _e('It also makes sense if you already offer an email newsletter:', SFSI_PLUS_DOMAIN ); ?>
|
167 |
+
<a href="http://specificfeeds.com/rss" target="_new">
|
168 |
+
<?php _e('Learn more.', SFSI_PLUS_DOMAIN ); ?>
|
169 |
+
</a>
|
170 |
+
</p>
|
171 |
+
<p><?php _e( 'Please pick which icon type you want to use:', SFSI_PLUS_DOMAIN); ?></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
|
173 |
<ul class="tab_2_email_sec">
|
174 |
<li>
|
176 |
<input name="sfsi_plus_rss_icons" <?php echo ($option2['sfsi_plus_rss_icons']=='email') ? 'checked="true"' : '' ;?> type="radio" value="email" class="styled" /><span class="email_icn"></span>
|
177 |
</div>
|
178 |
<label>
|
179 |
+
<?php _e( 'Email icon', SFSI_PLUS_DOMAIN); ?>
|
180 |
</label>
|
181 |
</li>
|
182 |
<li>
|
394 |
<input name="sfsi_plus_ytube_user" type="url" value="<?php echo (isset($option2['sfsi_plus_ytube_user']) && $option2['sfsi_plus_ytube_user']!='') ? $option2['sfsi_plus_ytube_user'] : '' ;?>" placeholder="Youtube username" class="add" />
|
395 |
</p>
|
396 |
<div class="utbe_instruction">
|
397 |
+
<?php _e( 'To find your Username go to "My channel" in Youtube menu bar on the left & Select the "About" tab and take your user name from URL there (e.g. https://www.youtube.com/user/Tommy it is "Tommy").', SFSI_PLUS_DOMAIN ); ?>
|
398 |
</div>
|
399 |
</div>
|
400 |
<div class="cstmutbchnlidwpr" <?php if($sfsi_plus_youtubeusernameorid == 'id'){echo 'style="display: block"';}?>>
|
401 |
<p class="extra_pp">
|
402 |
<label>
|
403 |
+
<?php _e( 'Channel Id:', SFSI_PLUS_DOMAIN ); ?>
|
404 |
</label>
|
405 |
<input name="sfsi_plus_ytube_chnlid" type="url" value="<?php echo (isset($option2['sfsi_plus_ytube_chnlid']) && $option2['sfsi_plus_ytube_chnlid']!='') ? $option2['sfsi_plus_ytube_chnlid'] : '' ;?>" placeholder="youtube_channel_id" class="add" />
|
406 |
</p>
|
views/sfsi_option_view3.php
CHANGED
@@ -36,15 +36,15 @@
|
|
36 |
</p>
|
37 |
<ul class="tab_3_list">
|
38 |
<li>
|
39 |
-
<?php _e( 'It comes across as
|
40 |
</li>
|
41 |
<li>
|
42 |
-
<?php _e( 'A smart automatic animation can
|
43 |
</li>
|
44 |
</ul>
|
45 |
|
46 |
<p style="padding:0px;">
|
47 |
-
<?php _e( 'The icons have been compressed by
|
48 |
</p>
|
49 |
|
50 |
<div class="row">
|
@@ -303,7 +303,7 @@
|
|
303 |
<!--icon Animation section start -->
|
304 |
<div class="sub_row stand sec_new" style="margin-left: 0px;">
|
305 |
<h3>
|
306 |
-
<?php _e( 'Animate them (your main icons', SFSI_PLUS_DOMAIN ); ?>
|
307 |
</h3>
|
308 |
|
309 |
<p class="radio_section tab_3_option">
|
36 |
</p>
|
37 |
<ul class="tab_3_list">
|
38 |
<li>
|
39 |
+
<?php _e( 'It comes across as more professional gives your site more “credit”', SFSI_PLUS_DOMAIN ); ?>
|
40 |
</li>
|
41 |
<li>
|
42 |
+
<?php _e( 'A smart automatic animation can make your visitors aware of your icons in an unintrusive manner', SFSI_PLUS_DOMAIN ); ?>
|
43 |
</li>
|
44 |
</ul>
|
45 |
|
46 |
<p style="padding:0px;">
|
47 |
+
<?php _e( 'The icons have been compressed by Shortpixel.com for faster loading of your site. Thank you Shortpixel!', SFSI_PLUS_DOMAIN ); ?>
|
48 |
</p>
|
49 |
|
50 |
<div class="row">
|
303 |
<!--icon Animation section start -->
|
304 |
<div class="sub_row stand sec_new" style="margin-left: 0px;">
|
305 |
<h3>
|
306 |
+
<?php _e( 'Animate them (your main icons)', SFSI_PLUS_DOMAIN ); ?>
|
307 |
</h3>
|
308 |
|
309 |
<p class="radio_section tab_3_option">
|
views/sfsi_option_view4.php
CHANGED
@@ -147,10 +147,10 @@
|
|
147 |
<!-- Section 4 "Do you want to display "counts" next to your icons?" main div Start -->
|
148 |
<div class="tab4">
|
149 |
<p>
|
150 |
-
<?php _e('It’s a psychological fact that people like to follow other people
|
151 |
</p>
|
152 |
<p>
|
153 |
-
<?php _e( 'Therefore, you can select to display the count next to your
|
154 |
</p>
|
155 |
|
156 |
<!-- sample icons -->
|
@@ -317,11 +317,11 @@
|
|
317 |
<ul>
|
318 |
<li>
|
319 |
<input name="sfsi_plus_facebook_countsFrom" <?php echo ($option4['sfsi_plus_facebook_countsFrom']=='likes') ? 'checked="true"' : '' ;?> type="radio" value="likes" class="styled" />
|
320 |
-
<?php _e( 'Retrieve the number of likes
|
321 |
</li>
|
322 |
<li>
|
323 |
<input name="sfsi_plus_facebook_countsFrom" <?php echo ($option4['sfsi_plus_facebook_countsFrom']=='mypage') ? 'checked="true"' : '' ;?> type="radio" value="mypage" class="styled" />
|
324 |
-
<?php _e( 'Retrieve the number of likes
|
325 |
<br>
|
326 |
<div class="sfsiplus_fbpgiddesc">
|
327 |
<div class="sfsiplus_fbpgidwpr" style="<?php echo ($option4['sfsi_plus_facebook_countsFrom']=='likes' || $option4['sfsi_plus_facebook_countsFrom']=='followers' || $option4['sfsi_plus_facebook_countsFrom']=='manual') ? 'display:none;' : '' ;?>">
|
@@ -393,7 +393,7 @@
|
|
393 |
</ul>
|
394 |
<ul class="SFSI_instructions">
|
395 |
<li class="tw_follow_options" style="<?php echo ($option4['sfsi_plus_twitter_countsFrom']=='manual') ? 'display:none;' : '' ;?>">
|
396 |
-
<?php _e( 'Please make sure you have entered the
|
397 |
</li>
|
398 |
<li class="tw_follow_options" style="<?php echo ($option4['sfsi_plus_twitter_countsFrom']=='manual') ? 'display:none;' : '' ;?>">
|
399 |
<h3>
|
@@ -467,7 +467,7 @@
|
|
467 |
<ul class="SFSI_instructions">
|
468 |
<li class="google_option" style="<?php echo ($option4['sfsi_plus_twitter_countsFrom']=='manual') ? 'display:none;' : '' ;?>">
|
469 |
<?php
|
470 |
-
_e('Please make sure you have entered the
|
471 |
|
472 |
</li>
|
473 |
<li class="google_option" style="<?php echo ($option4['sfsi_plus_twitter_countsFrom']=='manual') ? 'display:none;' : '' ;?>">
|
147 |
<!-- Section 4 "Do you want to display "counts" next to your icons?" main div Start -->
|
148 |
<div class="tab4">
|
149 |
<p>
|
150 |
+
<?php _e('It’s a psychological fact that people like to follow other people, so when they see that your site has already a good number of Facebook likes, it’s more likely that they will subscribe/like/share your site than if it had 0.', SFSI_PLUS_DOMAIN ); ?>
|
151 |
</p>
|
152 |
<p>
|
153 |
+
<?php _e( 'Therefore, you can select to display the count next to your icons which will look like this:', SFSI_PLUS_DOMAIN ); ?>
|
154 |
</p>
|
155 |
|
156 |
<!-- sample icons -->
|
317 |
<ul>
|
318 |
<li>
|
319 |
<input name="sfsi_plus_facebook_countsFrom" <?php echo ($option4['sfsi_plus_facebook_countsFrom']=='likes') ? 'checked="true"' : '' ;?> type="radio" value="likes" class="styled" />
|
320 |
+
<?php _e( 'Retrieve the number of likes of your blog', SFSI_PLUS_DOMAIN ); ?>
|
321 |
</li>
|
322 |
<li>
|
323 |
<input name="sfsi_plus_facebook_countsFrom" <?php echo ($option4['sfsi_plus_facebook_countsFrom']=='mypage') ? 'checked="true"' : '' ;?> type="radio" value="mypage" class="styled" />
|
324 |
+
<?php _e( 'Retrieve the number of likes your facebook page', SFSI_PLUS_DOMAIN ); ?>
|
325 |
<br>
|
326 |
<div class="sfsiplus_fbpgiddesc">
|
327 |
<div class="sfsiplus_fbpgidwpr" style="<?php echo ($option4['sfsi_plus_facebook_countsFrom']=='likes' || $option4['sfsi_plus_facebook_countsFrom']=='followers' || $option4['sfsi_plus_facebook_countsFrom']=='manual') ? 'display:none;' : '' ;?>">
|
393 |
</ul>
|
394 |
<ul class="SFSI_instructions">
|
395 |
<li class="tw_follow_options" style="<?php echo ($option4['sfsi_plus_twitter_countsFrom']=='manual') ? 'display:none;' : '' ;?>">
|
396 |
+
<?php _e( 'Please make sure you have entered the Username for "Follow me on Twitter:" in twitter settings under question number 2.', SFSI_PLUS_DOMAIN ); ?>
|
397 |
</li>
|
398 |
<li class="tw_follow_options" style="<?php echo ($option4['sfsi_plus_twitter_countsFrom']=='manual') ? 'display:none;' : '' ;?>">
|
399 |
<h3>
|
467 |
<ul class="SFSI_instructions">
|
468 |
<li class="google_option" style="<?php echo ($option4['sfsi_plus_twitter_countsFrom']=='manual') ? 'display:none;' : '' ;?>">
|
469 |
<?php
|
470 |
+
_e('Please make sure you have entered the URL for Visit my Google+ page at: like https://plus.google.com/u/0/b/[pageid] in Google+ settings under question number 2.',SFSI_PLUS_DOMAIN); ?>
|
471 |
|
472 |
</li>
|
473 |
<li class="google_option" style="<?php echo ($option4['sfsi_plus_twitter_countsFrom']=='manual') ? 'display:none;' : '' ;?>">
|
views/sfsi_option_view5.php
CHANGED
@@ -427,12 +427,12 @@
|
|
427 |
</ul> <!-- END icon drag drop section start here -->
|
428 |
|
429 |
<span class="drag_drp">
|
430 |
-
(<?php _e( 'Drag
|
431 |
</span>
|
432 |
<!-- icon's size and spacing section start here -->
|
433 |
<div class="row">
|
434 |
<h4>
|
435 |
-
<?php _e( 'Size
|
436 |
</h4>
|
437 |
<div class="icons_size">
|
438 |
<span>
|
@@ -440,7 +440,7 @@
|
|
440 |
</span>
|
441 |
<input name="sfsi_plus_icons_size" value="<?php echo ($option5['sfsi_plus_icons_size']!='') ? $option5['sfsi_plus_icons_size'] : '' ;?>" type="text" />
|
442 |
<ins>
|
443 |
-
<?php _e( 'pixels wide
|
444 |
</ins>
|
445 |
<span class="last">
|
446 |
<?php _e( 'Spacing between icons:', SFSI_PLUS_DOMAIN ); ?>
|
@@ -478,7 +478,7 @@
|
|
478 |
</span>
|
479 |
<input name="sfsi_plus_icons_perRow" type="text" value="<?php echo ($option5['sfsi_plus_icons_perRow']!='') ? $option5['sfsi_plus_icons_perRow'] : '' ;?>" />
|
480 |
<ins class="leave_empty">
|
481 |
-
<?php _e( 'Leave empty if you dont want to
|
482 |
</ins>
|
483 |
</div>
|
484 |
</div>
|
427 |
</ul> <!-- END icon drag drop section start here -->
|
428 |
|
429 |
<span class="drag_drp">
|
430 |
+
(<?php _e( 'Drag and Drop', SFSI_PLUS_DOMAIN); ?>)
|
431 |
</span>
|
432 |
<!-- icon's size and spacing section start here -->
|
433 |
<div class="row">
|
434 |
<h4>
|
435 |
+
<?php _e( 'Size and spacing of your icons', SFSI_PLUS_DOMAIN ); ?>
|
436 |
</h4>
|
437 |
<div class="icons_size">
|
438 |
<span>
|
440 |
</span>
|
441 |
<input name="sfsi_plus_icons_size" value="<?php echo ($option5['sfsi_plus_icons_size']!='') ? $option5['sfsi_plus_icons_size'] : '' ;?>" type="text" />
|
442 |
<ins>
|
443 |
+
<?php _e( 'pixels wide and tall', SFSI_PLUS_DOMAIN ); ?>
|
444 |
</ins>
|
445 |
<span class="last">
|
446 |
<?php _e( 'Spacing between icons:', SFSI_PLUS_DOMAIN ); ?>
|
478 |
</span>
|
479 |
<input name="sfsi_plus_icons_perRow" type="text" value="<?php echo ($option5['sfsi_plus_icons_perRow']!='') ? $option5['sfsi_plus_icons_perRow'] : '' ;?>" />
|
480 |
<ins class="leave_empty">
|
481 |
+
<?php _e( 'Leave empty if you dont want to define this', SFSI_PLUS_DOMAIN ); ?>
|
482 |
</ins>
|
483 |
</div>
|
484 |
</div>
|
views/sfsi_option_view7.php
CHANGED
@@ -140,7 +140,7 @@
|
|
140 |
<!-- icons controllers section -->
|
141 |
<div class="space">
|
142 |
|
143 |
-
<h4><?php _e( 'Text
|
144 |
|
145 |
<div class="text_options">
|
146 |
|
@@ -232,7 +232,7 @@
|
|
232 |
</h3>
|
233 |
<div class="sfsiplus_row_tab">
|
234 |
<label>
|
235 |
-
<?php _e( 'Backgroud
|
236 |
</label>
|
237 |
<input name="sfsi_plus_popup_background_color" data-default-color="#b5b5b5" id="sfsi_plus_popup_background_color" type="text" value="<?php echo ($option7['sfsi_plus_popup_background_color']!='') ? $option7['sfsi_plus_popup_background_color'] : '' ;?>" />
|
238 |
</div>
|
@@ -246,7 +246,7 @@
|
|
246 |
</div>
|
247 |
<div class="sfsiplus_row_tab">
|
248 |
<label>
|
249 |
-
<?php _e( 'Border
|
250 |
</label>
|
251 |
<div class="field">
|
252 |
<input name="sfsi_plus_popup_border_thickness" type="text" value="<?php echo ($option7['sfsi_plus_popup_border_thickness']!='') ? $option7['sfsi_plus_popup_border_thickness'] : '' ;?>" class="small" />
|
@@ -254,7 +254,7 @@
|
|
254 |
</div>
|
255 |
<div class="sfsiplus_row_tab">
|
256 |
<label>
|
257 |
-
<?php _e( 'Border
|
258 |
</label>
|
259 |
<ul class="border_shadow">
|
260 |
<li>
|
140 |
<!-- icons controllers section -->
|
141 |
<div class="space">
|
142 |
|
143 |
+
<h4><?php _e( 'Text and Design', SFSI_PLUS_DOMAIN ); ?></h4>
|
144 |
|
145 |
<div class="text_options">
|
146 |
|
232 |
</h3>
|
233 |
<div class="sfsiplus_row_tab">
|
234 |
<label>
|
235 |
+
<?php _e( 'Backgroud Color:', SFSI_PLUS_DOMAIN ); ?>
|
236 |
</label>
|
237 |
<input name="sfsi_plus_popup_background_color" data-default-color="#b5b5b5" id="sfsi_plus_popup_background_color" type="text" value="<?php echo ($option7['sfsi_plus_popup_background_color']!='') ? $option7['sfsi_plus_popup_background_color'] : '' ;?>" />
|
238 |
</div>
|
246 |
</div>
|
247 |
<div class="sfsiplus_row_tab">
|
248 |
<label>
|
249 |
+
<?php _e( 'Border Thinckness:', SFSI_PLUS_DOMAIN ); ?>
|
250 |
</label>
|
251 |
<div class="field">
|
252 |
<input name="sfsi_plus_popup_border_thickness" type="text" value="<?php echo ($option7['sfsi_plus_popup_border_thickness']!='') ? $option7['sfsi_plus_popup_border_thickness'] : '' ;?>" class="small" />
|
254 |
</div>
|
255 |
<div class="sfsiplus_row_tab">
|
256 |
<label>
|
257 |
+
<?php _e( 'Border Shadow:', SFSI_PLUS_DOMAIN ); ?>
|
258 |
</label>
|
259 |
<ul class="border_shadow">
|
260 |
<li>
|
views/sfsi_option_view8.php
CHANGED
@@ -25,6 +25,10 @@
|
|
25 |
{
|
26 |
$option8['sfsi_plus_rectpinit'] = 'no';
|
27 |
}
|
|
|
|
|
|
|
|
|
28 |
|
29 |
/**
|
30 |
* Sanitize, escape and validate values
|
@@ -93,6 +97,9 @@
|
|
93 |
$option8['sfsi_plus_rectpinit'] = (isset($option8['sfsi_plus_rectpinit']))
|
94 |
? sanitize_text_field($option8['sfsi_plus_rectpinit'])
|
95 |
: '';
|
|
|
|
|
|
|
96 |
?>
|
97 |
<div class="tab8">
|
98 |
<ul class="sfsiplus_icn_listing8">
|
@@ -115,11 +122,10 @@
|
|
115 |
}
|
116 |
?>
|
117 |
<label class="sfsiplus_sub-subtitle ckckslctn" <?php echo $label_style;?>>
|
118 |
-
<?php _e( 'Go to the',
|
119 |
<a href="<?php echo admin_url('widgets.php');?>">
|
120 |
-
<?php _e( '
|
121 |
</a>
|
122 |
-
<?php _e( 'and drag & drop it where you want to have it', 'ultimate-social-media-plus' ); ?>!
|
123 |
</label>
|
124 |
</p>
|
125 |
</div>
|
@@ -257,13 +263,7 @@
|
|
257 |
}
|
258 |
?>
|
259 |
<label class="sfsiplus_sub-subtitle ckckslctn" <?php echo $label_style;?>>
|
260 |
-
<?php _e( 'Place', SFSI_PLUS_DOMAIN ); ?>
|
261 |
-
<label class="sfsi_ckckslctnlbl"><</label><label class="sfsi_ckckslctnlbl">?</label><label class="sfsi_ckckslctnlbl">php echo DISPLAY_ULTIMATE_PLUS(); </label><label class="sfsi_ckckslctnlbl">?</label><label class="sfsi_ckckslctnlbl">></label>
|
262 |
-
<?php _e( 'in your theme codes or use the shortcode', SFSI_PLUS_DOMAIN ); ?>
|
263 |
-
<b>
|
264 |
-
[DISPLAY_ULTIMATE_PLUS]
|
265 |
-
</b>
|
266 |
-
<?php _e( 'to display them wherever you want.', SFSI_PLUS_DOMAIN ); ?>
|
267 |
</label>
|
268 |
</p>
|
269 |
</div>
|
@@ -311,7 +311,7 @@
|
|
311 |
<div class="radiodisplaysection" style="<?php echo $display; ?>">
|
312 |
|
313 |
<p class="cstmdisplaysharingtxt cstmdisextrpdng">
|
314 |
-
<?php _e( 'Rectangle icons spell out the «
|
315 |
</p>
|
316 |
<p class="cstmdisplaysharingtxt">
|
317 |
<?php _e( 'Select the icons you want to show:', SFSI_PLUS_DOMAIN ); ?>
|
@@ -329,6 +329,12 @@
|
|
329 |
<a href="#" title="Facebook Like" class="cstmdspllke">
|
330 |
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/like.jpg" alt="Facebook Like" /><span style="display: none;">18k</span>
|
331 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
</li>
|
333 |
<li>
|
334 |
<div class="radio_section tb_4_ck"><input name="sfsi_plus_recttwtr" <?php echo ($option8['sfsi_plus_recttwtr']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_recttwtr" type="checkbox" value="yes" class="styled" /></div>
|
25 |
{
|
26 |
$option8['sfsi_plus_rectpinit'] = 'no';
|
27 |
}
|
28 |
+
if(!isset($option8['sfsi_plus_rectfbshare']))
|
29 |
+
{
|
30 |
+
$option8['sfsi_plus_rectfbshare'] = 'no';
|
31 |
+
}
|
32 |
|
33 |
/**
|
34 |
* Sanitize, escape and validate values
|
97 |
$option8['sfsi_plus_rectpinit'] = (isset($option8['sfsi_plus_rectpinit']))
|
98 |
? sanitize_text_field($option8['sfsi_plus_rectpinit'])
|
99 |
: '';
|
100 |
+
$option8['sfsi_plus_rectfbshare'] = (isset($option8['sfsi_plus_rectfbshare']))
|
101 |
+
? sanitize_text_field($option8['sfsi_plus_rectfbshare'])
|
102 |
+
: '';
|
103 |
?>
|
104 |
<div class="tab8">
|
105 |
<ul class="sfsiplus_icn_listing8">
|
122 |
}
|
123 |
?>
|
124 |
<label class="sfsiplus_sub-subtitle ckckslctn" <?php echo $label_style;?>>
|
125 |
+
<?php _e( 'Go to the widget area and drag & drop it where you want to have it!' , SFSI_PLUS_DOMAIN ); ?>
|
126 |
<a href="<?php echo admin_url('widgets.php');?>">
|
127 |
+
<?php _e( 'Click here', SFSI_PLUS_DOMAIN ); ?>
|
128 |
</a>
|
|
|
129 |
</label>
|
130 |
</p>
|
131 |
</div>
|
263 |
}
|
264 |
?>
|
265 |
<label class="sfsiplus_sub-subtitle ckckslctn" <?php echo $label_style;?>>
|
266 |
+
<?php _e( 'Place <?php echo DISPLAY_ULTIMATE_PLUS(); ?> in your theme codes or use the shortcode [DISPLAY_ULTIMATE_PLUS] to display them wherever you want.', SFSI_PLUS_DOMAIN ); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
</label>
|
268 |
</p>
|
269 |
</div>
|
311 |
<div class="radiodisplaysection" style="<?php echo $display; ?>">
|
312 |
|
313 |
<p class="cstmdisplaysharingtxt cstmdisextrpdng">
|
314 |
+
<?php _e( 'Rectangle icons spell out the «call to action» which increases chances that visitors do it.', SFSI_PLUS_DOMAIN ); ?>
|
315 |
</p>
|
316 |
<p class="cstmdisplaysharingtxt">
|
317 |
<?php _e( 'Select the icons you want to show:', SFSI_PLUS_DOMAIN ); ?>
|
329 |
<a href="#" title="Facebook Like" class="cstmdspllke">
|
330 |
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/like.jpg" alt="Facebook Like" /><span style="display: none;">18k</span>
|
331 |
</a>
|
332 |
+
</li>
|
333 |
+
<li>
|
334 |
+
<div class="radio_section tb_4_ck"><input name="sfsi_plus_rectfbshare" <?php echo ($option8['sfsi_plus_rectfbshare']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_rectfbshare" type="checkbox" value="yes" class="styled" /></div>
|
335 |
+
<a href="#" title="Facebook Share" class="cstmdsplfbshare">
|
336 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/fbshare.png" alt="Facebook Share" /><span style="display: none;">18k</span>
|
337 |
+
</a>
|
338 |
</li>
|
339 |
<li>
|
340 |
<div class="radio_section tb_4_ck"><input name="sfsi_plus_recttwtr" <?php echo ($option8['sfsi_plus_recttwtr']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_recttwtr" type="checkbox" value="yes" class="styled" /></div>
|
views/sfsi_option_view9.php
CHANGED
@@ -97,9 +97,11 @@
|
|
97 |
<?php
|
98 |
_e('In addition to the email- or follow-icon you can also show a subscription form which maximizes chances that people subscribe to your site. To get access to the emails who subscribe, please', SFSI_PLUS_DOMAIN);
|
99 |
?>
|
100 |
-
<
|
101 |
-
<?php
|
102 |
-
|
|
|
|
|
103 |
</p>
|
104 |
|
105 |
<div class="sfsi_plus_tab8_container">
|
@@ -125,16 +127,12 @@
|
|
125 |
<ul class="sfsi_plus_form_info">
|
126 |
<li>
|
127 |
<b>
|
128 |
-
1. <?php _e( 'Widget',
|
129 |
</b>
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
<a target="_blank" href="<?php echo site_url()?>/wp-admin/widgets.php">
|
134 |
-
<?php _e( 'widget settings', 'ultimate-social-media-plus' ); ?>
|
135 |
</a>
|
136 |
-
|
137 |
-
<?php _e( 'and drag & drop it to the sidebar', 'ultimate-social-media-plus' ); ?>.
|
138 |
</li>
|
139 |
<li>
|
140 |
<b>
|
97 |
<?php
|
98 |
_e('In addition to the email- or follow-icon you can also show a subscription form which maximizes chances that people subscribe to your site. To get access to the emails who subscribe, please', SFSI_PLUS_DOMAIN);
|
99 |
?>
|
100 |
+
<b>
|
101 |
+
<a target="_new" href="<?php echo $connectToFeed; ?>">
|
102 |
+
<?php _e('claim your feed.',SFSI_PLUS_DOMAIN); ?>
|
103 |
+
</a>
|
104 |
+
</b>
|
105 |
</p>
|
106 |
|
107 |
<div class="sfsi_plus_tab8_container">
|
127 |
<ul class="sfsi_plus_form_info">
|
128 |
<li>
|
129 |
<b>
|
130 |
+
1. <?php _e( 'Widget:', SFSI_PLUS_DOMAIN ); ?>
|
131 |
</b>
|
132 |
+
<?php _e( 'Go to the widget settings and drag and drop it to the sidebar:', SFSI_PLUS_DOMAIN ); ?>
|
133 |
+
<a target="_blank" href="<?php echo site_url()?>/wp-admin/widgets.php">
|
134 |
+
<?php _e( 'Click here', SFSI_PLUS_DOMAIN ); ?>
|
|
|
|
|
135 |
</a>
|
|
|
|
|
136 |
</li>
|
137 |
<li>
|
138 |
<b>
|
views/sfsi_options_view.php
CHANGED
@@ -70,7 +70,10 @@
|
|
70 |
<?php _e( 'Simply answer the questions below (at least the first 3) by clicking on them - that`s it!', SFSI_PLUS_DOMAIN ); ?>
|
71 |
</p>
|
72 |
<p>
|
73 |
-
<?php _e( 'If you have questions, or
|
|
|
|
|
|
|
74 |
</p>
|
75 |
</div>
|
76 |
<!-- END Top content area of plugin -->
|
@@ -137,7 +140,7 @@
|
|
137 |
|
138 |
<!-- step old 8 Start here -->
|
139 |
<h3><span>8</span>
|
140 |
-
<?php _e( 'Do you want to show a subscription form (
|
141 |
</h3>
|
142 |
<?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_option_view9.php'); ?>
|
143 |
<!-- step old 8 END here -->
|
@@ -157,12 +160,12 @@
|
|
157 |
<a href="https://wordpress.org/support/view/plugin-reviews/ultimate-social-media-plus" target="_new">
|
158 |
<?php _e( 'here', SFSI_PLUS_DOMAIN ); ?>
|
159 |
</a>.
|
160 |
-
<?php _e( 'If you`re not happy, please
|
161 |
</p>
|
162 |
<p class="bldtxtmsg">
|
163 |
-
<?php _e( 'Need top-notch Wordpress development work at a competitive price?
|
164 |
<a href="http://www.ultimatelysocial.com">
|
165 |
-
ultimatelysocial.com
|
166 |
</a>
|
167 |
</p>
|
168 |
</div>
|
70 |
<?php _e( 'Simply answer the questions below (at least the first 3) by clicking on them - that`s it!', SFSI_PLUS_DOMAIN ); ?>
|
71 |
</p>
|
72 |
<p>
|
73 |
+
<?php _e( 'If you have questions, or something doesn`t work as it should, please read the FAQ:', SFSI_PLUS_DOMAIN ); ?>
|
74 |
+
<a href="http://ultimatelysocial.com/faq/" class="lit_txt">
|
75 |
+
<?php _e('Click here',SFSI_PLUS_DOMAIN); ?>
|
76 |
+
</a>
|
77 |
</p>
|
78 |
</div>
|
79 |
<!-- END Top content area of plugin -->
|
140 |
|
141 |
<!-- step old 8 Start here -->
|
142 |
<h3><span>8</span>
|
143 |
+
<?php _e( 'Do you want to show a subscription form (increases sign ups)?', SFSI_PLUS_DOMAIN ); ?>
|
144 |
</h3>
|
145 |
<?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_option_view9.php'); ?>
|
146 |
<!-- step old 8 END here -->
|
160 |
<a href="https://wordpress.org/support/view/plugin-reviews/ultimate-social-media-plus" target="_new">
|
161 |
<?php _e( 'here', SFSI_PLUS_DOMAIN ); ?>
|
162 |
</a>.
|
163 |
+
<?php _e( 'If you`re not happy, please get in touch with us at support@ultimatelysocial.com, so that we can sort it out.Thank you!', SFSI_PLUS_DOMAIN ); ?>
|
164 |
</p>
|
165 |
<p class="bldtxtmsg">
|
166 |
+
<?php _e( 'Need top-notch Wordpress development work at a competitive price?', SFSI_PLUS_DOMAIN ); ?>
|
167 |
<a href="http://www.ultimatelysocial.com">
|
168 |
+
<?php _e('Visit us on ultimatelysocial.com',SFSI_PLUS_DOMAIN); ?>
|
169 |
</a>
|
170 |
</p>
|
171 |
</div>
|
views/sfsi_pop_content.php
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
$rss_readmore_text=
|
4 |
-
$ress_readmore_button=
|
5 |
-
$rss_readmore_text2=
|
6 |
|
7 |
define('rss_readmore', $rss_readmore_text);
|
8 |
define('ress_readmore_button', $ress_readmore_button);
|
@@ -14,7 +14,7 @@ define('rss_readmore_text2', $rss_readmore_text2);
|
|
14 |
<div class="pop_up_box sfsi_pop_up" >
|
15 |
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/close.jpg" id="close_popup" class="sfsicloseBtn" />
|
16 |
<h4 id="readmore_text">
|
17 |
-
Note:
|
18 |
</h4>
|
19 |
</div>
|
20 |
</div>
|
@@ -91,7 +91,9 @@ define('rss_readmore_text2', $rss_readmore_text2);
|
|
91 |
</h4>
|
92 |
|
93 |
<div class="adminTooltip" >
|
94 |
-
<a href="javascript:"
|
|
|
|
|
95 |
<div class="sfsi_plus_tool_tip_2 sfsi_plus_tool_tip_2_inr sfsi_plus_fb_tool_bdr" style="width: 59px;margin-left: -48.5px;">
|
96 |
<span class="bot_arow bot_fb_arow "></span>
|
97 |
<div class="sfsi_plus_inside fbb">
|
1 |
<?php
|
2 |
|
3 |
+
$rss_readmore_text='Note: Also if you already offer a newsletter it makes sense to offer this option too, because it will get you more readers, as expained here.';
|
4 |
+
$ress_readmore_button='Ok, keep it active for the time being,I want to see how it works';
|
5 |
+
$rss_readmore_text2='Deactivate it';
|
6 |
|
7 |
define('rss_readmore', $rss_readmore_text);
|
8 |
define('ress_readmore_button', $ress_readmore_button);
|
14 |
<div class="pop_up_box sfsi_pop_up" >
|
15 |
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/close.jpg" id="close_popup" class="sfsicloseBtn" />
|
16 |
<h4 id="readmore_text">
|
17 |
+
Note: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
18 |
</h4>
|
19 |
</div>
|
20 |
</div>
|
91 |
</h4>
|
92 |
|
93 |
<div class="adminTooltip" >
|
94 |
+
<a href="javascript:">
|
95 |
+
<img width="51" class="sfsi_wicon" src="<?php echo SFSI_PLUS_PLUGURL; ?>images/facebook.png" title="facebook" alt="facebook" />
|
96 |
+
</a>
|
97 |
<div class="sfsi_plus_tool_tip_2 sfsi_plus_tool_tip_2_inr sfsi_plus_fb_tool_bdr" style="width: 59px;margin-left: -48.5px;">
|
98 |
<span class="bot_arow bot_fb_arow "></span>
|
99 |
<div class="sfsi_plus_inside fbb">
|