跳到内容

Vanilla Adaptive Maps

v1.0.1

jcdesign · 2015年9月22日 上架

Map any address with a shortcode. Mobile users get a static map; desktop users will see a google map.

正在使用
80+
评分
暂无
累计下载
4,768
最近更新
2015年9月23日
需要 WordPress 3.3+已测试到 4.3.34

贡献者

截图

Entering shortcode into a post
Entering shortcode into a post
The map is created above the link
The map is created above the link
On narrower screens, a static map image will be created instead
On narrower screens, a static map image will be created instead

A way to include an Adaptive Map, based on Brad Frost’s Adaptive Maps pattern, without requiring an external JavaScript library.

The basic premise is that we should be using mobile devices’ far better-suited mapping applications rather than attempting to frame maps in our own websites. Users w/ larger screens will get a full map in an iframe.

No styling has been provided, but the link and map are wrapped in div.adaptive-map.

Credits

All props to Brad Frost who presented the idea quite a while ago.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums