Location Search

Usage

The Location Search block lets visitors search for nearby locations by zip code or radius. Results render as cards with optional address, contact info, and links.

Requires Dirigible Locations with Enable Mapping turned on and map provider settings in the customizer.

Settings

  • Columns β€” results per row
  • Title Link β€” link result titles to location pages
  • Show Address / Show Contact / Show Locate Link / Show Details Link
  • Default Location β€” map center before a search
  • Initial Load Results β€” how many locations show on first load
  • Background Color / Reverse Print β€” card styling

Tips

  • Tune Locator Query Cache and Locator HTML Cache in customizer for performance on high-traffic locators.
  • Pair with the base Locations block on marketing pages that do not need radius search.

Settings

Columns setting in the block editor sidebar
Columns

Columns for location cards beside or below the map.

  • 1
  • 2default
  • 3
Show Address setting in the block editor sidebar
Show Address

Show address on locator search results.

Show Contact setting in the block editor sidebar
Show Contact

Show phone and email on results.

Default Location setting in the block editor sidebar
Default Location

Default map center when no search is performed.

Intial Load Results setting in the block editor sidebar
Intial Load Results

Number of results to show on first load.

What to Display setting in the block editor sidebar
What to Display

Map display mode for location cards on the map block.

  • Show All Locations
  • By Region
  • By Type
Type setting in the block editor sidebar
TypeShown when What to Display is set to By Type.

Filter map markers by Location Type.

Region setting in the block editor sidebar
RegionOnly appears when What to Display is By Region.

Filter map markers by Region.

Background setting in the block editor sidebar
Background

Background color for locator cards.

  • <span class="dashicons_swatch white"></span>
  • <span class="dashicons_swatch gray"></span>default
  • <span class="dashicons_swatch dark"></span>
  • <span class="dashicons_swatch primary"></span>
  • <span class="dashicons_swatch secondary"></span>
  • <span class="dashicons_swatch accent"></span>
  • <span class="dashicons_swatch variant"></span>
Reverse Print setting in the block editor sidebar
Reverse Print

Light text on dark card background.