0

I'm needing to collect a Name and Email through a twitter-bootstrap modal that sends me an email and updates the modal window 'success' upon submit using the wordpress platform. Can't figure it out. Any ideas?

4

1 回答 1

0

最简单的事情是使用 Gravity Forms(或类似的)来处理表单位,使用 Form 小部件将表单添加到小部件区域,然后在要使用模式的页面上包含该小部件区域。

例如(使用重力形式):

<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<?php dynamic_sidebar('form-sidebar');?>
</div>

<a href="#myModal"  data-toggle="modal">This is the link that triggers the modal</a>
于 2012-12-15T02:07:25.363 回答