Bootstrap Modals , Dialog box, Popup form wordpress

bootstrap popup contact form 7

Bootstrap to show the “Contact Form 7” Form in Popup on click buttons..

Here are the step’s..

1) First need to add button.. where you want to show ..

<div class="nst-center">
<a class="btn btn-default btn-rounded" data-toggle="modal" data-target="#nstregister">Contact Us</a>
</div>

 

2) Go to Dashboard, Contact form 7 and create or use existing form shortcode..

bootstrap popup contact form 7

 

3) Add this to footer or if you are using visual editor then add to “raw html” element.

<div class="modal fade" id="nstregister" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h4 class="modal-title w-100 font-weight-bold">Contact Info</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body mx-3">
/** You contact form 7 code here or any form code **/


</div>
</div>
</div>
</div>

 

3) Then you can add style to show the form style something like this..

contact form 7 nstplanet modal form

 

4) All is done.. Contact Us if you want any help to configure this..

 

If this help you then.. Can you buy a Cup of Coffee for me by nst webcreation paypal--OR-- nst webcreation blog coffee cup

Published by

NST

Myself Narender Singh Thakur ( NST ) and i share my Experience/Knowledge and Tricks for folks and beginners to solve their issues while making websites through this Planet.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Click to Chat