Version Description
- Corrects typo impacting Last Name field text placeholder.
Download this release
Release Info
| Developer | kraftbj |
| Plugin | |
| Version | 2.0.1 |
| Comparing to | |
| See all releases | |
Code changes from version 2.0.0 to 2.0.1
- class-bjgk-genesis-enews-extended.php +2 -2
- plugin.php +2 -2
- readme.txt +4 -1
class-bjgk-genesis-enews-extended.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* Genesis eNews Extended
|
| 4 |
*
|
| 5 |
* @package BJGK\Genesis_enews_extended
|
| 6 |
-
* @version 2.0.
|
| 7 |
* @author Brandon Kraft <public@brandonkraft.com>
|
| 8 |
* @link http://www.brandonkraft.com/genesis-enews-extended/
|
| 9 |
* @copyright Copyright (c) 2012-2015, Brandon Kraft
|
|
@@ -117,7 +117,7 @@ class BJGK_Genesis_eNews_Extended extends WP_Widget {
|
|
| 117 |
<?php elseif ( ! empty( $instance['action'] ) ) : ?>
|
| 118 |
<form id="subscribe<?php echo $this->id; ?>" action="<?php echo esc_attr( $instance['action'] ); ?>" method="post" <?php if ($instance['open_same_window'] == 0 ) : ?> target="_blank"<?php endif; ?> onsubmit="if ( subbox1.value == '<?php echo esc_js( $instance['fname_text'] ); ?>') { subbox1.value = ''; } if ( subbox2.value == '<?php echo esc_js( $instance['lname_text'] ); ?>') { subbox2.value = ''; }" name="<?php echo esc_attr( $this->id ); ?>">
|
| 119 |
<?php if ( ! empty($instance['fname-field'] ) ) : ?><label for="subbox1" class="screenread"><?php echo esc_attr( $instance['fname_text'] ); ?></label><input type="text" id="subbox1" class="enews-subbox" value="" placeholder="<?php echo esc_attr( $instance['fname_text'] ); ?>"name="<?php echo esc_attr( $instance['fname-field'] ); ?>" /><?php endif ?>
|
| 120 |
-
<?php if ( ! empty($instance['lname-field'] ) ) : ?><label for="subbox2" class="screenread"><?php echo esc_attr( $instance['lname_text'] ); ?></label><input type="text" id="subbox2" class="enews-subbox" value="" placeholder="<?php echo esc_attr( $instance['
|
| 121 |
<label for="subbox" class="screenread"><?php echo esc_attr( $instance['input_text'] ); ?></label><input type="<?php echo current_theme_supports( 'html5' ) ? 'email' : 'text'; ?>" value="" id="subbox" placeholder="<?php echo esc_attr( $instance['input_text'] ); ?>" name="<?php echo esc_js( $instance['email-field'] ); ?>" <?php if ( current_theme_supports( 'html5' ) ) : ?>required="required"<?php endif; ?> />
|
| 122 |
<?php echo $instance['hidden_fields']; ?>
|
| 123 |
<input type="submit" value="<?php echo esc_attr( $instance['button_text'] ); ?>" id="subbutton" />
|
| 3 |
* Genesis eNews Extended
|
| 4 |
*
|
| 5 |
* @package BJGK\Genesis_enews_extended
|
| 6 |
+
* @version 2.0.1
|
| 7 |
* @author Brandon Kraft <public@brandonkraft.com>
|
| 8 |
* @link http://www.brandonkraft.com/genesis-enews-extended/
|
| 9 |
* @copyright Copyright (c) 2012-2015, Brandon Kraft
|
| 117 |
<?php elseif ( ! empty( $instance['action'] ) ) : ?>
|
| 118 |
<form id="subscribe<?php echo $this->id; ?>" action="<?php echo esc_attr( $instance['action'] ); ?>" method="post" <?php if ($instance['open_same_window'] == 0 ) : ?> target="_blank"<?php endif; ?> onsubmit="if ( subbox1.value == '<?php echo esc_js( $instance['fname_text'] ); ?>') { subbox1.value = ''; } if ( subbox2.value == '<?php echo esc_js( $instance['lname_text'] ); ?>') { subbox2.value = ''; }" name="<?php echo esc_attr( $this->id ); ?>">
|
| 119 |
<?php if ( ! empty($instance['fname-field'] ) ) : ?><label for="subbox1" class="screenread"><?php echo esc_attr( $instance['fname_text'] ); ?></label><input type="text" id="subbox1" class="enews-subbox" value="" placeholder="<?php echo esc_attr( $instance['fname_text'] ); ?>"name="<?php echo esc_attr( $instance['fname-field'] ); ?>" /><?php endif ?>
|
| 120 |
+
<?php if ( ! empty($instance['lname-field'] ) ) : ?><label for="subbox2" class="screenread"><?php echo esc_attr( $instance['lname_text'] ); ?></label><input type="text" id="subbox2" class="enews-subbox" value="" placeholder="<?php echo esc_attr( $instance['lname_text'] ); ?>" name="<?php echo esc_attr( $instance['lname-field'] ); ?>" /><?php endif ?>
|
| 121 |
<label for="subbox" class="screenread"><?php echo esc_attr( $instance['input_text'] ); ?></label><input type="<?php echo current_theme_supports( 'html5' ) ? 'email' : 'text'; ?>" value="" id="subbox" placeholder="<?php echo esc_attr( $instance['input_text'] ); ?>" name="<?php echo esc_js( $instance['email-field'] ); ?>" <?php if ( current_theme_supports( 'html5' ) ) : ?>required="required"<?php endif; ?> />
|
| 122 |
<?php echo $instance['hidden_fields']; ?>
|
| 123 |
<input type="submit" value="<?php echo esc_attr( $instance['button_text'] ); ?>" id="subbutton" />
|
plugin.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* Genesis eNews Extended
|
| 4 |
*
|
| 5 |
* @package BJGK\Genesis_enews_extended
|
| 6 |
-
* @version 2.0.
|
| 7 |
* @author Brandon Kraft <public@brandonkraft.com>
|
| 8 |
* @copyright Copyright (c) 2012-2015, Brandon Kraft
|
| 9 |
* @link https://kraft.im/genesis-enews-extended/
|
|
@@ -13,7 +13,7 @@
|
|
| 13 |
* Plugin Name: Genesis eNews Extended
|
| 14 |
* Plugin URI: https://kraft.im/genesis-enews-extended/
|
| 15 |
* Description: Replaces the Genesis eNews Widget to allow easier use of additional mailing services.
|
| 16 |
-
* Version: 2.0.
|
| 17 |
* Author: Brandon Kraft
|
| 18 |
* Author URI: https://kraft.im
|
| 19 |
* License: GPL-2.0+
|
| 3 |
* Genesis eNews Extended
|
| 4 |
*
|
| 5 |
* @package BJGK\Genesis_enews_extended
|
| 6 |
+
* @version 2.0.1
|
| 7 |
* @author Brandon Kraft <public@brandonkraft.com>
|
| 8 |
* @copyright Copyright (c) 2012-2015, Brandon Kraft
|
| 9 |
* @link https://kraft.im/genesis-enews-extended/
|
| 13 |
* Plugin Name: Genesis eNews Extended
|
| 14 |
* Plugin URI: https://kraft.im/genesis-enews-extended/
|
| 15 |
* Description: Replaces the Genesis eNews Widget to allow easier use of additional mailing services.
|
| 16 |
+
* Version: 2.0.1
|
| 17 |
* Author: Brandon Kraft
|
| 18 |
* Author URI: https://kraft.im
|
| 19 |
* License: GPL-2.0+
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: https://kraft.im/donate/
|
|
| 4 |
Tags: genesis, genesiswp, mailchimp, aweber, studiopress, newsletter, subscribe, mailpoet, wysija
|
| 5 |
Requires at least: 3.0
|
| 6 |
Tested up to: 4.3
|
| 7 |
-
Stable tag: 2.0.
|
| 8 |
|
| 9 |
Creates a new widget to easily add mailing lists integration to a Genesis website. Works with FeedBurner, MailChimp, AWeber, FeedBlitz and more.
|
| 10 |
|
|
@@ -51,6 +51,9 @@ Questions can be asked at the [WordPress.org Support Forum](http://wordpress.org
|
|
| 51 |
|
| 52 |
== Changelog ==
|
| 53 |
|
|
|
|
|
|
|
|
|
|
| 54 |
= 2.0.0 =
|
| 55 |
* Add filters for text before and after form.
|
| 56 |
* Fixed form name to be valid HTML 4.
|
| 4 |
Tags: genesis, genesiswp, mailchimp, aweber, studiopress, newsletter, subscribe, mailpoet, wysija
|
| 5 |
Requires at least: 3.0
|
| 6 |
Tested up to: 4.3
|
| 7 |
+
Stable tag: 2.0.1
|
| 8 |
|
| 9 |
Creates a new widget to easily add mailing lists integration to a Genesis website. Works with FeedBurner, MailChimp, AWeber, FeedBlitz and more.
|
| 10 |
|
| 51 |
|
| 52 |
== Changelog ==
|
| 53 |
|
| 54 |
+
= 2.0.1 =
|
| 55 |
+
* Corrects typo impacting Last Name field text placeholder.
|
| 56 |
+
|
| 57 |
= 2.0.0 =
|
| 58 |
* Add filters for text before and after form.
|
| 59 |
* Fixed form name to be valid HTML 4.
|
