WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: bootstrap-for-contact-form-7 (Used by 2,520 domains)

Bootstrap for Contact Form 7

👤 Felix Arntz 📦 v1.4.8 🔗 Plugin Homepage

Bootstrap for Contact Form 7 modifies all the output of the popular Contact Form 7 plugin to be fully compatible with the current version 3 of the popular CSS framework Bootstrap. 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 Contact Form 7’s “Additional Settings” tab.

This plugin is an addon to Contact Form 7.
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).

Usage

Bootstrap for Contact Form 7 does not provide additional options itself, so you can continue using Contact Form 7 (almost) the same way you did before.

The plugin will not break your form’s appearance, however it is recommended to adjust the contact form shortcodes to achieve perfect results: Generally, you should not be using HTML tags any longer to wrap the field shortcodes. They already include the complete Bootstrap-ready markup, including displaying labels. Read the Setup Guide for a quick introduction.

Advanced Features

The plugin brings some additional useful features to enhance your forms even more:

  • the form layout can be changed to a horizontal or inline one
  • the form’s input size can be globally changed
  • checkbox and radio groups can be displayed either one per line, inline or as Bootstrap buttons
  • text inputs and textareas support Bootstrap’s input group feature to add content before or after them
  • text inputs and textareas can show a character count (the [count] shortcode from Contact Form 7) inline
  • the captcha input field can show the captcha image inline
  • by using GET parameters in a URL to a contact form, field values can be predefined

The above features are explained in detail on the Other Notes page.

Basic Idea behind the Plugin

Lots of WordPress Themes are based on Bootstrap – and while it is the general approach to use CSS rules to style your HTML content, it is also possible the other way around – with many benefits.

When using a well-known framework which provides general styles for all the important components of a website, it can be time-consuming to apply the same styles to third-party plugins which (obviously) have not been written with a framework in mind. This is perfectly fine, but if you’re using Bootstrap for your WordPress theme, you will certainly love the fact that you do not need to write CSS rules for the Contact Form 7 plugin any longer. It will all look like Bootstrap from the beginning so that it fits into your website design. If you’re not using Bootstrap, this plugin is useless for you – but maybe you’re just having an idea how you can adjust another popular WordPress plugin to integrate with another well-written CSS framework.

Advanced Features

Additional Settings

Here you find additional settings which are part of the Bootstrap for Contact Form 7 plugin. If you want to learn more about the additional settings of the original Contact Form 7 plugin, please visit this page.

You can adjust several form properties (properties that affect an entire form, not just a single field of it) to give your forms the appearance you want. Here is a list of the properties, what they do and their possible values:

  • layout – adjusts the form’s layout (note that in most cases the inline form will need additional styling to look good); valid values: ‘default’, ‘inline’, ‘horizontal’; default value: ‘default’
  • size – adjusts the size of all input fields; valid values: ‘default’, ‘small’, ‘large’; default value: ‘default’
  • group_layout – adjusts the layout of checkbox and radio groups; valid values: ‘default’, ‘inline’, ‘buttons’; default value: ‘default’
  • group_type – adjusts the color of checkbox and radio groups with buttons layout; valid values: ‘default’, ‘primary’, ‘success’, ‘info’, ‘warning’, ‘danger’; default value: ‘default’
  • submit_size – adjusts the size of the submit button; valid values: ‘default’, ‘small’, ‘large’ or an empty string to force it to have the size defined in the size form property; default value is an empty string
  • submit_type – adjusts the color of the submit button; valid values: ‘default’, ‘primary’, ‘success’, ‘info’, ‘warning’, ‘danger’; default value: ‘primary’
  • required_html – adjusts the HTML output to append to required fields’ labels; valid values: any HTML output; default value: *
  • grid_columns – allows you to override the total grid column count of Bootstrap (you might only need to adjust this if you’re using a custom version of Bootstrap); valid values: any integer greater than 1; default value: 12
  • label_width – adjusts the form’s label width (applies only to horizontal layout); valid values: any integer between 1 and the value of grid_columns minus 1; default value: 3
  • breakpoint – adjusts the responsive breakpoint (applies only to horizontal layout); valid values: ‘xs’, ‘sm’, ‘md’, ‘lg’; default value: ‘sm’

There are four methods to adjust the above properties: The easiest one is to use the “Additional Settings” tab when editing a form in Contact Form 7 and insert any property and its desired value there, one per line. For example:

layout:horizontal
size:large
group_layout:inline

