New home › Forums › Pro Add-on › Pre-sale questions › Can I add custom HTML links to infowindows?
Tagged: html, infoWindow
- This topic has 4 replies, 2 voices, and was last updated 1 year, 11 months ago by Steven.
-
AuthorPosts
-
September 25, 2021 at 2:03 am #70694clarusdignusParticipant
From what I’ve read, infowindows allow custom HTML, or at least the description field does.
For each marker, I need to add a simple link and then style it to match my theme:
<a href="/some-page" class="some-class">Some Text</a>
I came across a support ticket claiming it’s not possible but the individual might just be referring to the free plugin.
September 25, 2021 at 3:09 pm #70701clarusdignusParticipantI’ve purchased Pro and I’m reporting back to confirm that yes, it’s possible to add HTML links to infowindows via the description box. See screen-shot.
https://i.ibb.co/1sHBQym/infowindow-link.png
- This reply was modified 1 year, 12 months ago by clarusdignus.
- This reply was modified 1 year, 12 months ago by clarusdignus.
September 27, 2021 at 11:02 am #70714StevenModeratorHi again,
Thank you so much for your time.
You should be able to use general HTML to add a link to either description field or title field for example.
The following example should work just fine in most setups:
– Some TextYou may want to ensure you switch over to text editor when adding this to the description.
The free version of WP Google Maps, however, does not allow for custom descriptions and titles so yes, it’s most likely not possible with the free version in this instance.
I hope this helps?
Kindest Regards,
Steven De BeerSeptember 27, 2021 at 4:33 pm #70732clarusdignusParticipantI replied to this topic shortly after I submitted it but my reply isn’t showing. I think it’s stuck in a moderation queue because I included a link to a screen-shot.
September 28, 2021 at 8:39 am #70743StevenModeratorHi @clarusdignus,
Thank you so much for getting back to me.
Not a problem at all, I have kindly taken a look and have published this post you mentioned.
I am glad to hear you managed to get this working at your end.
Do have a great week further!
Kindest Regards,
Steven De Beer -
AuthorPosts
- You must be logged in to reply to this topic.