我想在事件上插入一个联系人表单,这样用户就可以注册该事件。我不想为每个事件生成一个联系人表单,所以我的想法是从一个site元素中捕获日期
日期:
<span class="ecwd-event-date" itemprop="startDate" content="2017-06-22T18:00"> 22.06.2017 18:00 - 13.07.2017 21:30 </span>主题:
<h1 itemprop="name" class="ecwd-events-single-event-title summary entry-title">subject</h1>这有可能吗?
发布于 2017-07-05 18:01:02
可能更容易使用这个插件https://wordpress.org/plugins/cf7-database/。这将允许您保留一个带有时间戳的提交的数据库记录。当用户提交表单时,DB将生成时间戳,而不是由表单生成时间戳。
https://stackoverflow.com/questions/44922856
复制相似问题