I have a map showing all the locations and I would like to have the present post highlighted, for example:
hidden link
I've been looking at the last part of https://toolset.com/2018/02/toolset-maps-features-in-reference-sites-viewing-geolocation-and-filtering-by-distance-in-action/ but I don't get it, and it's before the block editor.
Right now I'm using a view made in the classic editor and publish it as a block on the page template. Is it possible to use this setup and get the current place highlighted?
Grateful for any hints.
Hello,
Yes, it is possible to style(highlight) the current post in a post the post view, for example you can try these:
Edit the post view (ID: 4146), in view's loop, find and edit the marker shortcode [wpv-map-marker ...]
Use [wpv-conditional] shortcode to check if it is current post, then display a different marker icon, see our document:
https://toolset.com/documentation/user-guides/views/displaying-brother-pages/#5
sectoin "5. Highlight the currently displayed page"