Locations
Overview
The Locations post type stores individual places β offices, properties, parking spots, or service areas. Each location has sidebar contact fields, optional map embed, featured image, and block-editor body content.
Real-world example
Steve Brown β Madison Parking locations include property names as titles, pricing/availability in excerpts, and Regions like Central Campus for filtering.
WordPress features
- Supports: title, editor, thumbnail, excerpt, sticky, custom-fields
- Archive: disabled β use the Locations block on a page
- Permalink slug: Customizer Slug (default
locations) - Taxonomies: Regions (hierarchical), location-type (Types)
Sidebar field groups
Location Information β legacy image/description (hidden after migration), interactive map pin when mapping is enabled, map embed iframe
Contact Information β website, address, phone, email
Social Media β Facebook, Twitter/X, Instagram, Pinterest, LinkedIn, YouTube
Tips
- Use the excerpt for listing-card summaries (pricing, availability, short descriptions).
- Enable Mapping in the customizer for interactive Google Maps or OpenStreetMap on locations and map blocks.
Settings
Location Information
Legacy image field (hidden after featured image migration).
Legacy short description (hidden after excerpt migration).
Google Map or OpenStreetMap pin (requires Enable Mapping in the customizer).
Map iframe embed when Google Map is empty.
Contact Information
Location website link.
Street address.
City.
State or province.
Postal or ZIP code.
Phone number.
Email address.
Social Media
Facebook URL.
Twitter/X URL.
Instagram URL.
Pinterest URL.
LinkedIn URL.
YouTube URL.