New home › Forums › Pro Add-on › Troubleshooting › ACF – Displaying only certain categories & custom markers for categories
Tagged: ACF, categories, custom marker
- This topic has 1 reply, 2 voices, and was last updated 5 months, 4 weeks ago by Matthew.
-
AuthorPosts
-
March 30, 2023 at 3:33 am #76892mistygonzalezParticipant
Hello,
I am using ACF to pull in posts onto the map. This is for a real estate website. I would like the map to only display those posts that have the WP category “Available” selected and not those posts that are “sold” category selected. How can I achieve this?
Question 2 – I would like to display a marker for neighborhoods and a separate marker for individual homes using ACF and the WordPress categories:
Categories:
Homes
– Available
– Sold
Neighborhoods
– Neighborhood A
– Neighborhood B
– Neihborhood CQuestion 3 – I will have neighborhood pages that I would like to pull in all the homes that are categorized for that neighborhood and also categorized as available. For example
Neighborhood A has map that pulls in homes with category: Available, Neighborhood A
March 30, 2023 at 9:33 am #76901MatthewModeratorHi there,
Thank you for getting in touch with us, we do appreciate your time.
Unfortunately all of your mentioned functionality is not supported by default, however, we may be able to assist you achieve some of it using some custom JS code which you may save into the “Custom JS” setting block (Maps -> Settings -> Custom Scripts).
With that said, please may we start with your first request, thus may I ask if you may provide me with the link to your map page where you want to display all the posts that are in the “Available” category.
May I also ask if you may ensure that your category filter is enabled (Maps -> Edit -> Settings -> Marker Listing -> Filtering)?
I look forward to hearing back from you.
Kindest Regards,
Matthew -
AuthorPosts
- You must be logged in to reply to this topic.