Alternatively you can use the filter cf7bs_form_{{FORM_ID}}_properties where {{FORM_ID}} must be replaced by the ID of the form you would like to modify (you find that number in the overall form’s shortcode). An array of all the properties and their values is passed to that function so that you can easily adjust them. Example (in this case we would adjust the contact form with the ID 3):

function my_custom_form_properties( $properties ) {
    $properties['layout'] = 'horizontal';
    $properties['size'] = 'large';
    $properties['group_layout'] = 'inline';
    return $properties;
}
add_filter( 'cf7bs_form_3_properties', 'my_custom_form_properties' );

The third way does something slightly different from the other two since it does not change a specific form’s properties, but the default properties for all forms. To do that, you should use the filter cf7bs_default_form_properties which works exactly like the other filter mentioned above.

The fourth method is different from the others as it allows to override the form settings on a per-field basis. You can add any of the setting names plus its intended value as a shortcode attribute for any field to make this field behave differently from the form’s setting. This can be especially helpful if you need to create advanced form layouts like when you need multiple fields on the same line. For example, you could do the following to display two fields in one row, even though the form’s layout is set to ‘default’:

[text user_first_name id:user-first-name layout:none][/text]
[text user_last_name id:user-last-name layout:none][/text]

Note that the custom form filter takes precedence over the properties defined in the admin, while the default filter is just used as fallback.

Input Groups

All textual input fields support the input group feature that Bootstrap provides. To use it, add a shortcode-like construct (almost, but it has to use curly braces instead) into the content of any text / email / url / tel input shortcode. Example:

[text twitter-username]{input_before}@{/input_before}Your Twitter Handle[/text]

Note that the input_before and input_after can also be added to textareas. In this case, the content will be displayed directly above or below the textarea respectively.

Submit Button Alignment

The submit button can be aligned left, center or right to fit your form’s desired appearance. Simply provide an align option with either ‘left’, ‘center’ or ‘right’ as value. Example:

[submit align:right "Send"]

Inline Character Count

Contact Form 7 provides a [count] shortcode that renders a number indicating how many characters have been entered or how many characters are remaining in a specific input field. Using it on its own looks kind of ugly though. But guess what, you can adjust that too by adding an option include_count to any text / email / url / tel / textarea input. You can optionally specify a value for that option as well which can consist of the positioning (‘before’ or ‘after’) and the count direction (‘up’ or ‘down’) of the counter. Just as a reminder, when choosing ‘down’, make sure you give the input element a maximum length, otherwise there is no point in having that counter. Example:

[text your-text maxlength:80 include_count:after:down]Your Text[/text]

By the way, have you read the information about input groups above? You can combine those with the character count (because just seeing a number without any additional information might confuse your site’s visitors). The following example will show a message like ‘433 characters left’ after the field:

[textarea your-text maxlength:500 include_count:after:down input_after:characters---left]Your Text[/textarea]

Inline Captcha Image

If you’ve been using Contact Form 7 together with the Really Simple CAPTCHA plugin, you are probably aware of the [captchar] (captcha input field) and [captchac] (captcha image) shortcodes it provides. You can still use them independently, but it probably looks nicer to have the captcha image show up inline, right beside its input field. To accomplish this, remove the [captchac] shortcode completely and instead add a new option include_captchac to the [captchar] shortcode. You can optionally give this option a value (either ‘before’ or ‘after’) to mark the location where the image should show up. Example:

[captchar your-captcha include_captchac:before]Captcha[/captchar]

Custom Form URLs

You can add GET parameters to populate your forms with custom initial values by simply using the field name as parameter’s key and the desired value as the parameter’s value. This works with checkboxes, date fields, number fields, select fields, all text fields and textareas. The easiest way to create such a URL is to use the plugin’s function cf7bs_add_get_parameter() where you provide parameters similarly to the WordPress Core function add_query_arg. Example:

$my_custom_url = cf7bs_add_get_parameter( array(
    'your-name'     => 'John Doe',
    'your-email'    => '[email protected]',
    'your-subject'  => 'Support Request',
), 'http://www.example.com/my-custom-form/' );

Filter Field Arguments

