Bootstrap for Contact Form 7 - Version 1.1.1

Version Description

  • Fixed: exclusive option for checkbox now working
  • Fixed: default option for radio/checkbox now working
  • Fixed: PHP notice for radio/checkbox with only one option
  • Fixed: Captcha not valid message now only shows up once as it is supposed to
Download this release

Release Info

Developer flixos90
Plugin Icon 128x128 Bootstrap for Contact Form 7
Version 1.1.1
Comparing to
See all releases

Code changes from version 1.1.0 to 1.1.1

README.md CHANGED
@@ -1,14 +1,13 @@
1
  Bootstrap for Contact Form 7
2
  ============================
3
 
4
- This is the Github repository for the WordPress plugin Bootstrap for Contact Form 7. Feel free to browse the code here, but if you want to actually use the plugin, please download it from the [WordPress plugin repository](http://wordpress.org/plugins/bootstrap-for-contact-form-7/).
 
 
 
 
5
 
6
  Contributions and Bugs
7
  ----------------------
8
 
9
  If you have ideas on how to improve the plugin or if you discover a bug, I would appreciate if you shared them with me, right here on Github. In either case, please open a new issue [here](https://github.com/felixarntz/bootstrap-for-contact-form-7/issues/new)!
10
-
11
- Usage Instructions and Support
12
- ------------------------------
13
-
14
- You are currently browsing the Github repository of Bootstrap for Contact Form 7, made for developers. If instead you need instructions on how to use the plugin or if you have a support request, you may find what you're looking for at the [WordPress plugin repository](http://wordpress.org/plugins/bootstrap-for-contact-form-7/).
1
  Bootstrap for Contact Form 7
2
  ============================
3
 
4
+ This plugin modifies the output of the popular Contact Form 7 plugin to be styled in compliance with themes using the Bootstrap CSS framework.
5
+
6
+ You can download the latest version from the [WordPress plugin repository](http://wordpress.org/plugins/bootstrap-for-contact-form-7/).
7
+
8
+ For a guide on how to use the plugin, please read the [instructions on wordpress.org](https://wordpress.org/plugins/bootstrap-for-contact-form-7/). Adjusting your forms for the plugin is very straightforward - you only need to do it once to get your forms ready for Bootstrap.
9
 
10
  Contributions and Bugs
11
  ----------------------
12
 
13
  If you have ideas on how to improve the plugin or if you discover a bug, I would appreciate if you shared them with me, right here on Github. In either case, please open a new issue [here](https://github.com/felixarntz/bootstrap-for-contact-form-7/issues/new)!
 
 
 
 
 
assets/scripts.min.js CHANGED
@@ -1,5 +1,5 @@
1
  /*!
2
- * Bootstrap for Contact Form 7 Scripts - Version 1.1.0
3
  *
4
  * Modifications and Additions to WPCF7 Scripts to work with CF7BS
5
  * Felix Arntz <felix-arntz@leaves-and-love.net>
1
  /*!
2
+ * Bootstrap for Contact Form 7 Scripts - Version 1.1.1
3
  *
4
  * Modifications and Additions to WPCF7 Scripts to work with CF7BS
5
  * Felix Arntz <felix-arntz@leaves-and-love.net>
bootstrap-for-contact-form-7.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Bootstrap for Contact Form 7
4
  Plugin URI: http://wordpress.org/plugins/bootstrap-for-contact-form-7/
5
  Description: This plugin modifies the output of the popular Contact Form 7 plugin to be styled in compliance with themes using the Bootstrap CSS framework.
6
- Version: 1.1.0
7
  Author: Felix Arntz
8
  Author URI: http://leaves-and-love.net
9
  License: GNU General Public License v2
@@ -11,11 +11,11 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  */
12
  /**
13
  * @package CF7BS
14
- * @version 1.1.0
15
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
16
  */
17
 
18
- define( 'CF7BS_VERSION', '1.1.0' );
19
  define( 'CF7BS_MAINFILE', __FILE__ );
20
  define( 'CF7BS_PATH', untrailingslashit( plugin_dir_path( CF7BS_MAINFILE ) ) );
21
  define( 'CF7BS_URL', untrailingslashit( plugin_dir_url( CF7BS_MAINFILE ) ) );
@@ -72,7 +72,13 @@ function cf7bs_get_form_property( $property, $form_id = 0 )
72
  if( $form_id == 0 )
73
  {
74
  $current_form = WPCF7_ContactForm::get_current();
75
- $form_id = $current_form->id();
 
 
 
 
 
 
76
  }
77
 
78
  if( $current_form_id != $form_id )
3
  Plugin Name: Bootstrap for Contact Form 7
4
  Plugin URI: http://wordpress.org/plugins/bootstrap-for-contact-form-7/
5
  Description: This plugin modifies the output of the popular Contact Form 7 plugin to be styled in compliance with themes using the Bootstrap CSS framework.
6
+ Version: 1.1.1
7
  Author: Felix Arntz
8
  Author URI: http://leaves-and-love.net
9
  License: GNU General Public License v2
11
  */
12
  /**
13
  * @package CF7BS
14
+ * @version 1.1.1
15
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
16
  */
17
 
18
+ define( 'CF7BS_VERSION', '1.1.1' );
19
  define( 'CF7BS_MAINFILE', __FILE__ );
20
  define( 'CF7BS_PATH', untrailingslashit( plugin_dir_path( CF7BS_MAINFILE ) ) );
21
  define( 'CF7BS_URL', untrailingslashit( plugin_dir_url( CF7BS_MAINFILE ) ) );
72
  if( $form_id == 0 )
73
  {
74
  $current_form = WPCF7_ContactForm::get_current();
75
+ if ( $current_form !== null ) {
76
+ $form_id = $current_form->id();
77
+ }
78
+ }
79
+
80
+ if ( $form_id == 0 ) {
81
+ return false;
82
  }
83
 
84
  if( $current_form_id != $form_id )
changelog.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ == Changelog ==
2
+
3
+ = 1.1.1 =
4
+ * Fixed: exclusive option for checkbox now working
5
+ * Fixed: default option for radio/checkbox now working
6
+ * Fixed: PHP notice for radio/checkbox with only one option
7
+ * Fixed: Captcha not valid message now only shows up once as it is supposed to
8
+
9
+ = 1.1.0 =
10
+ * Added: new attribute 'align' can be added to the submit button
11
+ * Enhanced: submit button now positioned properly according to form layout
12
+ * Fixed: select and radio/checkbox options now use the main plugin's `get_data_option` method
13
+
14
+ = 1.0.0 =
15
+ * First stable version
classes/CF7BS_Alert.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
classes/CF7BS_Button.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
classes/CF7BS_Button_Group.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
classes/CF7BS_Component.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
classes/CF7BS_Form_Field.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
@@ -187,7 +187,7 @@ class CF7BS_Form_Field extends CF7BS_Component
187
  $curval = key( $options );
188
  $title = $options[ $curval ];
189
  }
190
- $output .= '<div class="checkbox">';
191
  $output .= '<label>';
192
  $output .= '<input' . $input_class . ( !empty( $id ) ? ' id="' . esc_attr( $id ) . '"' : '' ) . ' name="' . esc_attr( $name ) . '" type="checkbox" value="' . esc_attr( $curval ) . '"' . cf7bs_checked( $value, $curval, false ) . ( is_int( $tabindex ) ? ' tabindex="' . $tabindex . '"' : '' ) . $append . '>';
193
  $output .= esc_html( $title );
@@ -278,7 +278,7 @@ class CF7BS_Form_Field extends CF7BS_Component
278
  $curval = key( $options );
279
  $title = $options[ $curval ];
280
  }
281
- $output .= '<div class="radio">';
282
  $output .= '<label>';
283
  $output .= '<input' . $input_class . ( !empty( $id ) ? ' id="' . esc_attr( $id ) . '"' : '' ) . ' name="' . esc_attr( $name ) . '" type="radio" value="' . esc_attr( $curval ) . '"' . cf7bs_checked( $value, $curval, false ) . ( is_int( $tabindex ) ? ' tabindex="' . $tabindex . '"' : '' ) . $append . '>';
284
  $output .= esc_html( $title );
@@ -537,6 +537,15 @@ class CF7BS_Form_Field extends CF7BS_Component
537
  }
538
  else
539
  {
 
 
 
 
 
 
 
 
 
540
  $value = (string) $value;
541
  }
542
  return $value;
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
187
  $curval = key( $options );
188
  $title = $options[ $curval ];
189
  }
190
+ $output .= '<div class="checkbox' . $wrapper_class . '">';
191
  $output .= '<label>';
192
  $output .= '<input' . $input_class . ( !empty( $id ) ? ' id="' . esc_attr( $id ) . '"' : '' ) . ' name="' . esc_attr( $name ) . '" type="checkbox" value="' . esc_attr( $curval ) . '"' . cf7bs_checked( $value, $curval, false ) . ( is_int( $tabindex ) ? ' tabindex="' . $tabindex . '"' : '' ) . $append . '>';
193
  $output .= esc_html( $title );
278
  $curval = key( $options );
279
  $title = $options[ $curval ];
280
  }
281
+ $output .= '<div class="radio' . $wrapper_class . '">';
282
  $output .= '<label>';
283
  $output .= '<input' . $input_class . ( !empty( $id ) ? ' id="' . esc_attr( $id ) . '"' : '' ) . ' name="' . esc_attr( $name ) . '" type="radio" value="' . esc_attr( $curval ) . '"' . cf7bs_checked( $value, $curval, false ) . ( is_int( $tabindex ) ? ' tabindex="' . $tabindex . '"' : '' ) . $append . '>';
284
  $output .= esc_html( $title );
537
  }
538
  else
539
  {
540
+ if( is_array( $value ) )
541
+ {
542
+ if ( count( $value ) > 0 ) {
543
+ reset( $value );
544
+ $value = $value[ key( $value ) ];
545
+ } else {
546
+ $value = '';
547
+ }
548
+ }
549
  $value = (string) $value;
550
  }
551
  return $value;
composer.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "name": "felixarntz/bootstrap-for-contact-form-7",
3
  "description": "This plugin modifies the output of the popular Contact Form 7 plugin to be styled in compliance with themes using the Bootstrap CSS framework.",
4
- "version": "1.1.0",
5
  "license": "GPL-2.0",
6
  "type": "wordpress-plugin",
7
  "keywords": [
1
  {
2
  "name": "felixarntz/bootstrap-for-contact-form-7",
3
  "description": "This plugin modifies the output of the popular Contact Form 7 plugin to be styled in compliance with themes using the Bootstrap CSS framework.",
4
+ "version": "1.1.1",
5
  "license": "GPL-2.0",
6
  "type": "wordpress-plugin",
7
  "keywords": [
modifications.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
modules/acceptance.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
modules/captcha.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
@@ -51,7 +51,7 @@ function cf7bs_captcha_shortcode_handler( $tag )
51
  'mode' => $mode,
52
  'status' => $status,
53
  'tabindex' => false,
54
- 'wrapper_class' => $tag_obj->name,
55
  ) );
56
 
57
  $html = $field->display( false );
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
51
  'mode' => $mode,
52
  'status' => $status,
53
  'tabindex' => false,
54
+ 'wrapper_class' => '',
55
  ) );
