Locations

Updated

Usage

The Locations block lists your locations as a Grid, Cards, or Features layout. Show all of them, one region or type, or locations you pick by hand, and optionally add filter buttons visitors can click.

Real-world example

Steve Brown Apartments — Madison Parking uses a Locations block with:

  • A card grid of parking properties (128 Langdon, 122 E. Gilman, and more)
  • Filtering set to By Region, with Show All and Central Campus buttons
  • Each card showing the property name and, in the excerpt, pricing and availability ("Garage parking available for $295/mo. Available 8/17!")
  • An inquiry form below the listing (regular page content)

Regions like Central Campus group the properties. Types could separate garages from surface lots.

Content

  • What to Display — Show All, By Region, By Type, or Handpicked
  • Handpicked Locations — appears when What to Display is Handpicked
  • Type / Region — which types or regions to show for By Type or By Region

Appearance

  • Layout — Grid, Cards (default), or Features
  • Columns — 2–4 per row (Cards layout)
  • Feature — a map or image on each card (Cards layout)
  • Style — Cards or Inline (Cards layout)
  • Title Style — text style for location names
  • Button Style — Hide, Button, or Understated link on each card
  • Filtering — By Region, By Type, or Disabled
  • Region Filters / Type Filters — which regions or types get a filter button

Tips

  • Put pricing and availability in each location's excerpt so cards are quick to scan.

Settings

Locations Blocks

Layout setting in the block editor sidebar
Layout
  • Grid
  • Cardsdefault
  • Features
Columns setting in the block editor sidebar
ColumnsOnly appears when Layout is set to Cards.

Appears when Layout is Cards.

  • 2default
  • 3
  • 4
Feature setting in the block editor sidebar
FeatureOnly appears when Layout is set to Cards.

Show a map or the featured image on each card.

  • Map
  • Image
Style setting in the block editor sidebar
StyleOnly appears when Layout is set to Cards.

Appears when Layout is Cards.

  • Cards
  • Inline
Title Style setting in the block editor sidebar
Title Style

Text style for location names.

  • <h3>
  • <h4>default
  • <h5>
  • <h6>
  • <p>
Button Style setting in the block editor sidebar
Button Style

The link on each card. Hide removes it.

  • Hidedefault
  • Button
  • Understated
Show Address setting in the block editor sidebar
Show AddressAvailable when Layout is “Cards”

Appears when Layout is Cards or Features.

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

Show every location, only certain Regions or Types, or locations you pick by hand.

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

Appears when What to Display is Handpicked.

Type setting in the block editor sidebar
TypeVisible when What to Display is By Type.

Appears when What to Display is By Type.

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

Appears when What to Display is By Region.

Filtering setting in the block editor sidebar
Filtering

Adds filter buttons visitors can click to narrow the list by Region or Type.

  • By Region
  • By Type
  • Disableddefault
Region Filters setting in the block editor sidebar
Region FiltersOnly appears when Filtering is set to By Region.

Which Regions get a filter button. Leave blank for all.

Type Filters setting in the block editor sidebar
Type FiltersShown when Filtering is set to By Type.

Which Types get a filter button.