Overview #
The Listings with Map extension adds a new layout view for directory and search results pages, allowing visitors to browse listings and view them on an interactive map side by side. The listings and advanced search filters are shown on the left, while the map with dynamic markers appears on the right.
This layout is ideal for location-based directories, such as real estate, hotels, restaurants, travel services, or any business where users need to explore listings by location.
Key Features #
- Display listings and interactive map side by side in a single layout.
- Built-in shortcode for flexible placement with adjustable parameters.
- Choose between 2-column or 3-column layout for listings.
- Supports both Grid and List views for better browsing.
- Advanced filtering with categories, tags, locations, and more.
- Fully responsive and optimized for desktop and mobile.
Installation & Configuration #
- Navigate to Directory Listings > Themes & Extensions
- Find “Listings with Map” and click Install and then Activate.
- Navigate to Directory Listings > Settings > Extensions > Extension General
Settings Reference
1. Layout Settings
Columns: Choose between 2-column or 3-column layout for displaying listings next to the map.
2. Listing Settings
- Default View: Choose how listings should be displayed (Grid or List view).
- Display “View As” Dropdown: Toggle visibility of the “View As” option on the All Listings page.
- Display “Sort By” Dropdown: Toggle visibility of the “Sort By” option to allow sorting by title, date, or price.

Shortcode Setup
The extension comes with a dedicated shortcode for flexible placement:
[directorist_all_listing view=”listings_with_map” map_height=”800″]
Supported Parameters (Inherited from All Listings)
- Directory_type: Filter by directory type slug.
- Shortcode: [directorist_all_listing view=”listings_with_map” directory_type=”business”]

- orderby: Sort by title, date, rand, or price.
Shortcode: [directorist_all_listing view=”listings_with_map” orderby=”date”] - order: asc or desc (default: desc).
Shortcode: [directorist_all_listing view=”listings_with_map” order=”asc”] - listings_per_page: Set number of listings per page.
Shortcode: [directorist_all_listing view=”listings_with_map” listings_per_page=”6″] - category: Filter by category slugs (comma-separated).
Shortcode: [directorist_all_listing view=”listings_with_map” category=”buffet, cafe”] - tag: Filter by tag slugs (comma-separated).
Shortcode: [directorist_all_listing view=”listings_with_map” tag=”italian, seafood”] - location: Filter by location slugs (comma-separated).
Shortcode: [directorist_all_listing view=”listings_with_map” location=”japan”] - ids: Display listings by IDs.
Shortcode: [directorist_all_listing view=”listings_with_map” ids=”1,2,5″]
- featured_only: Show only featured listings (yes/no).
Shortcode: [directorist_all_listing view=”listings_with_map” featured_only=”yes”] - popular_only: Show only popular listings (yes/no).
Shortcode: [directorist_all_listing view=”listings_with_map” popular_only=”yes”] - logged_in_user_only: Restrict listings to logged-in users (yes/no).
Shortcode:
[directorist_all_listing view=”listings_with_map” logged_in_user_only=”yes”]
- redirect_page_url: Redirect listings page to another URL.
Shortcode:
[directorist_all_listing view=”listings_with_map” redirect_page_url=”https://www.example.com”]
- header: Show or hide the header area (yes/no).
Shortcode: [directorist_all_listing view=”listings_with_map” header=”no”] - display_preview_image: Show or hide listing preview images (yes/no).
Shortcode:
[directorist_all_listing view=”listings_with_map” display_preview_image=”yes”]
- show_pagination: Enable or disable pagination (yes/no).
Shortcode: [directorist_all_listing view=”listings_with_map” show_pagination=”no”]
Frontend Preview of Business Hours #
After configuring the settings, the final output appears as:
- Listings & Filters on the Left – Users can browse listings in Grid/List view and apply filters for categories, tags, or locations.
- Map with Markers on the Right – An interactive map shows pins for each listing location, updating dynamically as filters are applied.

Notes:
- Use the map_height parameter in the shortcode to adjust map height for better design consistency.
- For directories with many listings, enable pagination or filters to improve performance.
- If caching is enabled, clear the cache after configuration to ensure map markers update correctly.