跳到内容

Query Markers for Bricks Leaflet Map

v1.2.0

Louis Chance · 2026年11月2日 上架

Deprecated: Bricks 2.5+ does this natively. One marker per post on the Bricks Map (Leaflet) element, from latitude/longitude or a location field.

正在使用
10 以下
评分
暂无
累计下载
494
最近更新
2026年11月17日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

A map with one marker per post on the frontend.
A map with one marker per post on the frontend.
The "Query markers" panel of the Map (Leaflet) element.
The "Query markers" panel of the Map (Leaflet) element.
The regular Markers panel containing one marker with the coordinate variable.
The regular Markers panel containing one marker with the coordinate variable.
The map as it shows in the builder, with no marker but a message indicating how many markers will show on the front-end based on the query and optional filter.
The map as it shows in the builder, with no marker but a message indicating how many markers will show on the front-end based on the query and optional filter.

Deprecated: Bricks 2.5 and later include query markers natively in the Map (Leaflet) element. Use the built-in feature for new maps. This plugin stays available so that existing maps keep working: it is compatible with Bricks 2.5, including on pages that also use the native feature. See “How do I migrate to the native Bricks feature?” in the FAQ.

The Map (Leaflet) element of the Bricks theme (2.1+) has no query loop option, unlike its Google Map element. This plugin adds a “Query markers” panel to the Map (Leaflet) element: the first marker you set is used as a template and duplicated for every post of the query, with all dynamic data tags rendered in the context of each post.

Features:

  • Location from two latitude / longitude custom fields (ACF, Meta Box, JetEngine, native custom fields…).
  • Location from a single field: a text field containing “lat,lng”, an ACF OpenStreetMap field (ACF OpenStreetMap Field plugin), an ACF Google Map field, or a Meta Box OSM / Google Maps field.
  • Any Bricks dynamic data tag in the marker popup (title, link, ACF fields…).
  • Optional filter on a custom field, e.g. a “show on map” True/False field.
  • Posts sharing the same location: merged into one marker with stacked popups, or spread on a small circle.
  • Map automatically fitted to show all markers, unless you set a map center or a zoom level.
  • Builder notice showing how many markers were found.

This plugin requires the Bricks theme, which is a commercial product. It is not affiliated with or endorsed by Bricks Builder.

Plums

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

导航

说明

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

© 2026 Plums