56
 
57
  $html = $field->display( false );
modules/checkbox.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
@@ -77,11 +77,26 @@ function cf7bs_checkbox_shortcode_handler( $tag )
77
  }
78
 
79
  $defaults = array();
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  if( $matches = $tag->get_first_match_option( '/^default:([0-9_]+)$/' ) )
81
  {
82
- $defaults = explode( '_', $matches[1] );
83
  }
84
 
 
 
85
  $options = array();
86
  $checked = '';
87
  if( $multiple )
@@ -152,7 +167,7 @@ function cf7bs_checkbox_shortcode_handler( $tag )
152
  $field = new CF7BS_Form_Field( array(
153
  'name' => $tag->name,
154
  'id' => $tag->get_option( 'id', 'id', true ),
155
- 'class' => $tag->get_class_option( $class ),
156
  'type' => $tag->basetype,
157
  'value' => $checked,
158
  'label' => $tag->content,
@@ -166,7 +181,7 @@ function cf7bs_checkbox_shortcode_handler( $tag )
166
  'mode' => $mode,
167
  'status' => $status,
168
  'tabindex' => $tag->get_option( 'tabindex', 'int', true ),
169
- 'wrapper_class' => $tag->name,
170
  ) );
171
 
172
  $html = $field->display( false );
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
77
  }
