Title: Query Markers for Bricks Leaflet Map
Author: Louis Chance
Published: <strong>November 2, 2026</strong>
Last modified: November 2, 2026

---

Search plugins

![](https://ps.w.org/query-markers-for-bricks-leaflet-map/assets/banner-772x250.
png?rev=3779980)

![](https://ps.w.org/query-markers-for-bricks-leaflet-map/assets/icon.svg?rev=3779780)

# Query Markers for Bricks Leaflet Map

 By [Louis Chance](https://profiles.wordpress.org/louischan/)

[Download](https://downloads.wordpress.org/plugin/query-markers-for-bricks-leaflet-map.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/query-markers-for-bricks-leaflet-map/#description)
 * [Reviews](https://wordpress.org/plugins/query-markers-for-bricks-leaflet-map/#reviews)
 *  [Installation](https://wordpress.org/plugins/query-markers-for-bricks-leaflet-map/#installation)
 * [Development](https://wordpress.org/plugins/query-markers-for-bricks-leaflet-map/#developers)

 [Support](https://wordpress.org/support/plugin/query-markers-for-bricks-leaflet-map/)

## Description

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 the ACF OpenStreetMap Field plugin (any return format) or from 
   two latitude / longitude custom fields (ACF, Meta Box, JetEngine, native custom
   fields…).
 * 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 centered on all markers.
 * 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.

## Screenshots

[⌊A map with one marker per post on the frontend.⌉⌊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 “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 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.⌉[

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.

## Installation

 1. Install and activate the plugin.
 2. In Bricks, add a Map (Leaflet) element (not inside a query loop).
 3. In “Markers”, add ONE marker. It is the template used for every post. Set its Coordinates
    to {map_coords} (required). The popup is optional and accepts any Bricks dynamic
    tag, for example: **{post_title}**
    [Read more](https://wordpress.org/plugins/query-markers-for-bricks-leaflet-map/{post_url}?output_format=md)
 4. Open the “Query markers” panel, enable “Generate markers from a query” and choose
    the post type, the location source and the field names.
 5. Leave “Map center” empty: the map is centered on all markers.

## FAQ

### Why are the markers not visible in the builder?

Markers are generated when the page is rendered and are displayed on the frontend.
In the builder, a notice over the map shows how many markers were found.

### Which dynamic tags are added?

{map_coords} returns “lat,lng” for the current post. It is the value to use in the
marker Coordinates.

{map_address} is only useful with the ACF OpenStreetMap Field source. It returns
the label of the marker stored by that field: the address found when the editor 
searched for a place or clicked on the map, which they can edit. With latitude/longitude
fields it is always empty: display your own address field in the popup instead (
e.g. {acf_address}).

Outside a query map (e.g. in a single template), these tags use an ACF OpenStreetMap
field named “location”. Change it with the brxlm/default_context filter.

### Does it work on multilingual sites?

Yes. With WPML or Polylang, the technical settings of the plugin (post type, field
names…) are excluded from translation, so a translated page uses the same query 
as the original.

### Can I customize the query?

Yes, with the brxlm/query_args filter:

    ```
    add_filter( 'brxlm/query_args', function ( $args, $settings, $element ) {
        $args['orderby'] = 'title';
        return $args;
    }, 10, 3 );
    ```

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Query Markers for Bricks Leaflet Map” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Louis Chance ](https://profiles.wordpress.org/louischan/)

[Translate “Query Markers for Bricks Leaflet Map” into your language.](https://translate.wordpress.org/projects/wp-plugins/query-markers-for-bricks-leaflet-map)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/query-markers-for-bricks-leaflet-map/),
check out the [SVN repository](https://plugins.svn.wordpress.org/query-markers-for-bricks-leaflet-map/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/query-markers-for-bricks-leaflet-map/)
by [RSS](https://plugins.trac.wordpress.org/log/query-markers-for-bricks-leaflet-map/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.0**
 *  Last updated **8 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [acf](https://wordpress.org/plugins/tags/acf/)[bricks](https://wordpress.org/plugins/tags/bricks/)
   [leaflet](https://wordpress.org/plugins/tags/leaflet/)[map](https://wordpress.org/plugins/tags/map/)
   [openstreetmap](https://wordpress.org/plugins/tags/openstreetmap/)
 *  [Advanced View](https://wordpress.org/plugins/query-markers-for-bricks-leaflet-map/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/query-markers-for-bricks-leaflet-map/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/query-markers-for-bricks-leaflet-map/reviews/)

## Contributors

 *   [ Louis Chance ](https://profiles.wordpress.org/louischan/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/query-markers-for-bricks-leaflet-map/)