Title: Mailto Templates
Author: jmurrell
Published: <strong>2021 年 1 月 30 日</strong>
Last modified: 2021 年 1 月 30 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/dynamic-mailto.svg)

# Mailto Templates

 作者：[jmurrell](https://profiles.wordpress.org/jmurrell/)

[下载](https://downloads.wordpress.org/plugin/dynamic-mailto.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/dynamic-mailto/#description)
 * [评价](https://cn.wordpress.org/plugins/dynamic-mailto/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/dynamic-mailto/#developers)

 [支持](https://wordpress.org/support/plugin/dynamic-mailto/)

## 描述

The dyn-mailto WordPress plugin enables you to create mailto links that load differently
depending on who visits the page, where they visit the page from, where on the site
they see the link, and more. You create a mailto link by writing a template that,
when it comes time to render to someone visiting your website, has the appropriate
fields substituted where ever you’ve designated.

This plugin allows you to write dynamic mailto links that can access information
about:
 * The WordPress user account (if logged in) * The WordPress site itself *
The WordPress post that the link is viewed on * The user’s IP address and geographic
location, including country, region and city

In addition to including relevant data in the link, dynamic mailto links can incorporate
useful logical constructs, including if statements, loops and randomizing fields.

This plugin makes use of the [FreeGeoIP API](https://freegeoip.app/) to retrieve
visitor location for use by your mailto templates. This API will not be called unless
you make use of location fields inside a mailto template, and the API will only 
be called when that specific template is rendered. No other 3rd party APIs are used.

### Contributing

This plugin is open-source. Want to make a contribution? Visit the plugin [GitHub repo](https://github.com/murrelljenna/dyn-mailto).

## 评价

此插件暂无评价。

## 贡献者及开发者

「Mailto Templates」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ jmurrell ](https://profiles.wordpress.org/jmurrell/)

[帮助将「Mailto Templates」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/dynamic-mailto)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/dynamic-mailto/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/dynamic-mailto/)，或通过[RSS](https://plugins.trac.wordpress.org/log/dynamic-mailto/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/dynamic-mailto/)。

## 额外信息

 *  版本 **1.0**
 *  最后更新：**5 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.5 或更高版本 **
 *  已测试的最高版本为 **5.5.18**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/dynamic-mailto/)
 * 标签
 * [contact](https://cn.wordpress.org/plugins/tags/contact/)[email](https://cn.wordpress.org/plugins/tags/email/)
   [link](https://cn.wordpress.org/plugins/tags/link/)[mailto](https://cn.wordpress.org/plugins/tags/mailto/)
   [template](https://cn.wordpress.org/plugins/tags/template/)
 *  [高级视图](https://cn.wordpress.org/plugins/dynamic-mailto/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/dynamic-mailto/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/dynamic-mailto/reviews/)

## 贡献者

 *   [ jmurrell ](https://profiles.wordpress.org/jmurrell/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/dynamic-mailto/)