【问题标题】:WordPress Email Share button not opening in OutlookWordPress 电子邮件共享按钮未在 Outlook 中打开
【发布时间】:2018-12-13 00:45:11
【问题描述】:

我的 single.php 文件中有一个自定义共享按钮 sn-p。它适用于其他电子邮件应用程序,但不适用于 Microsoft Outlook。有什么想法吗?

<a class="btn btn-mail" href="mailto:?subject=<?php print(urlencode(the_title())); ?>&body=Check out this article: <?php print(urlencode(get_permalink())); ?>"> BUTTON HERE </a>

【问题讨论】:

    标签: php wordpress wordpress-theming share


    【解决方案1】:

    我看到了,您错过了添加收件人电子邮件地址。 代码应该是

    <a class="btn btn-mail" href="mailto:someone@example.com?subject=<?php print(urlencode(the_title())); ?>&body=Check out this article: <?php print(urlencode(get_permalink())); ?>"> BUTTON HERE </a>
    

    试试这个然后告诉我结果。

    【讨论】:

      猜你喜欢
      • 2016-05-03
      • 1970-01-01
      • 1970-01-01
      • 2020-06-17
      • 1970-01-01
      • 2018-10-23
      • 2011-12-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多