Mailpoet 电子邮件中的自定义字段(日期)格式问题
在我的表单中有一个自定义字段,允许选择日期,而不仅仅是今天等,其简码为 [subscriber:cf7]。输入为日、月、年。
在发送的电子邮件中,此短代码显示(例如)2010-11-26 00:00:00。
我找不到任何地方可以格式化自定义字段的输出以消除时间元素,或将日期格式化为 dd-mm-yyyy。
任何有关 mailpoet 设置或插入 css 来解决此问题的帮助将不胜感激。
我尝试了几个 css 片段试图解决该问题,但似乎没有任何改变电子邮件中的输出。
我尝试格式化粘贴在 mailpoet 中的电子邮件模板中的短代码,例如。 [订阅者:cf_7 |日期:自定义 |格式:l jS FY],但这也没有帮助。
In my form is a custom field to allow for a date to be picked, not just today etc., which has the shortcode [subscriber:cf7]. The input is day,month,year.
In the email that is sent this shortcode displays (eg.) 2010-11-26 00:00:00.
I cannot find anywhere to format the output of the custom field to eliminate the time element, or to format the date into dd-mm-yyyy.
Any help with either the settings of mailpoet, or inserting css to over come this would be greatly appreciated.
I have tried several css snippets trying to resolve the issue, but nothing seems to change the output in the email.
I have tried to format the shortcode that is pasted in the email template within mailpoet eg. [subscriber:cf_7 | date:custom | format:l jS F Y], but that didn't help either.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论