我的single.php文件中有一个自定义共享按钮片段。它可与其他电子邮件应用程序一起使用, 但不适用于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>
#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>
尝试一下, 然后让我知道结果。
来源:
https://www.srcmini02.com/66105.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_37147.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57