As of version 1.2.3, field arguments for every single field can be filtered, which allows you to basically modify anything you like. The filters you need to hook your function into have the following structure cf7bs_form_{{FORM_ID}}_field_{{FIELD_BASETYPE}}_{{FIELD_NAME}}_properties. Yep, it’s a long filter name, but it is necessary so that you can filter in the most detailed way possible. When using one of the filters, replace {{FORM_ID}} with the ID of the form, {{FIELD_BASETYPE}} with the type of the field you need to adjust (be sure to not include the asterisks here!) and {{FIELD_NAME}} with the name of the field. The function should accept one argument, an array of parameters. For an overview about the available parameters, please check the plugin’s source code.

Unsupported functionality

While the plugin tries to support as many features as possible from the original Contact Form 7 (in combination with adding new ones!), not everything is and can be supported.

There are two things in particular which are explicitly not supported:

  • the size option on all input fields (Bootstrap form elements scale automatically, so we do not need a custom size for those)
  • the label_first option on checkbox and radio fields (Bootstrap natively only supports checkboxes and radio buttons where the label is displayed after them)

If you discover any other Contact Form 7 feature than the above two which is not supported by Bootstrap for Contact Form 7, you can raise an issue or submit a support request.

DomainExposuresHeadersLast Checked
f*n*u*s*i*a*r*c*.com (WP 4.7.16) F 2026-07-24 18:57:03
c*f*p*d*a*z*l.com (WP 6.4.2) F 2026-07-24 18:56:25
j*u*d*a*d*m*t*r*a*.nl F 2026-07-24 17:40:54
f*n*e*a*o*k.com (WP 6.9.5) F 2026-07-24 17:24:44
s*l*r*s*s*m*l*i*l*x.sk (WP 5.8.13) F 2026-07-24 16:40:55
a*t*t*p*l*.com (WP 7.0.2) F 2026-07-24 16:29:28
o*t*m*-*o*l*.pl (WP 6.9.4) F 2026-07-24 15:55:17
p*i*h*c*c*b*a*h*e*o*t.com (WP 6.6.5) F 2026-07-24 15:47:13
k*a*o*i*d*s.com (WP 4.5.32) F 2026-07-24 15:38:36
t*-*l*k*r*t*c*n*k.com (WP 6.0.12) F 2026-07-24 15:34:34
a*e*n*u*.org (WP 6.0.5) F 2026-07-24 15:30:27
a*t*y*.com (WP 5.5.18) F 2026-07-24 14:50:06
c*d*z*n*o*o.com F 2026-07-24 14:17:42
a*t*u*a*.com (WP 7.0.2) F 2026-07-24 14:05:15
c*o*-*h*n*.com F 2026-07-24 13:44:37
s*l*r*f*i*t*c*e*s.com (WP 6.4.8) F 2026-07-24 13:31:09
p*r*m.com (WP 5.9.8) F 2026-07-24 12:19:03
i*n*v*s*o*s*o*l*n*.com (WP 7.0.2) D 2026-07-24 12:16:31
k*l*u*l*n*e*t*l.ie (WP 5.3.21) F 2026-07-24 11:39:06
s*a*t*s*r*u*b*r*.de (WP 6.8.6) F 2026-07-24 10:34:10
p*i*a*e*p*i*p*o*t*b*e*e*a*r.com C 2026-07-24 09:47:54
d*m*.lk F 2026-07-24 09:34:40
v*c*o*i*l*n*n*.com (WP 6.1.10) F 2026-07-24 09:33:17
c*o*s*r*f*c*l*.com (WP 6.8.3) F 2026-07-24 09:09:22
r*t*r*-*o*s*y*s*i*t*l*u*s.com F 2026-07-24 09:02:54
p*m*r*l.de (WP 6.6.1) F 2026-07-24 08:35:12
3*a*s*a*.fr (WP 6.0.12) F 2026-07-24 08:07:00
a*t*s*n*-*a*o*e*r*-*s*o*i*s.com F 2026-07-24 08:04:01
r*s*e*l*e*r*n*.com B 2026-07-24 07:55:17
s*i*e*m*k*n*e*.com (WP 6.6.5) F 2026-07-24 07:47:41
k*t*s*c*a*c*u*.com F 2026-07-24 07:39:01
r*s*l*t*c*n*l*g*.com F 2026-07-24 05:43:53
p*a*m*x*r*s*-*o*i*t*c*.com F 2026-07-24 05:39:06
b*y*e*t*t*g*r*.de F 2026-07-24 05:37:56
p*a*m*s.com (WP 7.0.2) F 2026-07-24 05:32:12
p*a*m*v*t*r*n*.com F 2026-07-24 05:27:48
a*a*e*e*i*a*e*e*t*e.ie F 2026-07-24 05:14:31
m*s*o*r*l*g*l.com (WP 6.4.8) F 2026-07-24 05:07:18
m*s*o*r*l*w*e*a*t*r*e*.com (WP 6.4.8) F 2026-07-24 05:07:18
d*s*u*t*n*c*a*s.com F 2026-07-24 04:43:04
r*s*e*e*o*m*.com (WP 6.1.10) F 2026-07-24 04:30:51
k*r*s*e*k*t*i*i*g.com (WP 7.0.2) D 2026-07-24 03:50:38
c*-*a*i*a*.com F 2026-07-24 02:47:06
t*v*o*.c*.il F 2026-07-24 02:45:36
m*r*l.fr (WP 6.6.2) F 2026-07-24 02:32:40
i*m*j*n*n*e.com (WP 5.1.22) F 2026-07-24 02:10:48
s*c*e*h*a*t*h*r*h*a*r*i*.org (WP 7.0.1) F 2026-07-24 02:09:33
a*t*i*t*r*a*r*a*.com C 2026-07-24 01:30:14
s*e*e*s*n*r*i*.com D 2026-07-24 01:14:30
p*n*a*s*r*n*s.com F 2026-07-24 00:39:54
t*h*m*a*a*i.ee F 2026-07-23 23:56:08
m*s*-*a*s*d*-*a*o*e.com (WP 7.0.2) F 2026-07-23 23:37:44
r*s*b*r*p*o*t*b*e*e*a*r.com C 2026-07-23 23:34:04
a*b*m*r*e*o*i*w*s*e.org (WP 7.0.2) F 2026-07-23 23:00:39
c*c*s*i*o.com F 2026-07-23 22:52:15
p*o*e*o.pl (WP 4.8.25) F 2026-07-23 22:26:33
c*r*o*i*y*a*.com (WP 7.0.2) F 2026-07-23 22:17:32
p*t*i*l*p*o*o*r*p*y.com (WP 4.5.32) F 2026-07-23 21:20:52
p*a*t*c*l*v*.c*.uk (WP 6.8.6) F 2026-07-23 21:12:36
a*t*m*s*b*.com (WP 7.0.2) F 2026-07-23 21:02:05
v*a*e*e*a*i*a*.com (WP 7.0.2) F 2026-07-23 20:57:39
i*p*e*s*o*-*a*a*i*e.com (WP 7.0.2) F 2026-07-23 20:54:13
h*w*y*u*.com (WP 4.9.29) F 2026-07-23 20:46:14
i*k*e*t*e*p*d*a*t.com F 2026-07-23 20:40:23
i*k*e*t*e*c*l*e*t*v*.com F 2026-07-23 20:40:23
r*s*b*l*m*d*u*o*j*.com (WP 4.9.19) F 2026-07-23 20:34:09
s*e*l*n*h*i*h*s*i*l*a*d*a*l*m*v*r*.com C 2026-07-23 20:27:47
t*v*m*b*l*.com (WP 4.5.2) F 2026-07-23 19:59:20
t*t*a*o*i*-*c*d*m*.fr F 2026-07-23 19:31:11
f*s*-*v.de (WP 6.8.6) F 2026-07-23 19:24:03
v*a*e*d*n*t*l.com (WP 7.0.2) F 2026-07-23 19:02:15
v*n*a*t*o*e*.nl (WP 6.7.5) F 2026-07-23 18:35:36
m*r*a*a*a*u*e*e*o*t.com (WP 7.0.2) F 2026-07-23 18:13:10
m*i*a*.es (WP 4.6.30) F 2026-07-23 18:03:15
m*r*e*h*o*o*.com (WP 4.9.29) F 2026-07-23 17:55:28
p*t*i*k*r*p*r*i*s.c*.uk (WP 6.9.5) F 2026-07-23 17:07:36
v*s*g*s.com (WP 7.0.2) F 2026-07-23 17:04:22
b*m*s*o*a.com (WP 4.9.26) F 2026-07-23 16:39:34
r*o*2*o*r*e.com (WP 5.5.18) F 2026-07-23 16:28:49
k*n*z*a*t*n*u*o.hu F 2026-07-23 14:51:41
b*f*e*e*i*s.com (WP 6.5.8) F 2026-07-23 14:50:38
s*b*r.o*g.br (WP 6.9.5) F 2026-07-23 12:32:24
i*e*l*l*x*b*l*t*.com (WP 7.0.2) F 2026-07-23 12:07:18
a*s*u*r*k.com (WP 4.7.29) F 2026-07-23 11:40:30
s*e*c*l*p*d*a*t.com F 2026-07-23 11:26:26
a*s*l*u.com (WP 6.4.8) F 2026-07-23 11:07:17
c*n*m*l*c*m*a*n*a.it (WP 6.9.1) D 2026-07-23 11:07:15
b*p*b*o*e*.com (WP 7.0.2) F 2026-07-23 10:22:15
b*p*a*h*t*a*b*a*h*o*e*.com (WP 7.0.2) F 2026-07-23 10:16:05
m*n*e*p*l*s*o*l*a*l*r*p*i*.com C 2026-07-23 10:03:24
s*b*l*e*b*d.de (WP 6.8.6) F 2026-07-23 10:02:08
s*n*e*n*g*l.nl (WP 6.4.8) F 2026-07-23 09:42:27
s*h*w*r.com F 2026-07-23 08:52:01
m*k*a*n*w*.net F 2026-07-23 08:13:08
p*r*i*s*o*s.ir F 2026-07-23 08:04:27
w*o*k*s*r*e*a.pl (WP 4.8.25) F 2026-07-23 08:02:04
e*o*s*l*i*g.bf (WP 7.0.2) F 2026-07-23 07:32:33
z*e.it F 2026-07-23 07:28:19
c*n*r*l*o*a*c*s*i.it (WP 7.0.2) F 2026-07-23 07:28:19
u*t*u*s*r*e*r*.fr (WP 7.0) F 2026-07-23 07:26:36

Top 50 Plugins

Plugin Count
elementor 1,776,840
contact-form-7 1,758,478
elementor-pro 1,055,074
woocommerce 817,523
revslider 611,279
jetpack 457,533
js_composer 421,938
wp-rocket 341,667
essential-addons-for-elementor-lite 266,173
complianz-gdpr 259,008
gravityforms 257,969
google-site-kit 232,386
cookie-law-info 229,699
instagram-feed 225,821
sitepress-multilingual-cms 211,333
header-footer-elementor 208,143
google-analytics-for-wordpress 206,707
bluehost-wordpress-plugin 192,722
elementskit-lite 181,340
gutenberg 167,440
cookie-notice 149,808
litespeed-cache 143,617
gtranslate 125,686
wpforms-lite 124,882
the-events-calendar 122,872
gutenberg-core 118,836
astra-sites 114,110
popup-maker 110,286
woocommerce-payments 110,090
tablepress 102,271
honeypot 98,128
astra-addon 94,242
wp-smushit 91,393
coblocks 91,360
duracelltomi-google-tag-manager 90,662
layerslider 89,815
all-in-one-seo-pack 89,546
bb-plugin 87,277
akismet 85,312
premium-addons-for-elementor 84,794
cleantalk-spam-protect 83,108
ml-slider 83,006
mailchimp-for-wp 82,301
megamenu 80,581
woocommerce-gateway-stripe 79,920
jet-engine 77,827
fusion-builder 77,530
ewww-image-optimizer 76,707
wp-pagenavi 76,574
smart-slider-3 76,516

Top 50 Themes

Theme Count
hello-elementor 622,854
Divi 498,842
astra 416,322
flatsome 137,650
Avada 121,751
generatepress 115,146
pub 82,875
oceanwp 80,967
kadence 79,065
enfold 69,212
salient 65,526
twentyseventeen 54,508
bb-theme 53,547
betheme 52,521
twentytwentyfour 52,277
blocksy 51,124
cocoon-master 49,306
dt-the7 45,611
twentytwentyfive 44,890
woodmart 42,031
h4 41,331
neve 38,332
Avada-Child-Theme 37,020
gox 36,279
bridge 31,570
twentytwentyone 30,405
lightning 29,914
twentytwenty 28,851
swell 27,943
bricks 26,539
Impreza 26,135
Newspaper 24,300
twentytwentythree 22,160
epik-redesign 19,218
twentytwentytwo 18,866
uncode 18,639
twentysixteen 17,652
pro 17,630
sydney 16,648
storefront 16,402
Total 14,495
hello-theme-child-master 14,034
factory-templates-4 13,726
themify-ultra 13,004
extendable 12,960
hestia 12,657
yootheme 12,597
yith-wonder 12,316
porto 12,027
twentyfifteen 11,829