Version Description
- New feature: Users can now decide where exactly the floating icons will display
- Internal links corrected
- Fixed: Targets only labels within the social icons div.
- Subscriber counts fixed
- Apostrophe issues fixed
- Conflicts with Yoast SEO plugin resolved
- PHP errors fixed
Download this release
Release Info
Developer | socialdude |
Plugin | Social Share Icons & Social Share Buttons |
Version | 1.9 |
Comparing to | |
See all releases |
Code changes from version 1.8 to 1.9
- css/sfsi-style.css +27 -1
- js/custom-admin.js +7 -1
- libs/controllers/sfsi_buttons_controller.php +75 -60
- libs/sfsi_install_uninstall.php +52 -2
- libs/sfsi_plus_subscribe_widget.php +1 -1
- libs/sfsi_widget.php +31 -6
- readme.txt +13 -4
- ultimate_social_media_icons.php +2 -2
- views/sfsi_option_view2.php +1 -1
- views/sfsi_option_view8.php +70 -39
css/sfsi-style.css
CHANGED
@@ -2382,7 +2382,7 @@ ul.tab_3_list li span {
|
|
2382 |
.tab2 .utube_inn .fb_url label span {
|
2383 |
font-family: helveticaregular;
|
2384 |
}
|
2385 |
-
label {
|
2386 |
cursor: default!important;
|
2387 |
}
|
2388 |
.tab5 .new_wind h4 {
|
@@ -4140,6 +4140,32 @@ label.sfsiplus_toglpstpgsbttl { float: left; margin-top: 5px !important}
|
|
4140 |
white-space: pre-line;
|
4141 |
word-wrap: break-word;
|
4142 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4143 |
@media (max-width:1160px) {
|
4144 |
.sfsi_plus_subscription_html xmp {
|
4145 |
display: block;
|
2382 |
.tab2 .utube_inn .fb_url label span {
|
2383 |
font-family: helveticaregular;
|
2384 |
}
|
2385 |
+
.tab1 label, .tab2 label, .tab3 label, .tab4 label, .tab5 label, .tab6 label, .tab7 label, .tab8 label, .tab9 label {
|
2386 |
cursor: default!important;
|
2387 |
}
|
2388 |
.tab5 .new_wind h4 {
|
4140 |
white-space: pre-line;
|
4141 |
word-wrap: break-word;
|
4142 |
}
|
4143 |
+
.sfsiplus_right_info ul.sfsi_plus_floaticon_margin_sec li {
|
4144 |
+
float: left;
|
4145 |
+
width: 300px !important;
|
4146 |
+
max-width: 300px !important;
|
4147 |
+
min-width: 300px !important;
|
4148 |
+
}
|
4149 |
+
.sfsiplus_right_info ul.sfsi_plus_floaticon_margin_sec label {
|
4150 |
+
font-size: 17px;
|
4151 |
+
padding-right: 20px;
|
4152 |
+
width: 65px !important;
|
4153 |
+
display: inline-block;
|
4154 |
+
}
|
4155 |
+
.sfsiplus_right_info ul.sfsi_plus_floaticon_margin_sec li input {
|
4156 |
+
background-color: #dedede;
|
4157 |
+
border: medium none;
|
4158 |
+
box-shadow: none;
|
4159 |
+
padding: 14px 8px;
|
4160 |
+
width: 80px;
|
4161 |
+
}
|
4162 |
+
.sfsiplus_right_info ul.sfsi_plus_floaticon_margin_sec li ins {
|
4163 |
+
font-size: 17px;
|
4164 |
+
font-weight: 400;
|
4165 |
+
margin-left: 15px;
|
4166 |
+
text-decoration: none;
|
4167 |
+
}
|
4168 |
+
|
4169 |
@media (max-width:1160px) {
|
4170 |
.sfsi_plus_subscription_html xmp {
|
4171 |
display: block;
|
js/custom-admin.js
CHANGED
@@ -680,12 +680,18 @@ function sfsi_plus_update_step8()
|
|
680 |
/*SFSI("#sfsi_plus_Show_popupOn_PageIDs :selected").each(function(s, i) {
|
681 |
_[s] = SFSI(i).val()
|
682 |
});*/
|
|
|
|
|
683 |
var f = {
|
684 |
action: "plus_updateSrcn8",
|
685 |
sfsi_plus_show_via_widget: i,
|
686 |
sfsi_plus_float_on_page: e,
|
687 |
sfsi_plus_float_page_position: t,
|
688 |
-
|
|
|
|
|
|
|
|
|
689 |
sfsi_plus_show_item_onposts: o,
|
690 |
sfsi_plus_display_button_type: a,
|
691 |
sfsi_plus_post_icons_size: r,
|
680 |
/*SFSI("#sfsi_plus_Show_popupOn_PageIDs :selected").each(function(s, i) {
|
681 |
_[s] = SFSI(i).val()
|
682 |
});*/
|
683 |
+
var mst = SFSI("input[name='sfsi_plus_icons_floatMargin_top']").val(), msb = SFSI("input[name='sfsi_plus_icons_floatMargin_bottom']").val(), msl = SFSI("input[name='sfsi_plus_icons_floatMargin_left']").val(), msr = SFSI("input[name='sfsi_plus_icons_floatMargin_right']").val();
|
684 |
+
|
685 |
var f = {
|
686 |
action: "plus_updateSrcn8",
|
687 |
sfsi_plus_show_via_widget: i,
|
688 |
sfsi_plus_float_on_page: e,
|
689 |
sfsi_plus_float_page_position: t,
|
690 |
+
sfsi_plus_icons_floatMargin_top:mst,
|
691 |
+
sfsi_plus_icons_floatMargin_bottom:msb,
|
692 |
+
sfsi_plus_icons_floatMargin_left:msl,
|
693 |
+
sfsi_plus_icons_floatMargin_right:msr,
|
694 |
+
sfsi_plus_place_item_manually: n,
|
695 |
sfsi_plus_show_item_onposts: o,
|
696 |
sfsi_plus_display_button_type: a,
|
697 |
sfsi_plus_post_icons_size: r,
|
libs/controllers/sfsi_buttons_controller.php
CHANGED
@@ -457,23 +457,23 @@ function sfsi_plus_options_updater7()
|
|
457 |
|
458 |
/* icons pop options */
|
459 |
$up_option7=array(
|
460 |
-
'sfsi_plus_popup_text'
|
461 |
-
'sfsi_plus_popup_background_color'
|
462 |
-
'sfsi_plus_popup_border_color'
|
463 |
-
'sfsi_plus_popup_border_thickness'
|
464 |
-
'sfsi_plus_popup_border_shadow'
|
465 |
-
'sfsi_plus_popup_font'
|
466 |
-
'sfsi_plus_popup_fontSize'
|
467 |
-
'sfsi_plus_popup_fontStyle'
|
468 |
-
|
469 |
|
470 |
-
'sfsi_plus_Show_popupOn'
|
471 |
-
'sfsi_plus_Show_popupOn_PageIDs'
|
472 |
|
473 |
-
'sfsi_plus_Shown_pop'
|
474 |
-
'sfsi_plus_Shown_popupOnceTime'
|
475 |
'sfsi_plus_Shown_popuplimitPerUserTime'=>$sfsi_plus_Shown_popuplimitPerUserTime,
|
476 |
-
|
477 |
update_option('sfsi_plus_section7_options',serialize($up_option7));
|
478 |
header('Content-Type: application/json');
|
479 |
echo json_encode(array("success")); exit;
|
@@ -485,29 +485,38 @@ function sfsi_plus_options_updater8()
|
|
485 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step8")) {
|
486 |
echo json_encode(array("wrong_nonce")); exit;
|
487 |
}
|
488 |
-
$sfsi_plus_show_via_widget
|
489 |
-
$sfsi_plus_float_on_page
|
490 |
-
$sfsi_plus_float_page_position = isset($_POST["sfsi_plus_float_page_position"]) ? $_POST["sfsi_plus_float_page_position"] : 'no';
|
491 |
-
|
492 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
493 |
$sfsi_plus_display_button_type = isset($_POST["sfsi_plus_display_button_type"]) ? $_POST["sfsi_plus_display_button_type"] : 'no';
|
494 |
-
|
495 |
-
$
|
496 |
-
$
|
497 |
-
$
|
498 |
-
$
|
499 |
-
$
|
500 |
-
$
|
501 |
-
$
|
502 |
-
|
|
|
|
|
503 |
$sfsi_plus_display_on_homepage = isset($_POST["sfsi_plus_display_on_homepage"]) ? $_POST["sfsi_plus_display_on_homepage"] : 'no';*/
|
504 |
-
|
505 |
-
$
|
506 |
-
$
|
507 |
-
$
|
508 |
-
$
|
509 |
-
$
|
510 |
-
$
|
|
|
511 |
|
512 |
|
513 |
//post options
|
@@ -518,29 +527,35 @@ function sfsi_plus_options_updater8()
|
|
518 |
update_option('sfsi_plus_section5_options',serialize($option5));
|
519 |
}*/
|
520 |
$up_option8=array(
|
521 |
-
'sfsi_plus_show_via_widget'
|
522 |
-
'sfsi_plus_float_on_page'
|
523 |
-
'sfsi_plus_float_page_position'
|
524 |
-
|
525 |
-
|
526 |
-
'
|
527 |
-
'
|
528 |
-
|
529 |
-
|
530 |
-
'
|
531 |
-
'
|
532 |
-
'
|
533 |
-
'
|
534 |
-
'
|
|
|
|
|
|
|
|
|
|
|
535 |
/*'sfsi_plus_display_on_postspage'=>$sfsi_plus_display_on_postspage,
|
536 |
-
'sfsi_plus_display_on_homepage'=>$sfsi_plus_display_on_homepage,*/
|
537 |
-
|
538 |
-
'
|
539 |
-
'
|
540 |
-
'
|
541 |
-
'
|
542 |
-
'
|
543 |
-
'
|
|
|
544 |
);
|
545 |
update_option('sfsi_plus_section8_options',serialize($up_option8));
|
546 |
header('Content-Type: application/json');
|
@@ -594,21 +609,21 @@ function sfsi_plus_options_updater9()
|
|
594 |
'sfsi_plus_form_border_color' => $sfsi_plus_form_border_color,
|
595 |
'sfsi_plus_form_background' => $sfsi_plus_form_background,
|
596 |
|
597 |
-
'sfsi_plus_form_heading_text' => $sfsi_plus_form_heading_text,
|
598 |
'sfsi_plus_form_heading_font' => $sfsi_plus_form_heading_font,
|
599 |
'sfsi_plus_form_heading_fontstyle'=>$sfsi_plus_form_heading_fontstyle,
|
600 |
'sfsi_plus_form_heading_fontcolor'=>$sfsi_plus_form_heading_fontcolor,
|
601 |
'sfsi_plus_form_heading_fontsize' =>$sfsi_plus_form_heading_fontsize,
|
602 |
'sfsi_plus_form_heading_fontalign'=>$sfsi_plus_form_heading_fontalign,
|
603 |
|
604 |
-
'sfsi_plus_form_field_text' => $sfsi_plus_form_field_text,
|
605 |
'sfsi_plus_form_field_font' => $sfsi_plus_form_field_font,
|
606 |
'sfsi_plus_form_field_fontstyle'=> $sfsi_plus_form_field_fontstyle,
|
607 |
'sfsi_plus_form_field_fontcolor'=> $sfsi_plus_form_field_fontcolor,
|
608 |
'sfsi_plus_form_field_fontsize' => $sfsi_plus_form_field_fontsize,
|
609 |
'sfsi_plus_form_field_fontalign'=> $sfsi_plus_form_field_fontalign,
|
610 |
|
611 |
-
'sfsi_plus_form_button_text' => $sfsi_plus_form_button_text,
|
612 |
'sfsi_plus_form_button_font' => $sfsi_plus_form_button_font,
|
613 |
'sfsi_plus_form_button_fontstyle'=> $sfsi_plus_form_button_fontstyle,
|
614 |
'sfsi_plus_form_button_fontcolor'=> $sfsi_plus_form_button_fontcolor,
|
457 |
|
458 |
/* icons pop options */
|
459 |
$up_option7=array(
|
460 |
+
'sfsi_plus_popup_text' => stripslashes($sfsi_plus_popup_text),
|
461 |
+
'sfsi_plus_popup_background_color' => $sfsi_plus_popup_background_color,
|
462 |
+
'sfsi_plus_popup_border_color' => $sfsi_plus_popup_border_color,
|
463 |
+
'sfsi_plus_popup_border_thickness' => $sfsi_plus_popup_border_thickness,
|
464 |
+
'sfsi_plus_popup_border_shadow' => $sfsi_plus_popup_border_shadow,
|
465 |
+
'sfsi_plus_popup_font' => $sfsi_plus_popup_font,
|
466 |
+
'sfsi_plus_popup_fontSize' => $sfsi_plus_popup_fontSize,
|
467 |
+
'sfsi_plus_popup_fontStyle' => $sfsi_plus_popup_fontStyle,
|
468 |
+
'sfsi_plus_popup_fontColor' => $sfsi_plus_popup_fontColor,
|
469 |
|
470 |
+
'sfsi_plus_Show_popupOn' => $sfsi_plus_Show_popupOn,
|
471 |
+
'sfsi_plus_Show_popupOn_PageIDs' => $sfsi_plus_Show_popupOn_PageIDs,
|
472 |
|
473 |
+
'sfsi_plus_Shown_pop' => $sfsi_plus_Shown_pop,
|
474 |
+
'sfsi_plus_Shown_popupOnceTime' => $sfsi_plus_Shown_popupOnceTime,
|
475 |
'sfsi_plus_Shown_popuplimitPerUserTime'=>$sfsi_plus_Shown_popuplimitPerUserTime,
|
476 |
+
);
|
477 |
update_option('sfsi_plus_section7_options',serialize($up_option7));
|
478 |
header('Content-Type: application/json');
|
479 |
echo json_encode(array("success")); exit;
|
485 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step8")) {
|
486 |
echo json_encode(array("wrong_nonce")); exit;
|
487 |
}
|
488 |
+
$sfsi_plus_show_via_widget = isset($_POST["sfsi_plus_show_via_widget"]) ? $_POST["sfsi_plus_show_via_widget"] : 'no';
|
489 |
+
$sfsi_plus_float_on_page = isset($_POST["sfsi_plus_float_on_page"]) ? $_POST["sfsi_plus_float_on_page"] : 'no';
|
490 |
+
$sfsi_plus_float_page_position = isset($_POST["sfsi_plus_float_page_position"]) ? $_POST["sfsi_plus_float_page_position"] : 'no';
|
491 |
+
|
492 |
+
$sfsi_plus_icons_floatMargin_top = isset($_POST["sfsi_plus_icons_floatMargin_top"]) ? $_POST["sfsi_plus_icons_floatMargin_top"] : '';
|
493 |
+
$sfsi_plus_icons_floatMargin_bottom = isset($_POST["sfsi_plus_icons_floatMargin_bottom"])? $_POST["sfsi_plus_icons_floatMargin_bottom"]:'';
|
494 |
+
$sfsi_plus_icons_floatMargin_left = isset($_POST["sfsi_plus_icons_floatMargin_left"]) ? $_POST["sfsi_plus_icons_floatMargin_left"] : '';
|
495 |
+
$sfsi_plus_icons_floatMargin_right = isset($_POST["sfsi_plus_icons_floatMargin_right"]) ? $_POST["sfsi_plus_icons_floatMargin_right"]:'';
|
496 |
+
|
497 |
+
$sfsi_plus_place_item_manually = isset($_POST["sfsi_plus_place_item_manually"]) ? $_POST["sfsi_plus_place_item_manually"] : 'no';
|
498 |
+
$sfsi_plus_show_item_onposts = isset($_POST["sfsi_plus_show_item_onposts"]) ? $_POST["sfsi_plus_show_item_onposts"] : 'no';
|
499 |
$sfsi_plus_display_button_type = isset($_POST["sfsi_plus_display_button_type"]) ? $_POST["sfsi_plus_display_button_type"] : 'no';
|
500 |
+
|
501 |
+
$sfsi_plus_post_icons_size = isset($_POST["sfsi_plus_post_icons_size"]) ? $_POST["sfsi_plus_post_icons_size"] : 40;
|
502 |
+
$sfsi_plus_post_icons_spacing = isset($_POST["sfsi_plus_post_icons_spacing"]) ? $_POST["sfsi_plus_post_icons_spacing"] : 5;
|
503 |
+
$sfsi_plus_show_Onposts = isset($_POST["sfsi_plus_show_Onposts"]) ? $_POST["sfsi_plus_show_Onposts"] : 'no';
|
504 |
+
$sfsi_plus_textBefor_icons = isset($_POST["sfsi_plus_textBefor_icons"]) ? $_POST["sfsi_plus_textBefor_icons"] : 'Please follow and like us:';
|
505 |
+
$sfsi_plus_icons_alignment = isset($_POST["sfsi_plus_icons_alignment"]) ? $_POST["sfsi_plus_icons_alignment"] : 'center-right';
|
506 |
+
$sfsi_plus_icons_DisplayCounts = isset($_POST["sfsi_plus_icons_DisplayCounts"]) ? $_POST["sfsi_plus_icons_DisplayCounts"] : 'no';
|
507 |
+
$sfsi_plus_display_before_posts = isset($_POST["sfsi_plus_display_before_posts"]) ? $_POST["sfsi_plus_display_before_posts"] : 'no';
|
508 |
+
$sfsi_plus_display_after_posts = isset($_POST["sfsi_plus_display_after_posts"]) ? $_POST["sfsi_plus_display_after_posts"] : 'no';
|
509 |
+
|
510 |
+
/*$sfsi_plus_display_on_postspage = isset($_POST["sfsi_plus_display_on_postspage"]) ? $_POST["sfsi_plus_display_on_postspage"] : 'no';
|
511 |
$sfsi_plus_display_on_homepage = isset($_POST["sfsi_plus_display_on_homepage"]) ? $_POST["sfsi_plus_display_on_homepage"] : 'no';*/
|
512 |
+
|
513 |
+
$sfsi_plus_display_before_blogposts = isset($_POST["sfsi_plus_display_before_blogposts"]) ? $_POST["sfsi_plus_display_before_blogposts"] : 'no';
|
514 |
+
$sfsi_plus_display_after_blogposts = isset($_POST["sfsi_plus_display_after_blogposts"]) ? $_POST["sfsi_plus_display_after_blogposts"] : 'no';
|
515 |
+
$sfsi_plus_rectsub = isset($_POST["sfsi_plus_rectsub"]) ? $_POST["sfsi_plus_rectsub"] : 'no';
|
516 |
+
$sfsi_plus_rectfb = isset($_POST["sfsi_plus_rectfb"]) ? $_POST["sfsi_plus_rectfb"] : 'no';
|
517 |
+
$sfsi_plus_rectgp = isset($_POST["sfsi_plus_rectgp"]) ? $_POST["sfsi_plus_rectgp"] : 'no';
|
518 |
+
$sfsi_plus_rectshr = isset($_POST["sfsi_plus_rectshr"]) ? $_POST["sfsi_plus_rectshr"] : 'no';
|
519 |
+
$sfsi_plus_recttwtr = isset($_POST["sfsi_plus_recttwtr"]) ? $_POST["sfsi_plus_recttwtr"] : 'no';
|
520 |
|
521 |
|
522 |
//post options
|
527 |
update_option('sfsi_plus_section5_options',serialize($option5));
|
528 |
}*/
|
529 |
$up_option8=array(
|
530 |
+
'sfsi_plus_show_via_widget' => $sfsi_plus_show_via_widget,
|
531 |
+
'sfsi_plus_float_on_page' => $sfsi_plus_float_on_page,
|
532 |
+
'sfsi_plus_float_page_position' => $sfsi_plus_float_page_position,
|
533 |
+
'sfsi_plus_icons_floatMargin_top' => $sfsi_plus_icons_floatMargin_top,
|
534 |
+
'sfsi_plus_icons_floatMargin_bottom'=> $sfsi_plus_icons_floatMargin_bottom,
|
535 |
+
'sfsi_plus_icons_floatMargin_left' => $sfsi_plus_icons_floatMargin_left,
|
536 |
+
'sfsi_plus_icons_floatMargin_right' => $sfsi_plus_icons_floatMargin_right,
|
537 |
+
'sfsi_plus_place_item_manually' => $sfsi_plus_place_item_manually,
|
538 |
+
'sfsi_plus_show_item_onposts' => $sfsi_plus_show_item_onposts,
|
539 |
+
'sfsi_plus_display_button_type' => $sfsi_plus_display_button_type,
|
540 |
+
'sfsi_plus_post_icons_size' => $sfsi_plus_post_icons_size,
|
541 |
+
'sfsi_plus_post_icons_spacing' => $sfsi_plus_post_icons_spacing,
|
542 |
+
'sfsi_plus_show_Onposts' => $sfsi_plus_show_Onposts,
|
543 |
+
'sfsi_plus_textBefor_icons' => stripslashes($sfsi_plus_textBefor_icons),
|
544 |
+
'sfsi_plus_icons_alignment' => $sfsi_plus_icons_alignment,
|
545 |
+
'sfsi_plus_icons_DisplayCounts' => $sfsi_plus_icons_DisplayCounts,
|
546 |
+
'sfsi_plus_display_before_posts'=> $sfsi_plus_display_before_posts,
|
547 |
+
'sfsi_plus_display_after_posts' => $sfsi_plus_display_after_posts,
|
548 |
+
|
549 |
/*'sfsi_plus_display_on_postspage'=>$sfsi_plus_display_on_postspage,
|
550 |
+
'sfsi_plus_display_on_homepage' =>$sfsi_plus_display_on_homepage,*/
|
551 |
+
|
552 |
+
'sfsi_plus_display_before_blogposts'=> $sfsi_plus_display_before_blogposts,
|
553 |
+
'sfsi_plus_display_after_blogposts'=> $sfsi_plus_display_after_blogposts,
|
554 |
+
'sfsi_plus_rectsub' => $sfsi_plus_rectsub,
|
555 |
+
'sfsi_plus_rectfb' => $sfsi_plus_rectfb,
|
556 |
+
'sfsi_plus_rectgp' => $sfsi_plus_rectgp,
|
557 |
+
'sfsi_plus_rectshr' => $sfsi_plus_rectshr,
|
558 |
+
'sfsi_plus_recttwtr'=> $sfsi_plus_recttwtr
|
559 |
);
|
560 |
update_option('sfsi_plus_section8_options',serialize($up_option8));
|
561 |
header('Content-Type: application/json');
|
609 |
'sfsi_plus_form_border_color' => $sfsi_plus_form_border_color,
|
610 |
'sfsi_plus_form_background' => $sfsi_plus_form_background,
|
611 |
|
612 |
+
'sfsi_plus_form_heading_text' => stripslashes($sfsi_plus_form_heading_text),
|
613 |
'sfsi_plus_form_heading_font' => $sfsi_plus_form_heading_font,
|
614 |
'sfsi_plus_form_heading_fontstyle'=>$sfsi_plus_form_heading_fontstyle,
|
615 |
'sfsi_plus_form_heading_fontcolor'=>$sfsi_plus_form_heading_fontcolor,
|
616 |
'sfsi_plus_form_heading_fontsize' =>$sfsi_plus_form_heading_fontsize,
|
617 |
'sfsi_plus_form_heading_fontalign'=>$sfsi_plus_form_heading_fontalign,
|
618 |
|
619 |
+
'sfsi_plus_form_field_text' => stripslashes($sfsi_plus_form_field_text),
|
620 |
'sfsi_plus_form_field_font' => $sfsi_plus_form_field_font,
|
621 |
'sfsi_plus_form_field_fontstyle'=> $sfsi_plus_form_field_fontstyle,
|
622 |
'sfsi_plus_form_field_fontcolor'=> $sfsi_plus_form_field_fontcolor,
|
623 |
'sfsi_plus_form_field_fontsize' => $sfsi_plus_form_field_fontsize,
|
624 |
'sfsi_plus_form_field_fontalign'=> $sfsi_plus_form_field_fontalign,
|
625 |
|
626 |
+
'sfsi_plus_form_button_text' => stripslashes($sfsi_plus_form_button_text),
|
627 |
'sfsi_plus_form_button_font' => $sfsi_plus_form_button_font,
|
628 |
'sfsi_plus_form_button_fontstyle'=> $sfsi_plus_form_button_fontstyle,
|
629 |
'sfsi_plus_form_button_fontcolor'=> $sfsi_plus_form_button_fontcolor,
|
libs/sfsi_install_uninstall.php
CHANGED
@@ -1,8 +1,18 @@
|
|
1 |
<?php
|
2 |
function sfsi_plus_update_plugin()
|
3 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
//Install version
|
5 |
-
update_option("sfsi_plus_pluginVersion", "1.
|
6 |
|
7 |
/*show notification*/
|
8 |
if(!get_option('sfsi_plus_show_notification'))
|
@@ -54,6 +64,17 @@ function sfsi_plus_update_plugin()
|
|
54 |
"sfsi_plus_instagram_count" => ""
|
55 |
);
|
56 |
add_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
function sfsi_plus_activate_plugin()
|
59 |
{
|
@@ -260,6 +281,10 @@ function sfsi_plus_activate_plugin()
|
|
260 |
'sfsi_plus_show_via_widget'=>'no',
|
261 |
'sfsi_plus_float_on_page'=> $option5['sfsi_plus_icons_float'],
|
262 |
'sfsi_plus_float_page_position'=>$option5['sfsi_plus_icons_floatPosition'],
|
|
|
|
|
|
|
|
|
263 |
'sfsi_plus_post_icons_size'=>$option5['sfsi_plus_icons_size'],
|
264 |
'sfsi_plus_post_icons_spacing'=>$option5['sfsi_plus_icons_spacing'],
|
265 |
'sfsi_plus_show_Onposts'=>$option6['sfsi_plus_show_Onposts'],
|
@@ -388,10 +413,35 @@ function SFSI_PLUS_getFeedUrl()
|
|
388 |
$resp = json_decode($resp);
|
389 |
curl_close($curl);
|
390 |
|
391 |
-
$feed_url=stripslashes_deep($resp->redirect_url);
|
392 |
return $resp;exit;
|
393 |
|
394 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
395 |
/* add sf tags */
|
396 |
function sfsi_plus_setUpfeeds($feed_id)
|
397 |
{
|
1 |
<?php
|
2 |
function sfsi_plus_update_plugin()
|
3 |
{
|
4 |
+
if($feed_id = get_option('sfsi_plus_feed_id'))
|
5 |
+
{
|
6 |
+
if(is_numeric($feed_id))
|
7 |
+
{
|
8 |
+
$sfsiId = SFSI_PLUS_updateFeedUrl();
|
9 |
+
update_option('sfsi_plus_feed_id', $sfsiId->feed_id);
|
10 |
+
update_option('sfsi_plus_redirect_url', $sfsiId->redirect_url);
|
11 |
+
}
|
12 |
+
}
|
13 |
+
|
14 |
//Install version
|
15 |
+
update_option("sfsi_plus_pluginVersion", "1.9");
|
16 |
|
17 |
/*show notification*/
|
18 |
if(!get_option('sfsi_plus_show_notification'))
|
64 |
"sfsi_plus_instagram_count" => ""
|
65 |
);
|
66 |
add_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
|
67 |
+
|
68 |
+
/*Float Icon setting*/
|
69 |
+
$option8 = unserialize(get_option('sfsi_plus_section8_options',false));
|
70 |
+
if(isset($option8) && !empty($option8) && !isset($option8['sfsi_plus_icons_floatMargin_top']))
|
71 |
+
{
|
72 |
+
$option8['sfsi_plus_icons_floatMargin_top'] = '';
|
73 |
+
$option8['sfsi_plus_icons_floatMargin_bottom'] = '';
|
74 |
+
$option8['sfsi_plus_icons_floatMargin_left'] = '';
|
75 |
+
$option8['sfsi_plus_icons_floatMargin_right'] = '';
|
76 |
+
update_option('sfsi_plus_section8_options', serialize($option8));
|
77 |
+
}
|
78 |
}
|
79 |
function sfsi_plus_activate_plugin()
|
80 |
{
|
281 |
'sfsi_plus_show_via_widget'=>'no',
|
282 |
'sfsi_plus_float_on_page'=> $option5['sfsi_plus_icons_float'],
|
283 |
'sfsi_plus_float_page_position'=>$option5['sfsi_plus_icons_floatPosition'],
|
284 |
+
'sfsi_plus_icons_floatMargin_top'=>'',
|
285 |
+
'sfsi_plus_icons_floatMargin_bottom'=>'',
|
286 |
+
'sfsi_plus_icons_floatMargin_left'=>'',
|
287 |
+
'sfsi_plus_icons_floatMargin_right'=>'',
|
288 |
'sfsi_plus_post_icons_size'=>$option5['sfsi_plus_icons_size'],
|
289 |
'sfsi_plus_post_icons_spacing'=>$option5['sfsi_plus_icons_spacing'],
|
290 |
'sfsi_plus_show_Onposts'=>$option6['sfsi_plus_show_Onposts'],
|
413 |
$resp = json_decode($resp);
|
414 |
curl_close($curl);
|
415 |
|
416 |
+
$feed_url = stripslashes_deep($resp->redirect_url);
|
417 |
return $resp;exit;
|
418 |
|
419 |
}
|
420 |
+
/* fetch rss url from specificfeeds on */
|
421 |
+
function SFSI_PLUS_updateFeedUrl()
|
422 |
+
{
|
423 |
+
$curl = curl_init();
|
424 |
+
|
425 |
+
curl_setopt_array($curl, array(
|
426 |
+
CURLOPT_RETURNTRANSFER => 1,
|
427 |
+
CURLOPT_URL => 'http://www.specificfeeds.com/wordpress/updateFeedPlugin',
|
428 |
+
CURLOPT_USERAGENT => 'sf rss request',
|
429 |
+
CURLOPT_POST => 1,
|
430 |
+
CURLOPT_POSTFIELDS => array(
|
431 |
+
'feed_id' => get_option('sfsi_plus_feed_id'),
|
432 |
+
'web_url' => get_bloginfo('url'),
|
433 |
+
'feed_url' => get_bloginfo('rss2_url'),
|
434 |
+
'email'=>get_bloginfo('admin_email')
|
435 |
+
)
|
436 |
+
));
|
437 |
+
// Send the request & save response to $resp
|
438 |
+
$resp = curl_exec($curl);
|
439 |
+
$resp = json_decode($resp);
|
440 |
+
curl_close($curl);
|
441 |
+
|
442 |
+
$feed_url = stripslashes_deep($resp->redirect_url);
|
443 |
+
return $resp;exit;
|
444 |
+
}
|
445 |
/* add sf tags */
|
446 |
function sfsi_plus_setUpfeeds($feed_id)
|
447 |
{
|
libs/sfsi_plus_subscribe_widget.php
CHANGED
@@ -10,7 +10,7 @@ function sfsi_plus_addStyleFunction()
|
|
10 |
?>
|
11 |
<script>
|
12 |
function sfsi_plus_processfurther(ref) {
|
13 |
-
var feed_id = <?php echo $sfsi_plus_feediid
|
14 |
var feedtype = 8;
|
15 |
var email = jQuery(ref).find('input[name="data[Widget][email]"]').val();
|
16 |
var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
|
10 |
?>
|
11 |
<script>
|
12 |
function sfsi_plus_processfurther(ref) {
|
13 |
+
var feed_id = '<?php echo $sfsi_plus_feediid?>';
|
14 |
var feedtype = 8;
|
15 |
var email = jQuery(ref).find('input[name="data[Widget][email]"]').val();
|
16 |
var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
|
libs/sfsi_widget.php
CHANGED
@@ -298,12 +298,37 @@ function sfsi_plus_check_visiblity($isFloter=0)
|
|
298 |
$icons_float='';
|
299 |
if($sfsi_section8['sfsi_plus_float_on_page']=="yes" && $isFloter==1)
|
300 |
{
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
307 |
}
|
308 |
$icons_data=$icons_main.$icons_float;
|
309 |
return $icons_data;
|
298 |
$icons_float='';
|
299 |
if($sfsi_section8['sfsi_plus_float_on_page']=="yes" && $isFloter==1)
|
300 |
{
|
301 |
+
if($sfsi_section8['sfsi_plus_float_page_position'] == "top-left")
|
302 |
+
{
|
303 |
+
$styleMargin = "margin-top:".$sfsi_section8['sfsi_plus_icons_floatMargin_top']."px;margin-left:".$sfsi_section8['sfsi_plus_icons_floatMargin_left']."px;";
|
304 |
+
}
|
305 |
+
elseif($sfsi_section8['sfsi_plus_float_page_position'] == "top-right")
|
306 |
+
{
|
307 |
+
$styleMargin = "margin-top:".$sfsi_section8['sfsi_plus_icons_floatMargin_top']."px;margin-right:".$sfsi_section8['sfsi_plus_icons_floatMargin_right']."px;";
|
308 |
+
}
|
309 |
+
elseif($sfsi_section8['sfsi_plus_float_page_position'] == "center-left")
|
310 |
+
{
|
311 |
+
$styleMargin = "margin-left:".$sfsi_section8['sfsi_plus_icons_floatMargin_left']."px;";
|
312 |
+
}
|
313 |
+
elseif($sfsi_section8['sfsi_plus_float_page_position'] == "center-right")
|
314 |
+
{
|
315 |
+
$styleMargin = "margin-right:".$sfsi_section8['sfsi_plus_icons_floatMargin_right']."px;";
|
316 |
+
}
|
317 |
+
elseif($sfsi_section8['sfsi_plus_float_page_position'] == "bottom-left")
|
318 |
+
{
|
319 |
+
$styleMargin = "margin-bottom:".$sfsi_section8['sfsi_plus_icons_floatMargin_bottom']."px;margin-left:".$sfsi_section8['sfsi_plus_icons_floatMargin_left']."px;";
|
320 |
+
}
|
321 |
+
elseif($sfsi_section8['sfsi_plus_float_page_position'] == "bottom-right")
|
322 |
+
{
|
323 |
+
$styleMargin = "margin-bottom:".$sfsi_section8['sfsi_plus_icons_floatMargin_bottom']."px;margin-right:".$sfsi_section8['sfsi_plus_icons_floatMargin_right']."px;";
|
324 |
+
}
|
325 |
+
|
326 |
+
$icons_float = '<style type="text/css">#sfsi_plus_floater { '.$styleMargin.' }</style>';
|
327 |
+
$icons_float .= '<div class="sfsiplus_norm_row sfsi_plus_wDiv" id="sfsi_plus_floater" style="z-index: 9999;width:'.$width.'px;text-align:'.$icons_alignment.';'.$position.'">';
|
328 |
+
$icons_float .= $icons;
|
329 |
+
$icons_float .= "<input type='hidden' id='sfsi_plus_floater_sec' value='".$sfsi_section8['sfsi_plus_float_page_position']."' />";
|
330 |
+
$icons_float .= "</div>".$jquery;
|
331 |
+
return $icons_float; exit;
|
332 |
}
|
333 |
$icons_data=$icons_main.$icons_float;
|
334 |
return $icons_data;
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: socialdude
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=seb.richter%40gmx%2enet&lc=LI
|
4 |
Tags: social media, social media icons, social media buttons, social media sharing, floating social media, social media icon, social media button, sharing icons, sharing, sharing buttons, social media widget, socialmedia, social media pop-up, social, social icons, icon, icons, buttons, facebook icon, twitter icon, instagram, instagram icon, counter, facebook, facebook like, like, tweet, tweet button, buttons, tweet icon, youtube, youtube icon, linkedin, linkedin icon, logos, follow, social profiles, social media accounts, social share
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 4.3
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -73,6 +73,15 @@ Please check out the FAQ on http://ultimatelysocial.com
|
|
73 |
|
74 |
== Changelog ==
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
= 1.8 =
|
77 |
* Plugin also allows a subscription form now (question 8)!
|
78 |
|
@@ -134,5 +143,5 @@ Please check out the FAQ on http://ultimatelysocial.com
|
|
134 |
|
135 |
== Upgrade Notice ==
|
136 |
|
137 |
-
= 1.
|
138 |
-
*
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=seb.richter%40gmx%2enet&lc=LI
|
4 |
Tags: social media, social media icons, social media buttons, social media sharing, floating social media, social media icon, social media button, sharing icons, sharing, sharing buttons, social media widget, socialmedia, social media pop-up, social, social icons, icon, icons, buttons, facebook icon, twitter icon, instagram, instagram icon, counter, facebook, facebook like, like, tweet, tweet button, buttons, tweet icon, youtube, youtube icon, linkedin, linkedin icon, logos, follow, social profiles, social media accounts, social share
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 4.3.1
|
7 |
+
Stable tag: 1.9
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
73 |
|
74 |
== Changelog ==
|
75 |
|
76 |
+
= 1.9 =
|
77 |
+
* New feature: Users can now decide where exactly the floating icons will display
|
78 |
+
* Internal links corrected
|
79 |
+
* Fixed: Targets only labels within the social icons div.
|
80 |
+
* Subscriber counts fixed
|
81 |
+
* Apostrophe issues fixed
|
82 |
+
* Conflicts with Yoast SEO plugin resolved
|
83 |
+
* PHP errors fixed
|
84 |
+
|
85 |
= 1.8 =
|
86 |
* Plugin also allows a subscription form now (question 8)!
|
87 |
|
143 |
|
144 |
== Upgrade Notice ==
|
145 |
|
146 |
+
= 1.9 =
|
147 |
+
* Several enhancements and fixes - please upgrade!
|
ultimate_social_media_icons.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://ultimatelysocial.com
|
|
5 |
Description: The best social media plugin on the market. And 100% FREE. Allows you to add social media & share icons to your blog (esp. Facebook, Twitter, Email, RSS, Pinterest, Instagram, Google+, LinkedIn, Share-button). It offers a wide range of design options and other features.
|
6 |
Author: UltimatelySocial
|
7 |
Author URI: http://ultimatelysocial.com
|
8 |
-
Version: 1.
|
9 |
License: GPLv2
|
10 |
*/
|
11 |
|
@@ -34,7 +34,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
|
|
34 |
register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
35 |
|
36 |
/*Plugin version setup*/
|
37 |
-
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 1.
|
38 |
{
|
39 |
add_action("init", "sfsi_plus_update_plugin");
|
40 |
}
|
5 |
Description: The best social media plugin on the market. And 100% FREE. Allows you to add social media & share icons to your blog (esp. Facebook, Twitter, Email, RSS, Pinterest, Instagram, Google+, LinkedIn, Share-button). It offers a wide range of design options and other features.
|
6 |
Author: UltimatelySocial
|
7 |
Author URI: http://ultimatelysocial.com
|
8 |
+
Version: 1.9
|
9 |
License: GPLv2
|
10 |
*/
|
11 |
|
34 |
register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
35 |
|
36 |
/*Plugin version setup*/
|
37 |
+
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 1.9)
|
38 |
{
|
39 |
add_action("init", "sfsi_plus_update_plugin");
|
40 |
}
|
views/sfsi_option_view2.php
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
<h2 class="sfsicls_email">Email</h2>
|
24 |
<div class="inr_cont">
|
25 |
|
26 |
-
<p>Allows people to subscribe to your site on <a href="http://www.specificfeeds.com/
|
27 |
|
28 |
<p>Please pick which icon type you want to use:</p>
|
29 |
<ul class="tab_2_email_sec">
|
23 |
<h2 class="sfsicls_email">Email</h2>
|
24 |
<div class="inr_cont">
|
25 |
|
26 |
+
<p>Allows people to subscribe to your site on <a href="http://www.specificfeeds.com/widgets/emailSubscribeEncFeed/<?php echo $feedId; ?>/<?php echo base64_encode(8); ?>" target="_new">this screen</a> and receive new posts automatically. The service is 100% FREE, you get full access to the emails & interesting statistics (please <a target="_new" href="http://www.specificfeeds.com/<?php echo $feedId; ?>?getParam=feeds_claims">claim your feed</a> for that) and it also make sense if you already offer an email newsletter <a href="http://specificfeeds.com/rss" target="_new">(learn more)</a>. </p>
|
27 |
|
28 |
<p>Please pick which icon type you want to use:</p>
|
29 |
<ul class="tab_2_email_sec">
|
views/sfsi_option_view8.php
CHANGED
@@ -24,6 +24,7 @@
|
|
24 |
?>
|
25 |
<div class="tab8">
|
26 |
<ul class="sfsiplus_icn_listing8">
|
|
|
27 |
<li class="">
|
28 |
<div class="radio_section tb_4_ck" onclick="checkforinfoslction(this);"><input name="sfsi_plus_show_via_widget" <?php echo ($option8['sfsi_plus_show_via_widget']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_show_via_widget" type="checkbox" value="yes" class="styled" /></div>
|
29 |
<div class="sfsiplus_right_info">
|
@@ -43,10 +44,12 @@
|
|
43 |
</p>
|
44 |
</div>
|
45 |
</li>
|
|
|
|
|
46 |
<li class="">
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
<div class="sfsiplus_right_info">
|
51 |
<p>
|
52 |
<span class="sfsiplus_toglepstpgspn">Float them on the page</span>
|
@@ -61,40 +64,65 @@
|
|
61 |
$style ="display: none;";
|
62 |
}
|
63 |
?>
|
64 |
-
|
65 |
-
<
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
</div>
|
97 |
</li>
|
|
|
|
|
98 |
<li class="sfsiplusplacethemanulywpr">
|
99 |
<div class="radio_section tb_4_ck" onclick="checkforinfoslction(this);"><input name="sfsi_plus_place_item_manually" <?php echo ($option8['sfsi_plus_place_item_manually']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_place_item_manually" type="checkbox" value="yes" class="styled" /></div>
|
100 |
<div class="sfsiplus_right_info">
|
@@ -114,6 +142,8 @@
|
|
114 |
</p>
|
115 |
</div>
|
116 |
</li>
|
|
|
|
|
117 |
<li class="">
|
118 |
<div class="radio_section tb_4_ck" onclick="sfsiplus_toggleflotpage(this);"><input name="sfsi_plus_show_item_onposts" <?php echo ($option8['sfsi_plus_show_item_onposts']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_show_item_onposts" type="checkbox" value="yes" class="styled" /></div>
|
119 |
<div class="sfsiplus_right_info">
|
@@ -278,14 +308,15 @@
|
|
278 |
<img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
|
279 |
<?php $nonce = wp_create_nonce("update_plus_step8"); ?>
|
280 |
<a href="javascript:;" id="sfsi_plus_save8" title="Save" data-nonce="<?php echo $nonce;?>">Save</a>
|
281 |
-
|
282 |
-
|
283 |
-
|
|
|
284 |
<label class="closeSec"></label>
|
|
|
285 |
<!-- ERROR AND SUCCESS MESSAGE AREA-->
|
286 |
<p class="red_txt errorMsg" style="display:none"> </p>
|
287 |
<p class="green_txt sucMsg" style="display:none"> </p>
|
288 |
<div class="clear"></div>
|
289 |
|
290 |
-
|
291 |
</div>
|
24 |
?>
|
25 |
<div class="tab8">
|
26 |
<ul class="sfsiplus_icn_listing8">
|
27 |
+
<!--First Section-->
|
28 |
<li class="">
|
29 |
<div class="radio_section tb_4_ck" onclick="checkforinfoslction(this);"><input name="sfsi_plus_show_via_widget" <?php echo ($option8['sfsi_plus_show_via_widget']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_show_via_widget" type="checkbox" value="yes" class="styled" /></div>
|
30 |
<div class="sfsiplus_right_info">
|
44 |
</p>
|
45 |
</div>
|
46 |
</li>
|
47 |
+
|
48 |
+
<!--Second Section-->
|
49 |
<li class="">
|
50 |
+
<div class="radio_section tb_4_ck cstmfltonpgstck" onclick="sfsiplus_toggleflotpage(this);">
|
51 |
+
<input name="sfsi_plus_float_on_page" <?php echo ($option8['sfsi_plus_float_on_page']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_float_on_page" type="checkbox" value="yes" class="styled" />
|
52 |
+
</div>
|
53 |
<div class="sfsiplus_right_info">
|
54 |
<p>
|
55 |
<span class="sfsiplus_toglepstpgspn">Float them on the page</span>
|
64 |
$style ="display: none;";
|
65 |
}
|
66 |
?>
|
67 |
+
<div class="sfsiplus_tab_3_icns" <?php echo 'style="'.$style.'"';?>>
|
68 |
+
<ul class="sfsiplus_tab_3_icns flthmonpg">
|
69 |
+
<li>
|
70 |
+
<input name="sfsi_plus_float_page_position" <?php echo ( $option8['sfsi_plus_float_page_position']=='top-left') ? 'checked="true"' : '' ;?> type="radio" value="top-left" class="styled" />
|
71 |
+
<span class="sfsi_flicnsoptn3 sfsioptntl">Top left</span>
|
72 |
+
<label><img src="<?php echo SFSI_PLUS_PLUGURL;?>images/top_left.png" /></label>
|
73 |
+
</li>
|
74 |
+
<li>
|
75 |
+
<input name="sfsi_plus_float_page_position" <?php echo ( $option8['sfsi_plus_float_page_position']=='top-right') ? 'checked="true"' : '' ;?> type="radio" value="top-right" class="styled" />
|
76 |
+
<span class="sfsi_flicnsoptn3 sfsioptntr">Top right</span>
|
77 |
+
<label><img src="<?php echo SFSI_PLUS_PLUGURL;?>images/top_right.png" /></label>
|
78 |
+
</li>
|
79 |
+
<li>
|
80 |
+
<input name="sfsi_plus_float_page_position" <?php echo ( $option8['sfsi_plus_float_page_position']=='center-left') ? 'checked="true"' : '' ;?> type="radio" value="center-left" class="styled" />
|
81 |
+
<span class="sfsi_flicnsoptn3 sfsioptncl">Center left</span>
|
82 |
+
<label><img src="<?php echo SFSI_PLUS_PLUGURL;?>images/center_left.png" /></label>
|
83 |
+
</li>
|
84 |
+
<li>
|
85 |
+
<input name="sfsi_plus_float_page_position" <?php echo ( $option8['sfsi_plus_float_page_position']=='center-right') ? 'checked="true"' : '' ;?> type="radio" value="center-right" class="styled" />
|
86 |
+
<span class="sfsi_flicnsoptn3 sfsioptncr">Center right</span>
|
87 |
+
<label><img src="<?php echo SFSI_PLUS_PLUGURL;?>images/center_right.png" /></label>
|
88 |
+
</li>
|
89 |
+
<li>
|
90 |
+
<input name="sfsi_plus_float_page_position" <?php echo ( $option8['sfsi_plus_float_page_position']=='bottom-left') ? 'checked="true"' : '' ;?> type="radio" value="bottom-left" class="styled" />
|
91 |
+
<span class="sfsi_flicnsoptn3 sfsioptnbl">Bottom left</span>
|
92 |
+
<label><img src="<?php echo SFSI_PLUS_PLUGURL;?>images/bottom_left.png" /></label>
|
93 |
+
</li>
|
94 |
+
<li>
|
95 |
+
<input name="sfsi_plus_float_page_position" <?php echo ( $option8['sfsi_plus_float_page_position']=='bottom-right') ? 'checked="true"' : '' ;?> type="radio" value="bottom-right" class="styled" />
|
96 |
+
<span class="sfsi_flicnsoptn3 sfsioptnbr">Bottom right</span>
|
97 |
+
<label><img src="<?php echo SFSI_PLUS_PLUGURL;?>images/bottom_right.png" /></label>
|
98 |
+
</li>
|
99 |
+
</ul>
|
100 |
+
<div style="width: 88%; float: left; margin:25px 0 0 47px">
|
101 |
+
<h4>Margin From :</h4>
|
102 |
+
<ul class="sfsi_plus_floaticon_margin_sec">
|
103 |
+
<li>
|
104 |
+
<label>Top :</label>
|
105 |
+
<input name="sfsi_plus_icons_floatMargin_top" type="text" value="<?php echo ($option8['sfsi_plus_icons_floatMargin_top']!='') ? $option8['sfsi_plus_icons_floatMargin_top'] : '' ;?>" /><ins>Pixels</ins>
|
106 |
+
</li>
|
107 |
+
<li>
|
108 |
+
<label>Bottom :</label>
|
109 |
+
<input name="sfsi_plus_icons_floatMargin_bottom" type="text" value="<?php echo ($option8['sfsi_plus_icons_floatMargin_bottom'] != '') ? $option8['sfsi_plus_icons_floatMargin_bottom'] : '' ;?>" /><ins>Pixels</ins>
|
110 |
+
</li>
|
111 |
+
<li>
|
112 |
+
<label>Left :</label>
|
113 |
+
<input name="sfsi_plus_icons_floatMargin_left" type="text" value="<?php echo ($option8['sfsi_plus_icons_floatMargin_left']!='') ? $option8['sfsi_plus_icons_floatMargin_left'] : '' ;?>" /><ins>Pixels</ins>
|
114 |
+
</li>
|
115 |
+
<li>
|
116 |
+
<label>Right :</label>
|
117 |
+
<input name="sfsi_plus_icons_floatMargin_right" type="text" value="<?php echo ($option8['sfsi_plus_icons_floatMargin_right']!='') ? $option8['sfsi_plus_icons_floatMargin_right'] : '' ;?>" /><ins>Pixels</ins>
|
118 |
+
</li>
|
119 |
+
</ul>
|
120 |
+
</div>
|
121 |
+
</div>
|
122 |
</div>
|
123 |
</li>
|
124 |
+
|
125 |
+
<!--Third Section-->
|
126 |
<li class="sfsiplusplacethemanulywpr">
|
127 |
<div class="radio_section tb_4_ck" onclick="checkforinfoslction(this);"><input name="sfsi_plus_place_item_manually" <?php echo ($option8['sfsi_plus_place_item_manually']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_place_item_manually" type="checkbox" value="yes" class="styled" /></div>
|
128 |
<div class="sfsiplus_right_info">
|
142 |
</p>
|
143 |
</div>
|
144 |
</li>
|
145 |
+
|
146 |
+
<!--Fourth Section-->
|
147 |
<li class="">
|
148 |
<div class="radio_section tb_4_ck" onclick="sfsiplus_toggleflotpage(this);"><input name="sfsi_plus_show_item_onposts" <?php echo ($option8['sfsi_plus_show_item_onposts']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_show_item_onposts" type="checkbox" value="yes" class="styled" /></div>
|
149 |
<div class="sfsiplus_right_info">
|
308 |
<img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
|
309 |
<?php $nonce = wp_create_nonce("update_plus_step8"); ?>
|
310 |
<a href="javascript:;" id="sfsi_plus_save8" title="Save" data-nonce="<?php echo $nonce;?>">Save</a>
|
311 |
+
</div>
|
312 |
+
<!-- END SAVE BUTTON SECTION -->
|
313 |
+
|
314 |
+
<a class="sfsiColbtn closeSec" href="javascript:;">Collapse area</a>
|
315 |
<label class="closeSec"></label>
|
316 |
+
|
317 |
<!-- ERROR AND SUCCESS MESSAGE AREA-->
|
318 |
<p class="red_txt errorMsg" style="display:none"> </p>
|
319 |
<p class="green_txt sucMsg" style="display:none"> </p>
|
320 |
<div class="clear"></div>
|
321 |
|
|
|
322 |
</div>
|