78
 
79
  $defaults = array();
80
+
81
+ $default_choice = $tag->get_default_option( null, 'multiple=1' );
82
+
83
+ foreach( $default_choice as $value )
84
+ {
85
+ $key = array_search( $value, $values, true );
86
+
87
+ if( false !== $key )
88
+ {
89
+ $defaults[] = (int) $key + 1;
90
+ }
91
+ }
92
+
93
  if( $matches = $tag->get_first_match_option( '/^default:([0-9_]+)$/' ) )
94
  {
95
+ $defaults = array_merge( $defaults, explode( '_', $matches[1] ) );
96
  }
97
 
98
+ $defaults = array_unique( $defaults );
99
+
100
  $options = array();
101
  $checked = '';
102
  if( $multiple )
167
  $field = new CF7BS_Form_Field( array(
168
  'name' => $tag->name,
169
  'id' => $tag->get_option( 'id', 'id', true ),
170
+ 'class' => '',
171
  'type' => $tag->basetype,
172
  'value' => $checked,
173
  'label' => $tag->content,
181
  'mode' => $mode,
182
  'status' => $status,
183
  'tabindex' => $tag->get_option( 'tabindex', 'int', true ),
184
+ 'wrapper_class' => $tag->get_class_option( $class . ' ' . $tag->name ),
185
  ) );
186
 
187
  $html = $field->display( false );
modules/date.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
modules/file.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
modules/number.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
modules/quiz.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
modules/select.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
modules/submit.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
modules/text.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
modules/textarea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package CF7BS
4
- * @version 1.1.0
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
1
  <?php
2
  /**
3
  * @package CF7BS
4
+ * @version 1.1.1
5
  * @author Felix Arntz <felix-arntz@leaves-and-love.net>
6
  */
7
 
package.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "name": "bootstrap-for-contact-form-7",
3
  "pluginName": "Bootstrap for Contact Form 7",
4
- "version": "1.1.0",
5
  "description": "This plugin modifies the output of the popular Contact Form 7 plugin to be styled in compliance with themes using the Bootstrap CSS framework.",
