小编Fer*_*rna的帖子

从 WooCommerce 管理面板中删除标题

使用店面主题,我想在登录管理面板 WooCommerce|Products Store Activity| Inbox| Orders| Stock| Reviews| Notices|面包屑时删除面包屑。*请注意,如果您以当前用户而非管理员身份登录,我需要此功能。我使用 css 使用的代码

.woocommerce-layout__header-breadcrumbs {
   display: none !important;
}
.woocommerce-layout {
   display: none !important;
}
Run Code Online (Sandbox Code Playgroud)

截屏

css wordpress woocommerce woothemes hook-woocommerce

4
推荐指数
2
解决办法
3527
查看次数

提交 html 表单上显示成功消息

我试图在提交按钮上方显示一条成功消息,但它\xe2\x80\x99s 将我定向到表单页面。这里是。

\n

我在尝试着:

\n
<!-- The form is on the deck.html page -->\n<div class="row footer-newsletter justify-content-center">\n    <div class="col-lg-6">\n        <form action="forms/subscribe.php" method="post">\n            <input type="email" name="email" placeholder="Enter your Email"><input type="submit" value="Subscribe">\n        </form>\n    </div>\n
Run Code Online (Sandbox Code Playgroud)\n

我在电子邮件中收到表单输入,那么下面的代码哪里错了?

\n
    // Create email headers\n    $headers = \'From: \' . $email_from . "\\r\\n" .\n    \'Reply-To: \' . $email_from . "\\r\\n" .\n    \'X-Mailer: PHP/\' . phpversion();\n    @mail($email_to, $email_subject, $email_message, $headers);\n?>\n\n<!-- include your own success HTML here.\n\n    So I am getting form details to email, but the success\n …
Run Code Online (Sandbox Code Playgroud)

html javascript forms jquery

2
推荐指数
1
解决办法
2万
查看次数