Wordpress Contact Form 7写入数据库

问题描述

我正在将以下代码添加到我的functions.PHP文件中,但似乎无法获得联系表格来写入wordpress数据库。我可以让它写一个新行,但它不会保存任何表单数据。有人有建议吗?

    <div class="owl-item active center">
    <div class="item text-center" data-position="0">
        <!-- a href starts here --!>
        <div class="thumbnail" style="background-image: url('my-image.png');">
        </div>
       <!-- a href ends here --!>
</div>

解决方法

您只需要安装Advanced Contact form 7 DB插件,即可在提交表单时存储所有数据。