Created
September 6, 2017 21:52
-
-
Save bkaminski/92990bdb4f8a056694abcad74c141bf3 to your computer and use it in GitHub Desktop.
CF7modalUpdate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- The include file with the "do_shortcode" hook --> | |
<!-- ID for modal set to "contactModal" for javaScript purposes --> | |
<div class="modal fade" id="contactModal" tabindex="-1" role="dialog" aria-labelledby="contactModalLabel" aria-hidden="true"> | |
<div class="modal-dialog" role="document"> | |
<div class="modal-content"> | |
<div class="modal-header"> | |
<h5 class="modal-title" id="contactModalLabel">Contact Ben:</h5> | |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> | |
<span aria-hidden="true">×</span> | |
</button> | |
</div> | |
<div class="modal-body"> | |
<?php echo do_shortcode('[contact-form-7 id="#your_unique_id" title="your_title"]'); ?> | |
</div> | |
<div class="modal-footer"> | |
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment