tonym2017
Forum Replies Created
-
Forum: Plugins
In reply to: [Leaflet Map] [leaflet-marker] short code stopped workingThere was one problem with using message=[wpv-post-title].
It only selects the first word so I changed the code to message=”[wpv-post-title]”
Tony
Forum: Plugins
In reply to: [Leaflet Map] [leaflet-marker] short code stopped workingThat works:
[leaflet-marker lat=[types field='map-latitude' output='raw'][/types] lng=[types field='map-longitude' output='raw'][/types] message=[wpv-post-title]]Excellent.
Thank you.
TonyForum: Plugins
In reply to: [Leaflet Map] [leaflet-marker] short code stopped workingThanks for your speedy reply.
I use Types and Views plugins.
They are used to format web pages inserting content via shortcodes.
So, for example lat=[types field=’map-latitude’ output=’raw’] selects the latitude from the field in the custom post.
It all works fine except in the [leaflet-marker][/leaflet-marker] line where the required field content [wpv-post-title] is not selected. [wpv-post-title] is the title of the custom post.
For some reason the translation of [wpv-post-title] to the actual post title is being suppressed.
Tony
Forum: Plugins
In reply to: [Leaflet Map] [leaflet-marker] short code stopped workingJust to add, a similar post translates the shortcode correctly:
http://www.teesdalelocal.co.uk/organisation-venue/eggleston-village-hall/
I am sure altering the code will cause it to stop working.