我使用Mailchimp插件嵌入了一个Mailchimp新闻稿注册,该插件对登录用户和我的其他网站都很好。但在此页面上,未登录的用户无法单击表单的提交按钮。它只是没有效果,也没有出现错误消息。什么都没有发生。
EDIT: Could the problem be the fact, that there are two forms on the page, when the user isn\'t logged in and mailchimp can\'t figure out which input field are the right ones?! The weird thing is, that it works fine, if I use the option "convert text inputs to textarea", of the browser plugin \'web developer\'!
这是我的表格:
<form class="snp-subscribeform snp_subscribeform layout_form cr_form cr_font" method="post">
<script type="text/javascript">
(function() {
if (!window.mc4wp) {
window.mc4wp = {
listeners: [],
forms: {
on: function(event, callback) {
window.mc4wp.listeners.push({
event: event,
callback: callback
});
}
}
}
}
})();
</script>
<div class="mc4wp-form-fields">
<div rel="text" class="cr_ipe_item ui-sortable musthave footer-newsletter_firstname"> <input type="text" name="FNAME" placeholder="Firstname*" required=""></div>
<div rel="text" class="cr_ipe_item ui-sortable musthave footer-newsletter_lastname"> <input type="text" name="LNAME" placeholder="Lastname*" required=""></div>
<div rel="email" class="cr_ipe_item ui-sortable musthave footer-newsletter_email"> <input type="email" name="EMAIL" placeholder="E-Mail*" required=""></div><input type="hidden" name="INTERESTS[57aa0ce9f6]" value="ccbb36e6a3">
<div rel="button" class="bld-el-cont bld-el-button cr_ipe_item ui-sortable submit_container"> <input type="submit" class="bld-el cr_button" value="Register" name="mc_newsletter_submit"></div>
<div style="display: none;"><input type="text" name="_mc4wp_honeypot" value="" tabindex="-1" autocomplete="off"></div><input type="hidden" name="_mc4wp_timestamp" value="1502116875"><input type="hidden" name="_mc4wp_form_id" value="7342"><input type="hidden" name="_mc4wp_form_element_id"
value="mc4wp-form-1"></div>
<div class="mc4wp-response"></div>
相关插件列表:
隐藏我的wp(高级版)
多功能wp安全性buddypress联系人表单7iThemes安全性MailChimp für WordPress插件管理器W3总缓存
wp SpamShieldwp扫描我猜其中一些插件正在阻止脚本、重定向或其他内容。我已经重命名/停用了插件All-In-One WP Security、iThemes Security、W3 Total Cache、WP SpamShield、WP Sweep和hide my WP,但没有任何更改。非常感谢您的帮助!