Version Description
- Option to change the text for confirmation checkbox
Download this release
Release Info
Developer | FancyThemes |
Plugin | Optin Forms |
Version | 1.2.8.7 |
Comparing to | |
See all releases |
Code changes from version 1.2.8.6 to 1.2.8.7
- includes/functions-form-1.php +14 -0
- includes/functions-form-2.php +14 -0
- includes/functions-form-3.php +14 -0
- includes/functions-form-4.php +14 -0
- includes/functions-form-5.php +14 -0
- includes/functions-form-6.php +14 -0
- includes/functions.php +74 -12
- includes/options-form-1.php +13 -0
- includes/options-form-2.php +13 -0
- includes/options-form-3.php +14 -1
- includes/options-form-4.php +14 -1
- includes/options-form-5.php +13 -0
- includes/options-form-6.php +13 -0
- includes/register-settings.php +6 -0
- optin-forms.php +3 -3
- readme.txt +4 -1
includes/functions-form-1.php
CHANGED
@@ -33,6 +33,7 @@
|
|
33 |
$optinforms_form1_hide_disclaimer = get_option('optinforms_form1_hide_disclaimer');
|
34 |
$optinforms_form1_css = get_option('optinforms_form1_css');
|
35 |
$optinforms_form1_hide_confirm_checkbox = get_option( 'optinforms_form1_hide_confirm_checkbox' );
|
|
|
36 |
|
37 |
|
38 |
// FORM1: default background color
|
@@ -526,4 +527,17 @@ function optinforms_form1_hide_confirm_checkbox() {
|
|
526 |
return $optinforms_form1_hide_confirm_checkbox;
|
527 |
}
|
528 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
529 |
?>
|
33 |
$optinforms_form1_hide_disclaimer = get_option('optinforms_form1_hide_disclaimer');
|
34 |
$optinforms_form1_css = get_option('optinforms_form1_css');
|
35 |
$optinforms_form1_hide_confirm_checkbox = get_option( 'optinforms_form1_hide_confirm_checkbox' );
|
36 |
+
$optinforms_form1_confirm_checkbox = get_option( 'optinforms_form1_confirm_checkbox' );
|
37 |
|
38 |
|
39 |
// FORM1: default background color
|
527 |
return $optinforms_form1_hide_confirm_checkbox;
|
528 |
}
|
529 |
|
530 |
+
// FORM1: default confirm checkbox text
|
531 |
+
function optinforms_form1_default_confirm_checkbox() {
|
532 |
+
global $optinforms_form1_confirm_checkbox;
|
533 |
+
if(empty($optinforms_form1_confirm_checkbox)) {
|
534 |
+
$optinforms_form1_confirm_checkbox = 'I agree to have my personal information transfered to [optinform_provider] ( <a href="[optinform_privacy_url]" target="_blank">more information</a> )';
|
535 |
+
}
|
536 |
+
if ( is_admin() ) {
|
537 |
+
return $optinforms_form1_confirm_checkbox;
|
538 |
+
} else {
|
539 |
+
return do_shortcode( $optinforms_form1_confirm_checkbox );
|
540 |
+
}
|
541 |
+
}
|
542 |
+
|
543 |
?>
|
includes/functions-form-2.php
CHANGED
@@ -25,6 +25,7 @@
|
|
25 |
$optinforms_form2_hide_disclaimer = get_option('optinforms_form2_hide_disclaimer');
|
26 |
$optinforms_form2_css = get_option('optinforms_form2_css');
|
27 |
$optinforms_form2_hide_confirm_checkbox = get_option( 'optinforms_form2_hide_confirm_checkbox' );
|
|
|
28 |
|
29 |
|
30 |
// FORM2: default background color
|
@@ -417,4 +418,17 @@ function optinforms_form2_hide_confirm_checkbox() {
|
|
417 |
return $optinforms_form2_hide_confirm_checkbox;
|
418 |
}
|
419 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
420 |
?>
|
25 |
$optinforms_form2_hide_disclaimer = get_option('optinforms_form2_hide_disclaimer');
|
26 |
$optinforms_form2_css = get_option('optinforms_form2_css');
|
27 |
$optinforms_form2_hide_confirm_checkbox = get_option( 'optinforms_form2_hide_confirm_checkbox' );
|
28 |
+
$optinforms_form2_confirm_checkbox = get_option( 'optinforms_form2_confirm_checkbox' );
|
29 |
|
30 |
|
31 |
// FORM2: default background color
|
418 |
return $optinforms_form2_hide_confirm_checkbox;
|
419 |
}
|
420 |
|
421 |
+
// FORM2: default confirm checkbox text
|
422 |
+
function optinforms_form2_default_confirm_checkbox() {
|
423 |
+
global $optinforms_form2_confirm_checkbox;
|
424 |
+
if(empty($optinforms_form2_confirm_checkbox)) {
|
425 |
+
$optinforms_form2_confirm_checkbox = 'I agree to have my personal information transfered to [optinform_provider] ( <a href="[optinform_privacy_url]" target="_blank">more information</a> )';
|
426 |
+
}
|
427 |
+
if ( is_admin() ) {
|
428 |
+
return $optinforms_form2_confirm_checkbox;
|
429 |
+
} else {
|
430 |
+
return do_shortcode( $optinforms_form2_confirm_checkbox );
|
431 |
+
}
|
432 |
+
}
|
433 |
+
|
434 |
?>
|
includes/functions-form-3.php
CHANGED
@@ -27,6 +27,7 @@
|
|
27 |
$optinforms_form3_hide_name_field = get_option('optinforms_form3_hide_name_field');
|
28 |
$optinforms_form3_css = get_option('optinforms_form3_css');
|
29 |
$optinforms_form3_hide_confirm_checkbox = get_option( 'optinforms_form3_hide_confirm_checkbox' );
|
|
|
30 |
|
31 |
|
32 |
// FORM3: default background color
|
@@ -440,4 +441,17 @@ function optinforms_form3_hide_confirm_checkbox() {
|
|
440 |
return $optinforms_form3_hide_confirm_checkbox;
|
441 |
}
|
442 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
443 |
?>
|
27 |
$optinforms_form3_hide_name_field = get_option('optinforms_form3_hide_name_field');
|
28 |
$optinforms_form3_css = get_option('optinforms_form3_css');
|
29 |
$optinforms_form3_hide_confirm_checkbox = get_option( 'optinforms_form3_hide_confirm_checkbox' );
|
30 |
+
$optinforms_form3_confirm_checkbox = get_option( 'optinforms_form3_confirm_checkbox' );
|
31 |
|
32 |
|
33 |
// FORM3: default background color
|
441 |
return $optinforms_form3_hide_confirm_checkbox;
|
442 |
}
|
443 |
|
444 |
+
// FORM3: default confirm checkbox text
|
445 |
+
function optinforms_form3_default_confirm_checkbox() {
|
446 |
+
global $optinforms_form3_confirm_checkbox;
|
447 |
+
if(empty($optinforms_form3_confirm_checkbox)) {
|
448 |
+
$optinforms_form3_confirm_checkbox = 'I agree to have my personal information transfered to [optinform_provider] ( <a href="[optinform_privacy_url]" target="_blank">more information</a> )';
|
449 |
+
}
|
450 |
+
if ( is_admin() ) {
|
451 |
+
return $optinforms_form3_confirm_checkbox;
|
452 |
+
} else {
|
453 |
+
return do_shortcode( $optinforms_form3_confirm_checkbox );
|
454 |
+
}
|
455 |
+
}
|
456 |
+
|
457 |
?>
|
includes/functions-form-4.php
CHANGED
@@ -31,6 +31,7 @@
|
|
31 |
$optinforms_form4_hide_disclaimer = get_option('optinforms_form4_hide_disclaimer');
|
32 |
$optinforms_form4_css = get_option('optinforms_form4_css');
|
33 |
$optinforms_form4_hide_confirm_checkbox = get_option( 'optinforms_form4_hide_confirm_checkbox' );
|
|
|
34 |
|
35 |
|
36 |
// FORM4: default background color
|
@@ -497,4 +498,17 @@ function optinforms_form4_hide_confirm_checkbox() {
|
|
497 |
return $optinforms_form4_hide_confirm_checkbox;
|
498 |
}
|
499 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
500 |
?>
|
31 |
$optinforms_form4_hide_disclaimer = get_option('optinforms_form4_hide_disclaimer');
|
32 |
$optinforms_form4_css = get_option('optinforms_form4_css');
|
33 |
$optinforms_form4_hide_confirm_checkbox = get_option( 'optinforms_form4_hide_confirm_checkbox' );
|
34 |
+
$optinforms_form4_confirm_checkbox = get_option( 'optinforms_form4_confirm_checkbox' );
|
35 |
|
36 |
|
37 |
// FORM4: default background color
|
498 |
return $optinforms_form4_hide_confirm_checkbox;
|
499 |
}
|
500 |
|
501 |
+
// FORM4: default confirm checkbox text
|
502 |
+
function optinforms_form4_default_confirm_checkbox() {
|
503 |
+
global $optinforms_form4_confirm_checkbox;
|
504 |
+
if(empty($optinforms_form4_confirm_checkbox)) {
|
505 |
+
$optinforms_form4_confirm_checkbox = 'I agree to have my personal information transfered to [optinform_provider] ( <a href="[optinform_privacy_url]" target="_blank">more information</a> )';
|
506 |
+
}
|
507 |
+
if ( is_admin() ) {
|
508 |
+
return $optinforms_form4_confirm_checkbox;
|
509 |
+
} else {
|
510 |
+
return do_shortcode( $optinforms_form4_confirm_checkbox );
|
511 |
+
}
|
512 |
+
}
|
513 |
+
|
514 |
?>
|
includes/functions-form-5.php
CHANGED
@@ -32,6 +32,7 @@
|
|
32 |
$optinforms_form5_hide_disclaimer = get_option('optinforms_form5_hide_disclaimer');
|
33 |
$optinforms_form5_css = get_option('optinforms_form5_css');
|
34 |
$optinforms_form5_hide_confirm_checkbox = get_option( 'optinforms_form5_hide_confirm_checkbox' );
|
|
|
35 |
|
36 |
|
37 |
// FORM5: default background color
|
@@ -525,4 +526,17 @@ function optinforms_form5_hide_confirm_checkbox() {
|
|
525 |
return $optinforms_form5_hide_confirm_checkbox;
|
526 |
}
|
527 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
528 |
?>
|
32 |
$optinforms_form5_hide_disclaimer = get_option('optinforms_form5_hide_disclaimer');
|
33 |
$optinforms_form5_css = get_option('optinforms_form5_css');
|
34 |
$optinforms_form5_hide_confirm_checkbox = get_option( 'optinforms_form5_hide_confirm_checkbox' );
|
35 |
+
$optinforms_form5_confirm_checkbox = get_option( 'optinforms_form5_confirm_checkbox' );
|
36 |
|
37 |
|
38 |
// FORM5: default background color
|
526 |
return $optinforms_form5_hide_confirm_checkbox;
|
527 |
}
|
528 |
|
529 |
+
// FORM4: default confirm checkbox text
|
530 |
+
function optinforms_form5_default_confirm_checkbox() {
|
531 |
+
global $optinforms_form5_confirm_checkbox;
|
532 |
+
if(empty($optinforms_form5_confirm_checkbox)) {
|
533 |
+
$optinforms_form5_confirm_checkbox = 'I agree to have my personal information transfered to [optinform_provider] ( <a href="[optinform_privacy_url]" target="_blank">more information</a> )';
|
534 |
+
}
|
535 |
+
if ( is_admin() ) {
|
536 |
+
return $optinforms_form5_confirm_checkbox;
|
537 |
+
} else {
|
538 |
+
return do_shortcode( $optinforms_form5_confirm_checkbox );
|
539 |
+
}
|
540 |
+
}
|
541 |
+
|
542 |
?>
|
includes/functions-form-6.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
$optinforms_form6_hide_confirm_checkbox = get_option( 'optinforms_form6_hide_confirm_checkbox' );
|
|
|
4 |
|
5 |
// FORM6: default email field
|
6 |
function optinforms_form6_default_email_field() {
|
@@ -32,4 +33,17 @@ function optinforms_form6_default_button_text() {
|
|
32 |
function optinforms_form6_hide_confirm_checkbox() {
|
33 |
global $optinforms_form6_hide_confirm_checkbox;
|
34 |
return $optinforms_form6_hide_confirm_checkbox;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
}
|
1 |
<?php
|
2 |
|
3 |
$optinforms_form6_hide_confirm_checkbox = get_option( 'optinforms_form6_hide_confirm_checkbox' );
|
4 |
+
$optinforms_form6_confirm_checkbox = get_option( 'optinforms_form6_confirm_checkbox' );
|
5 |
|
6 |
// FORM6: default email field
|
7 |
function optinforms_form6_default_email_field() {
|
33 |
function optinforms_form6_hide_confirm_checkbox() {
|
34 |
global $optinforms_form6_hide_confirm_checkbox;
|
35 |
return $optinforms_form6_hide_confirm_checkbox;
|
36 |
+
}
|
37 |
+
|
38 |
+
// FORM4: default confirm checkbox text
|
39 |
+
function optinforms_form6_default_confirm_checkbox() {
|
40 |
+
global $optinforms_form6_confirm_checkbox;
|
41 |
+
if(empty($optinforms_form6_confirm_checkbox)) {
|
42 |
+
$optinforms_form6_confirm_checkbox = 'I agree to have my personal information transfered to [optinform_provider] ( <a href="[optinform_privacy_url]" target="_blank">more information</a> )';
|
43 |
+
}
|
44 |
+
if ( is_admin() ) {
|
45 |
+
return $optinforms_form6_confirm_checkbox;
|
46 |
+
} else {
|
47 |
+
return do_shortcode( $optinforms_form6_confirm_checkbox );
|
48 |
+
}
|
49 |
}
|
includes/functions.php
CHANGED
@@ -674,13 +674,52 @@ function optinforms_confirm_checkbox( $form = 'form1' ) {
|
|
674 |
global $optinforms_form4_hide_confirm_checkbox;
|
675 |
global $optinforms_form5_hide_confirm_checkbox;
|
676 |
global $optinforms_form6_hide_confirm_checkbox;
|
|
|
|
|
|
|
|
|
|
|
|
|
677 |
$hide_confirm_checkbox_var_name = 'optinforms_' . $form . '_hide_confirm_checkbox';
|
|
|
678 |
$output = '';
|
679 |
|
680 |
if ( $$hide_confirm_checkbox_var_name == '1' ) {
|
681 |
return '';
|
682 |
}
|
683 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
684 |
$provider = 'Mailchimp';
|
685 |
$privacy_url = 'https://mailchimp.com/legal/privacy/';
|
686 |
if ( $optinforms_email_solution == 'optinforms_email_solution_option1' ) {
|
@@ -706,23 +745,46 @@ function optinforms_confirm_checkbox( $form = 'form1' ) {
|
|
706 |
$privacy_url = 'https://convertkit.com/privacy/';
|
707 |
}
|
708 |
|
709 |
-
|
710 |
-
ob_start();
|
711 |
-
?>
|
712 |
|
713 |
-
|
714 |
|
715 |
-
|
|
|
|
|
|
|
|
|
|
|
716 |
|
717 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
718 |
|
719 |
-
|
720 |
-
// end output buffer
|
721 |
-
$output = ob_get_contents();
|
722 |
-
ob_end_clean();
|
723 |
|
724 |
-
|
725 |
|
726 |
-
}
|
727 |
|
728 |
?>
|
674 |
global $optinforms_form4_hide_confirm_checkbox;
|
675 |
global $optinforms_form5_hide_confirm_checkbox;
|
676 |
global $optinforms_form6_hide_confirm_checkbox;
|
677 |
+
global $optinforms_form1_confirm_checkbox;
|
678 |
+
global $optinforms_form2_confirm_checkbox;
|
679 |
+
global $optinforms_form3_confirm_checkbox;
|
680 |
+
global $optinforms_form4_confirm_checkbox;
|
681 |
+
global $optinforms_form5_confirm_checkbox;
|
682 |
+
global $optinforms_form6_confirm_checkbox;
|
683 |
$hide_confirm_checkbox_var_name = 'optinforms_' . $form . '_hide_confirm_checkbox';
|
684 |
+
$confirm_checbox_text_var_name = 'optinforms_' . $form . '_confirm_checkbox';
|
685 |
$output = '';
|
686 |
|
687 |
if ( $$hide_confirm_checkbox_var_name == '1' ) {
|
688 |
return '';
|
689 |
}
|
690 |
|
691 |
+
$text = $$confirm_checbox_text_var_name;
|
692 |
+
if ( ! $text ) {
|
693 |
+
$text = 'I agree to have my personal information transfered to [optinform_provider] ( <a href="[optinform_privacy_url]" target="_blank">more information</a> )';
|
694 |
+
}
|
695 |
+
|
696 |
+
// start output buffer
|
697 |
+
ob_start();
|
698 |
+
?>
|
699 |
+
|
700 |
+
<div class="optinforms-confirm-checkbox optinforms-form1-confirm-checkbox">
|
701 |
+
|
702 |
+
<input type="checkbox" required /> <?php echo do_shortcode( $text ); ?>
|
703 |
+
|
704 |
+
</div><!-- .optinforms-confirm-checkbox -->
|
705 |
+
|
706 |
+
<?php
|
707 |
+
// end output buffer
|
708 |
+
$output = ob_get_contents();
|
709 |
+
ob_end_clean();
|
710 |
+
|
711 |
+
return $output;
|
712 |
+
|
713 |
+
}
|
714 |
+
|
715 |
+
/**
|
716 |
+
* Provider shortcode
|
717 |
+
*
|
718 |
+
* @since 1.2.8.7
|
719 |
+
*/
|
720 |
+
function optinforms_provider_sc() {
|
721 |
+
|
722 |
+
global $optinforms_email_solution;
|
723 |
$provider = 'Mailchimp';
|
724 |
$privacy_url = 'https://mailchimp.com/legal/privacy/';
|
725 |
if ( $optinforms_email_solution == 'optinforms_email_solution_option1' ) {
|
745 |
$privacy_url = 'https://convertkit.com/privacy/';
|
746 |
}
|
747 |
|
748 |
+
return $provider;
|
|
|
|
|
749 |
|
750 |
+
} add_shortcode( 'optinform_provider', 'optinforms_provider_sc' );
|
751 |
|
752 |
+
/**
|
753 |
+
* Provider shortcode
|
754 |
+
*
|
755 |
+
* @since 1.2.8.7
|
756 |
+
*/
|
757 |
+
function optinforms_privacy_url_sc() {
|
758 |
|
759 |
+
global $optinforms_email_solution;
|
760 |
+
$provider = 'Mailchimp';
|
761 |
+
$privacy_url = 'https://mailchimp.com/legal/privacy/';
|
762 |
+
if ( $optinforms_email_solution == 'optinforms_email_solution_option1' ) {
|
763 |
+
$provider = 'AWeber';
|
764 |
+
$privacy_url = 'https://www.aweber.com/privacy.htm';
|
765 |
+
} else if ( $optinforms_email_solution == 'optinforms_email_solution_option2' ) {
|
766 |
+
$provider = 'iContact';
|
767 |
+
$privacy_url = 'https://www.icontact.com/legal/privacy';
|
768 |
+
} else if ( $optinforms_email_solution == 'optinforms_email_solution_option3' ) {
|
769 |
+
$provider = 'MailChimp';
|
770 |
+
$privacy_url = 'https://mailchimp.com/legal/privacy/';
|
771 |
+
} else if ( $optinforms_email_solution == 'optinforms_email_solution_option4' ) {
|
772 |
+
$provider = 'GetResponse';
|
773 |
+
$privacy_url = 'https://www.getresponse.com/legal/privacy.html';
|
774 |
+
} else if ( $optinforms_email_solution == 'optinforms_email_solution_option5' ) {
|
775 |
+
$provider = 'Mad Mimi';
|
776 |
+
$privacy_url = 'https://uk.godaddy.com/Agreements/Privacy.aspx';
|
777 |
+
} else if ( $optinforms_email_solution == 'optinforms_email_solution_option6' ) {
|
778 |
+
$provider = 'Interspire Email Marketer';
|
779 |
+
$privacy_url = '';
|
780 |
+
} else if ( $optinforms_email_solution == 'optinforms_email_solution_option7' ) {
|
781 |
+
$provider = 'ConvertKit';
|
782 |
+
$privacy_url = 'https://convertkit.com/privacy/';
|
783 |
+
}
|
784 |
|
785 |
+
return $privacy_url;
|
|
|
|
|
|
|
786 |
|
787 |
+
} add_shortcode( 'optinform_privacy_url', 'optinforms_privacy_url_sc' );
|
788 |
|
|
|
789 |
|
790 |
?>
|
includes/options-form-1.php
CHANGED
@@ -562,6 +562,19 @@
|
|
562 |
<p><?php echo __('In most cases, you can leave the form width at 100%. This will ensure your form will align perfectly with any WordPress theme and act responsive when scaled on different devices. Please note that the form preview displayed in your WordPress administration panel will not be affected by changing this value.', 'optin-forms'); ?></p>
|
563 |
</div><!--optinforms-help-->
|
564 |
</div><!--optinforms-explain-width-1-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
565 |
|
566 |
</div><!--toggle-container-->
|
567 |
<div class="clear"></div>
|
562 |
<p><?php echo __('In most cases, you can leave the form width at 100%. This will ensure your form will align perfectly with any WordPress theme and act responsive when scaled on different devices. Please note that the form preview displayed in your WordPress administration panel will not be affected by changing this value.', 'optin-forms'); ?></p>
|
563 |
</div><!--optinforms-help-->
|
564 |
</div><!--optinforms-explain-width-1-->
|
565 |
+
|
566 |
+
<div class="optiongroup">
|
567 |
+
<div class="optionleft">
|
568 |
+
<label for="optinforms_form1_confirm_checkbox" class="nopointer"><?php echo __('Confirm checkbox text', 'optin-forms'); ?></label>
|
569 |
+
</div><!--optionleft-->
|
570 |
+
<div class="optionmiddle">
|
571 |
+
<input type="text" id="optinforms_form1_confirm_checkbox" name="optinforms_form1_confirm_checkbox" value="<?php echo esc_attr( optinforms_form1_default_confirm_checkbox() ); ?>" />
|
572 |
+
</div><!--optionmiddle-->
|
573 |
+
<div class="optionlast">
|
574 |
+
|
575 |
+
</div><!--optionlast-->
|
576 |
+
<div class="clear"></div>
|
577 |
+
</div><!--optiongroup-->
|
578 |
|
579 |
</div><!--toggle-container-->
|
580 |
<div class="clear"></div>
|
includes/options-form-2.php
CHANGED
@@ -426,6 +426,19 @@
|
|
426 |
<p><?php echo __('In most cases, you can leave the form width at 100%. This will ensure your form will align perfectly with any WordPress theme and act responsive when scaled on different devices. Please note that the form preview displayed in your WordPress administration panel will not be affected by changing this value.', 'optin-forms'); ?></p>
|
427 |
</div><!--optinforms-help-->
|
428 |
</div><!--optinforms-explain-width-2-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
429 |
|
430 |
</div><!--toggle-container-->
|
431 |
<div class="clear"></div>
|
426 |
<p><?php echo __('In most cases, you can leave the form width at 100%. This will ensure your form will align perfectly with any WordPress theme and act responsive when scaled on different devices. Please note that the form preview displayed in your WordPress administration panel will not be affected by changing this value.', 'optin-forms'); ?></p>
|
427 |
</div><!--optinforms-help-->
|
428 |
</div><!--optinforms-explain-width-2-->
|
429 |
+
|
430 |
+
<div class="optiongroup">
|
431 |
+
<div class="optionleft">
|
432 |
+
<label for="optinforms_form2_confirm_checkbox" class="nopointer"><?php echo __('Confirm checkbox text', 'optin-forms'); ?></label>
|
433 |
+
</div><!--optionleft-->
|
434 |
+
<div class="optionmiddle">
|
435 |
+
<input type="text" id="optinforms_form2_confirm_checkbox" name="optinforms_form2_confirm_checkbox" value="<?php echo esc_attr( optinforms_form2_default_confirm_checkbox() ); ?>" />
|
436 |
+
</div><!--optionmiddle-->
|
437 |
+
<div class="optionlast">
|
438 |
+
|
439 |
+
</div><!--optionlast-->
|
440 |
+
<div class="clear"></div>
|
441 |
+
</div><!--optiongroup-->
|
442 |
|
443 |
</div><!--toggle-container-->
|
444 |
<div class="clear"></div>
|
includes/options-form-3.php
CHANGED
@@ -449,7 +449,20 @@
|
|
449 |
<p><?php echo __('In most cases, you can leave the form width at 100%. This will ensure your form will align perfectly with any WordPress theme and act responsive when scaled on different devices. Please note that the form preview displayed in your WordPress administration panel will not be affected by changing this value.', 'optin-forms'); ?></p>
|
450 |
</div><!--optinforms-help-->
|
451 |
</div><!--optinforms-explain-width-3-->
|
452 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
453 |
</div><!--toggle-container-->
|
454 |
<div class="clear"></div>
|
455 |
|
449 |
<p><?php echo __('In most cases, you can leave the form width at 100%. This will ensure your form will align perfectly with any WordPress theme and act responsive when scaled on different devices. Please note that the form preview displayed in your WordPress administration panel will not be affected by changing this value.', 'optin-forms'); ?></p>
|
450 |
</div><!--optinforms-help-->
|
451 |
</div><!--optinforms-explain-width-3-->
|
452 |
+
|
453 |
+
<div class="optiongroup">
|
454 |
+
<div class="optionleft">
|
455 |
+
<label for="optinforms_form3_confirm_checkbox" class="nopointer"><?php echo __('Confirm checkbox text', 'optin-forms'); ?></label>
|
456 |
+
</div><!--optionleft-->
|
457 |
+
<div class="optionmiddle">
|
458 |
+
<input type="text" id="optinforms_form3_confirm_checkbox" name="optinforms_form3_confirm_checkbox" value="<?php echo esc_attr( optinforms_form3_default_confirm_checkbox() ); ?>" />
|
459 |
+
</div><!--optionmiddle-->
|
460 |
+
<div class="optionlast">
|
461 |
+
|
462 |
+
</div><!--optionlast-->
|
463 |
+
<div class="clear"></div>
|
464 |
+
</div><!--optiongroup-->
|
465 |
+
|
466 |
</div><!--toggle-container-->
|
467 |
<div class="clear"></div>
|
468 |
|
includes/options-form-4.php
CHANGED
@@ -537,7 +537,20 @@
|
|
537 |
<p><?php echo __('In most cases, you can leave the form width at 100%. This will ensure your form will align perfectly with any WordPress theme and act responsive when scaled on different devices. Please note that the form preview displayed in your WordPress administration panel will not be affected by changing this value.', 'optin-forms'); ?></p>
|
538 |
</div><!--optinforms-help-->
|
539 |
</div><!--optinforms-explain-width-4-->
|
540 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
541 |
</div><!--toggle-container-->
|
542 |
<div class="clear"></div>
|
543 |
|
537 |
<p><?php echo __('In most cases, you can leave the form width at 100%. This will ensure your form will align perfectly with any WordPress theme and act responsive when scaled on different devices. Please note that the form preview displayed in your WordPress administration panel will not be affected by changing this value.', 'optin-forms'); ?></p>
|
538 |
</div><!--optinforms-help-->
|
539 |
</div><!--optinforms-explain-width-4-->
|
540 |
+
|
541 |
+
<div class="optiongroup">
|
542 |
+
<div class="optionleft">
|
543 |
+
<label for="optinforms_form4_confirm_checkbox" class="nopointer"><?php echo __('Confirm checkbox text', 'optin-forms'); ?></label>
|
544 |
+
</div><!--optionleft-->
|
545 |
+
<div class="optionmiddle">
|
546 |
+
<input type="text" id="optinforms_form4_confirm_checkbox" name="optinforms_form4_confirm_checkbox" value="<?php echo esc_attr( optinforms_form4_default_confirm_checkbox() ); ?>" />
|
547 |
+
</div><!--optionmiddle-->
|
548 |
+
<div class="optionlast">
|
549 |
+
|
550 |
+
</div><!--optionlast-->
|
551 |
+
<div class="clear"></div>
|
552 |
+
</div><!--optiongroup-->
|
553 |
+
|
554 |
</div><!--toggle-container-->
|
555 |
<div class="clear"></div>
|
556 |
|
includes/options-form-5.php
CHANGED
@@ -535,6 +535,19 @@
|
|
535 |
</div><!--optinforms-help-->
|
536 |
</div><!--optinforms-explain-width-5-->
|
537 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
538 |
</div><!--toggle-container-->
|
539 |
<div class="clear"></div>
|
540 |
|
535 |
</div><!--optinforms-help-->
|
536 |
</div><!--optinforms-explain-width-5-->
|
537 |
|
538 |
+
<div class="optiongroup">
|
539 |
+
<div class="optionleft">
|
540 |
+
<label for="optinforms_form5_confirm_checkbox" class="nopointer"><?php echo __('Confirm checkbox text', 'optin-forms'); ?></label>
|
541 |
+
</div><!--optionleft-->
|
542 |
+
<div class="optionmiddle">
|
543 |
+
<input type="text" id="optinforms_form5_confirm_checkbox" name="optinforms_form5_confirm_checkbox" value="<?php echo esc_attr( optinforms_form5_default_confirm_checkbox() ); ?>" />
|
544 |
+
</div><!--optionmiddle-->
|
545 |
+
<div class="optionlast">
|
546 |
+
|
547 |
+
</div><!--optionlast-->
|
548 |
+
<div class="clear"></div>
|
549 |
+
</div><!--optiongroup-->
|
550 |
+
|
551 |
</div><!--toggle-container-->
|
552 |
<div class="clear"></div>
|
553 |
|
includes/options-form-6.php
CHANGED
@@ -17,6 +17,19 @@
|
|
17 |
<div class="clear"></div>
|
18 |
</div><!--optiongroup-->
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
</div><!--toggle-container-->
|
21 |
<div class="clear"></div>
|
22 |
</div><!--toggle-wrap-->
|
17 |
<div class="clear"></div>
|
18 |
</div><!--optiongroup-->
|
19 |
|
20 |
+
<div class="optiongroup">
|
21 |
+
<div class="optionleft">
|
22 |
+
<label for="optinforms_form6_confirm_checkbox" class="nopointer"><?php echo __('Confirm checkbox text', 'optin-forms'); ?></label>
|
23 |
+
</div><!--optionleft-->
|
24 |
+
<div class="optionmiddle">
|
25 |
+
<input type="text" id="optinforms_form6_confirm_checkbox" name="optinforms_form6_confirm_checkbox" value="<?php echo esc_attr( optinforms_form6_default_confirm_checkbox() ); ?>" />
|
26 |
+
</div><!--optionmiddle-->
|
27 |
+
<div class="optionlast">
|
28 |
+
|
29 |
+
</div><!--optionlast-->
|
30 |
+
<div class="clear"></div>
|
31 |
+
</div><!--optiongroup-->
|
32 |
+
|
33 |
</div><!--toggle-container-->
|
34 |
<div class="clear"></div>
|
35 |
</div><!--toggle-wrap-->
|
includes/register-settings.php
CHANGED
@@ -88,6 +88,7 @@ function optinforms_register_settings()
|
|
88 |
register_setting( 'optinforms-settings-group', 'optinforms_form1_hide_disclaimer' );
|
89 |
register_setting( 'optinforms-settings-group', 'optinforms_form1_css' );
|
90 |
register_setting( 'optinforms-settings-group', 'optinforms_form1_hide_confirm_checkbox' );
|
|
|
91 |
|
92 |
register_setting( 'optinforms-settings-group', 'optinforms_form2_background' );
|
93 |
register_setting( 'optinforms-settings-group', 'optinforms_form2_title' );
|
@@ -113,6 +114,7 @@ function optinforms_register_settings()
|
|
113 |
register_setting( 'optinforms-settings-group', 'optinforms_form2_hide_disclaimer' );
|
114 |
register_setting( 'optinforms-settings-group', 'optinforms_form2_css' );
|
115 |
register_setting( 'optinforms-settings-group', 'optinforms_form2_hide_confirm_checkbox' );
|
|
|
116 |
|
117 |
register_setting( 'optinforms-settings-group', 'optinforms_form3_background' );
|
118 |
register_setting( 'optinforms-settings-group', 'optinforms_form3_title' );
|
@@ -140,6 +142,7 @@ function optinforms_register_settings()
|
|
140 |
register_setting( 'optinforms-settings-group', 'optinforms_form3_hide_name_field' );
|
141 |
register_setting( 'optinforms-settings-group', 'optinforms_form3_css' );
|
142 |
register_setting( 'optinforms-settings-group', 'optinforms_form3_hide_confirm_checkbox' );
|
|
|
143 |
|
144 |
register_setting( 'optinforms-settings-group', 'optinforms_form4_background' );
|
145 |
register_setting( 'optinforms-settings-group', 'optinforms_form4_border' );
|
@@ -171,6 +174,7 @@ function optinforms_register_settings()
|
|
171 |
register_setting( 'optinforms-settings-group', 'optinforms_form4_hide_disclaimer' );
|
172 |
register_setting( 'optinforms-settings-group', 'optinforms_form4_css' );
|
173 |
register_setting( 'optinforms-settings-group', 'optinforms_form4_hide_confirm_checkbox' );
|
|
|
174 |
|
175 |
register_setting( 'optinforms-settings-group', 'optinforms_form5_background' );
|
176 |
register_setting( 'optinforms-settings-group', 'optinforms_form5_title' );
|
@@ -203,8 +207,10 @@ function optinforms_register_settings()
|
|
203 |
register_setting( 'optinforms-settings-group', 'optinforms_form5_hide_disclaimer' );
|
204 |
register_setting( 'optinforms-settings-group', 'optinforms_form5_css' );
|
205 |
register_setting( 'optinforms-settings-group', 'optinforms_form5_hide_confirm_checkbox' );
|
|
|
206 |
|
207 |
register_setting( 'optinforms-settings-group', 'optinforms_form6_hide_confirm_checkbox' );
|
|
|
208 |
|
209 |
}
|
210 |
?>
|
88 |
register_setting( 'optinforms-settings-group', 'optinforms_form1_hide_disclaimer' );
|
89 |
register_setting( 'optinforms-settings-group', 'optinforms_form1_css' );
|
90 |
register_setting( 'optinforms-settings-group', 'optinforms_form1_hide_confirm_checkbox' );
|
91 |
+
register_setting( 'optinforms-settings-group', 'optinforms_form1_confirm_checkbox' );
|
92 |
|
93 |
register_setting( 'optinforms-settings-group', 'optinforms_form2_background' );
|
94 |
register_setting( 'optinforms-settings-group', 'optinforms_form2_title' );
|
114 |
register_setting( 'optinforms-settings-group', 'optinforms_form2_hide_disclaimer' );
|
115 |
register_setting( 'optinforms-settings-group', 'optinforms_form2_css' );
|
116 |
register_setting( 'optinforms-settings-group', 'optinforms_form2_hide_confirm_checkbox' );
|
117 |
+
register_setting( 'optinforms-settings-group', 'optinforms_form2_confirm_checkbox' );
|
118 |
|
119 |
register_setting( 'optinforms-settings-group', 'optinforms_form3_background' );
|
120 |
register_setting( 'optinforms-settings-group', 'optinforms_form3_title' );
|
142 |
register_setting( 'optinforms-settings-group', 'optinforms_form3_hide_name_field' );
|
143 |
register_setting( 'optinforms-settings-group', 'optinforms_form3_css' );
|
144 |
register_setting( 'optinforms-settings-group', 'optinforms_form3_hide_confirm_checkbox' );
|
145 |
+
register_setting( 'optinforms-settings-group', 'optinforms_form3_confirm_checkbox' );
|
146 |
|
147 |
register_setting( 'optinforms-settings-group', 'optinforms_form4_background' );
|
148 |
register_setting( 'optinforms-settings-group', 'optinforms_form4_border' );
|
174 |
register_setting( 'optinforms-settings-group', 'optinforms_form4_hide_disclaimer' );
|
175 |
register_setting( 'optinforms-settings-group', 'optinforms_form4_css' );
|
176 |
register_setting( 'optinforms-settings-group', 'optinforms_form4_hide_confirm_checkbox' );
|
177 |
+
register_setting( 'optinforms-settings-group', 'optinforms_form4_confirm_checkbox' );
|
178 |
|
179 |
register_setting( 'optinforms-settings-group', 'optinforms_form5_background' );
|
180 |
register_setting( 'optinforms-settings-group', 'optinforms_form5_title' );
|
207 |
register_setting( 'optinforms-settings-group', 'optinforms_form5_hide_disclaimer' );
|
208 |
register_setting( 'optinforms-settings-group', 'optinforms_form5_css' );
|
209 |
register_setting( 'optinforms-settings-group', 'optinforms_form5_hide_confirm_checkbox' );
|
210 |
+
register_setting( 'optinforms-settings-group', 'optinforms_form5_confirm_checkbox' );
|
211 |
|
212 |
register_setting( 'optinforms-settings-group', 'optinforms_form6_hide_confirm_checkbox' );
|
213 |
+
register_setting( 'optinforms-settings-group', 'optinforms_form6_confirm_checkbox' );
|
214 |
|
215 |
}
|
216 |
?>
|
optin-forms.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Optin Forms
|
|
4 |
Plugin URI: http://fancythemes.com/plugins/optin-forms/
|
5 |
Description: Create beautiful optin forms with ease. Choose a form design, customize it, and add your form to your blog with a simple mouse-click.
|
6 |
Author: FancyThemes
|
7 |
-
Version: 1.2.8.
|
8 |
Author URI: http://www.fancythemes.com
|
9 |
Text Domain: optin-forms
|
10 |
Domain Path: /languages/
|
@@ -116,8 +116,8 @@ class Optin_Forms {
|
|
116 |
*/
|
117 |
public function optinforms_scripts() {
|
118 |
wp_enqueue_script('jquery');
|
119 |
-
wp_enqueue_style('optinforms-stylesheet', plugins_url('/css/optinforms.css', __FILE__ ), array(), '1.2.8.
|
120 |
-
wp_enqueue_script('placeholder', plugins_url('/js/placeholder.js', __FILE__ ), array(), '1.2.8.
|
121 |
if ( optinforms_used_fonts() !== '//fonts.googleapis.com/css?family=' ) {
|
122 |
wp_enqueue_style('optinforms-googleFont', optinforms_used_fonts());
|
123 |
}
|
4 |
Plugin URI: http://fancythemes.com/plugins/optin-forms/
|
5 |
Description: Create beautiful optin forms with ease. Choose a form design, customize it, and add your form to your blog with a simple mouse-click.
|
6 |
Author: FancyThemes
|
7 |
+
Version: 1.2.8.7
|
8 |
Author URI: http://www.fancythemes.com
|
9 |
Text Domain: optin-forms
|
10 |
Domain Path: /languages/
|
116 |
*/
|
117 |
public function optinforms_scripts() {
|
118 |
wp_enqueue_script('jquery');
|
119 |
+
wp_enqueue_style('optinforms-stylesheet', plugins_url('/css/optinforms.css', __FILE__ ), array(), '1.2.8.7' );
|
120 |
+
wp_enqueue_script('placeholder', plugins_url('/js/placeholder.js', __FILE__ ), array(), '1.2.8.7');
|
121 |
if ( optinforms_used_fonts() !== '//fonts.googleapis.com/css?family=' ) {
|
122 |
wp_enqueue_style('optinforms-googleFont', optinforms_used_fonts());
|
123 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: wpkube, FancyThemes
|
|
3 |
Tags: optin, form, forms, aweber, email subscriber, icontact, mailchimp, getresponse, mad mimi, newsletter, mailchimp forms, mailchimp integrations, mailchimp plugin, getresponse forms, subscribe, aweber forms, after post optin form, after post optin form plugin, lead generation, mobile optin forms, mobile optins, sidebar form, sidebar optin form, wordpress after post optin form, wordpress lead generation, wordpress popups, optin locker, social locker, enter email to download, interspire, email marketer, email marketing, email, e-mail, list, list building, opt-in, newsletter, email list, autoresponder, popup, pop-up, mailing, mailing list, mail, webform, newsletter plugin, optin plugin, opt-in plugin, conversion, design, convertkit, convert, kit
|
4 |
Requires at least: 3.2
|
5 |
Tested up to: 4.9.5
|
6 |
-
Stable tag: 1.2.8.
|
7 |
|
8 |
Create beautiful optin forms with ease. Choose a form design, customize it, and add your form to your blog with a simple mouse-click.
|
9 |
|
@@ -54,6 +54,9 @@ Having trouble with the plugin? Simply post your question to the [support forum]
|
|
54 |
3. Add your form to your website with a simple mouse-click.
|
55 |
|
56 |
== Changelog ==
|
|
|
|
|
|
|
57 |
= 1.2.8.6 =
|
58 |
* Confirmation checkbox ( for GDPR purposes )
|
59 |
|
3 |
Tags: optin, form, forms, aweber, email subscriber, icontact, mailchimp, getresponse, mad mimi, newsletter, mailchimp forms, mailchimp integrations, mailchimp plugin, getresponse forms, subscribe, aweber forms, after post optin form, after post optin form plugin, lead generation, mobile optin forms, mobile optins, sidebar form, sidebar optin form, wordpress after post optin form, wordpress lead generation, wordpress popups, optin locker, social locker, enter email to download, interspire, email marketer, email marketing, email, e-mail, list, list building, opt-in, newsletter, email list, autoresponder, popup, pop-up, mailing, mailing list, mail, webform, newsletter plugin, optin plugin, opt-in plugin, conversion, design, convertkit, convert, kit
|
4 |
Requires at least: 3.2
|
5 |
Tested up to: 4.9.5
|
6 |
+
Stable tag: 1.2.8.7
|
7 |
|
8 |
Create beautiful optin forms with ease. Choose a form design, customize it, and add your form to your blog with a simple mouse-click.
|
9 |
|
54 |
3. Add your form to your website with a simple mouse-click.
|
55 |
|
56 |
== Changelog ==
|
57 |
+
= 1.2.8.7 =
|
58 |
+
* Option to change the text for confirmation checkbox
|
59 |
+
|
60 |
= 1.2.8.6 =
|
61 |
* Confirmation checkbox ( for GDPR purposes )
|
62 |
|