Build a searchable directory
A directory usually combines categorical discovery with location. The base query should include only entries that are eligible to appear publicly.
Suggested content model
Use taxonomies for reusable choices such as service, specialty, or region. Use a short custom meta for a structured attribute that does not need term archives. Store coordinates through a latitude/longitude pair or the theme locations repeater.
Do not use a free-form address as the only geographic source. Proximity and map facets require valid coordinates.
Configure the context
- Choose the directory post type archive or a saved query that applies permanent eligibility rules.
- Add Checkboxes for a short multi-select service taxonomy.
- Add Searchable select when the region or specialty list is long.
- Add Proximity with a sensible radius range if visitors search around an entered place.
- Add Map only when spatial browsing adds value.
- Declare card metas such as address or telephone under Indexed metas.
- Keep featured image and excerpt indexing only if the card uses them.
- Save and run Reindex context.
Build the page
Add the highest-value categorical facet first, then proximity. Place Faceted Search Counts, Faceted Search Selections, and Faceted Search Reset above Listings (Feed).
For a combined map and card view:
- use All filtered results marker scope when the map represents the whole current set;
- use Current page when markers should mirror only visible cards;
- enable card/marker synchronization only after confirming that every marker maps to a result card;
- provide the card list as the non-map way to browse every entry.
Verify
Test an entry with one location, an entry with multiple locations, and an entry without coordinates. Check cross-category combinations, proximity clearing, Distance sorting, map bounds reset, and the copied filtered URL.
Review Maps and proximity search for the complete map settings.