How to Display a Map with Filters on the Side in Listdom
View Listdom Demoاین محتوا هنوز به زبان شما در دسترس نیست.
Introduction
Section titled “Introduction”Learn how to display a map with filters on the side in Listdom by creating a Single Map shortcode and a Search and Filter Form. You can either place both shortcodes on the same page or assign the search form directly in the shortcode settings to ensure targeted filtering. Follow this guide to set up an interactive map for your listings.
Step 1: Create a Single Map Shortcode
Section titled “Step 1: Create a Single Map Shortcode”Listdom provides a “Single Map” shortcode that allows you to display listings on a map. To create this shortcode:
- Navigate to Listdom > Shortcodes.
- Click Add New and select Single Map as the skin.
- Configure the settings according to your requirements.
- Save the shortcode and copy it.
For detailed instructions, refer to the documentation: Single Map Shortcode
Step 2: Create a Search and Filter Form
Section titled “Step 2: Create a Search and Filter Form”To allow users to filter listings on the map, you need to create a search form:
- Go to Listdom > Search and Filter Builder.
- Click Add New and configure the fields you want in the form.
- Save the form and copy its shortcode.
For a step-by-step guide, see: How to Create a Search and Filter Form
Step 3: Assign the Search Form to the Single Map Shortcode
Section titled “Step 3: Assign the Search Form to the Single Map Shortcode”There are two ways to integrate the search form with your map:
Option A: Place Both Shortcodes on the Same Page
Section titled “Option A: Place Both Shortcodes on the Same Page”If you’re using a page builder or the WordPress block editor, you can simply add the Single Map and Search Form shortcodes next to each other on the same page:
- Edit the page where you want to display the map.
- Insert the Single Map Shortcode.
- Add the Search Form Shortcode beside or above it.
Option B: Assign the Search Form Directly in the Shortcode Settings
Section titled “Option B: Assign the Search Form Directly in the Shortcode Settings”A more targeted approach is to assign the search form directly in the Single Map shortcode settings:
- Edit the Single Map shortcode.
- Locate the Search Form option.
- Select the search form you created.
- Choose its position (e.g., Left, Right, Top, Bottom).
- Save the changes.
For more details, see: Skins Shortcodes Common Settings
Conclusion
Section titled “Conclusion”By following these steps, you can easily create a map with filters on the side in Listdom. Choose the method that best suits your layout and needs. If you encounter any issues, check out the Listdom documentation or contact support.