New home › Forums › Basic Version › Filtered posts
Tagged: Custom Post Type
- This topic has 5 replies, 2 voices, and was last updated 1 month ago by Matthew.
-
AuthorPosts
-
December 16, 2022 at 2:07 am #75730tinbobParticipant
Hello,
At the moment the map shows all the markers from a custom post type source.
Is it possible to dynamically update showed marks after a filtering on custom posts? (for example using FacetWP or Filter Everything plugins).
Many thanks,TinBob
December 19, 2022 at 8:57 am #75764MatthewModeratorHi TinBob,
Thank you for getting in touch with us, we do appreciate your time.
Unfortunately we are not integrated with those plugins, however, we do have our own built in filtering features.
In the new Atlas Novus Build (Basic + Pro v9.0 or higher), we have have introduced being able to set your category source from “Native” (categories made in WP Go Maps) to “WordPress” which allows you to filter your ACF markers by the categories created in WordPress itself.
To change the category source, please ensure your “Build” setting (Maps -> Settings -> General) is set to “Atlas Novus”, and then set your “Category Source” setting (Maps -> Settings -> Categories) to the “WordPress” option.
Once this has been done, you may enable your category filter by navigating to your Map editor (Maps -> Edit -> Settings -> Marker Listings -> Filtering) and enabling the “Category Filter” setting.
Please do let me know if this helps?
I look forward to hearing back from you.
Kindest Regards,
MatthewDecember 19, 2022 at 10:08 am #75773tinbobParticipantThanks but is not what I’m searching for.
Is there a way to show only some marker ids from a custom post type source?
Thanks,TinBob
December 23, 2022 at 9:33 am #75855MatthewModeratorHi TinBob,
Thank you for your response and time on this, I really appreciate it!
Unfortunately there is no direct way to only choose which ACF marker to display as the integration pulls and displays all the ACF marker posts found.
However, you may be able to achieve this by importing all your ACF markers (Maps -> Advanced/Tools -> Import) to your map and then deleting the markers that you do not want to display.
I hope this helps?
Kindest Regards,
MatthewFebruary 24, 2023 at 12:57 pm #76488tinbobParticipantHello,
Is it possible to add the feature with a customisation?
Thanks,TinBob
February 27, 2023 at 1:26 pm #76503MatthewModeratorHi TinBob,
Thank you for your response and time on this.
It may be possible to use some custom JS code to loop through the markers on the map and hide and display certain markers.
With that said, the custom JS code would need to look for the marker link or title that relates to your respective posts that you want to display.
With that said, please may you provide me with the link to your ACF map so that I may take a closer look and confirm if this is indeed possible?
Kindest Regards,
Matthew -
AuthorPosts
- You must be logged in to reply to this topic.