6
  "keywords": [
7
  "wordpress", "plugin", "contact form 7", "wpcf7", "bootstrap", "bootstrap 3", "bootstrap framework", "addon", "contact form 7 addon", "contact form", "cf7bs", "css"
1
  {
2
  "name": "bootstrap-for-contact-form-7",
3
  "pluginName": "Bootstrap for Contact Form 7",
4
+ "version": "1.1.1",
5
  "description": "This plugin modifies the output of the popular Contact Form 7 plugin to be styled in compliance with themes using the Bootstrap CSS framework.",
6
  "keywords": [
7
  "wordpress", "plugin", "contact form 7", "wpcf7", "bootstrap", "bootstrap 3", "bootstrap framework", "addon", "contact form 7 addon", "contact form", "cf7bs", "css"
readme.txt CHANGED
@@ -8,8 +8,8 @@ Donate link: http://leaves-and-love.net/wordpress-plugins/
8
  Contributors: flixos90
9
  Requires at least: 3.6
10
  Tested up to: 4.2
11
- Stable tag: 1.1.0
12
- Version: 1.1.0
13
  License: GPL v2
14
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
15
  Tags: contact form 7, wpcf7, bootstrap, bootstrap 3, bootstrap framework, addon, css framework, contact form 7 addon, contact form, cf7bs, css
@@ -20,7 +20,8 @@ This plugin modifies the output of the popular Contact Form 7 plugin to be style
20
 
21
  Bootstrap for Contact Form 7 modifies all the output of the popular [Contact Form 7 plugin](https://wordpress.org/plugins/contact-form-7/) to be fully compatible with the current version 3 of the popular CSS framework [Bootstrap](http://getbootstrap.com/). What this means to you as a Bootstrap user: No additional CSS rules necessary - from now on, Contact Form 7 integrates seamlessly with the overall Bootstrap design. It is even possible to use different form layouts via an easy-to-use filter.
22
 
23
- **This plugin is actually an addon to another plugin, so it requires Contact Form 7 to work. Furthermore you have to be using it in conjunction with a Bootstrap-based WordPress theme, otherwise the forms might look weird.**
 
24
 
25
  = Usage =
26
 
@@ -77,6 +78,10 @@ While the option to display radio and checkbox labels before the actual input fi
77
 
78
  Bootstrap for Contact Form 7 is an (inofficial) addon to Contact Form 7. You must have the plugin installed to see any changes. Furthermore you should only use this plugin if your theme is based on the CSS framework Bootstrap.
79
 
 
 
 
 
80
  = How can I contribute to the plugin? =
81
 
82
  If you're a developer and you have some ideas to improve the plugin or to solve a bug, feel free to raise an issue or submit a pull request in the [Github repository for the plugin](https://github.com/felixarntz/bootstrap-for-contact-form-7).
@@ -89,6 +94,12 @@ If you're a developer and you have some ideas to improve the plugin or to solve
89
 
90
  == Changelog ==
91
 
 
 
 
 
 
 
92
  = 1.1.0 =
93
  * Added: new attribute 'align' can be added to the submit button
94
  * Enhanced: submit button now positioned properly according to form layout
8
  Contributors: flixos90
9
  Requires at least: 3.6
10
  Tested up to: 4.2
11
+ Stable tag: 1.1.1
12
+ Version: 1.1.1
13
  License: GPL v2
14
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
15
  Tags: contact form 7, wpcf7, bootstrap, bootstrap 3, bootstrap framework, addon, css framework, contact form 7 addon, contact form, cf7bs, css
20
 
21
  Bootstrap for Contact Form 7 modifies all the output of the popular [Contact Form 7 plugin](https://wordpress.org/plugins/contact-form-7/) to be fully compatible with the current version 3 of the popular CSS framework [Bootstrap](http://getbootstrap.com/). What this means to you as a Bootstrap user: No additional CSS rules necessary - from now on, Contact Form 7 integrates seamlessly with the overall Bootstrap design. It is even possible to use different form layouts via an easy-to-use filter.
22
 
23
+ > <strong>This plugin is an addon to Contact Form 7.</strong><br>
24
+ > The plugin requires Contact Form 7 to be activated, otherwise it won't change anything. Furthermore you should be using it in conjunction with a Bootstrap-based WordPress theme, otherwise the forms might look weird (and there would be no point in using this addon anyway).
25
 
26
  = Usage =
27
 
78
 
79
  Bootstrap for Contact Form 7 is an (inofficial) addon to Contact Form 7. You must have the plugin installed to see any changes. Furthermore you should only use this plugin if your theme is based on the CSS framework Bootstrap.
80
 
81
+ = Where should I submit my support request? =
82
+
83
+ I preferably take support requests as [issues on Github](https://github.com/felixarntz/bootstrap-for-contact-form-7/issues), so I would appreciate if you created an issue for your request there. However, if you don't have an account there and do not want to sign up, you can of course use the [wordpress.org support forums](https://wordpress.org/support/plugin/bootstrap-for-contact-form-7) as well.
84
+
85
  = How can I contribute to the plugin? =
86
 
87
  If you're a developer and you have some ideas to improve the plugin or to solve a bug, feel free to raise an issue or submit a pull request in the [Github repository for the plugin](https://github.com/felixarntz/bootstrap-for-contact-form-7).
94
 
95
  == Changelog ==
96
 
97
+ = 1.1.1 =
98
+ * Fixed: exclusive option for checkbox now working
99
+ * Fixed: default option for radio/checkbox now working
100
+ * Fixed: PHP notice for radio/checkbox with only one option
101
+ * Fixed: Captcha not valid message now only shows up once as it is supposed to
102
+
103
  = 1.1.0 =
104
  * Added: new attribute 'align' can be added to the submit button
105
  * Enhanced: submit button now positioned properly according to form layout