Map bubble links to open in a new tab?

This topic contains 7 replies, has 4 voices, and was last updated by  Naveen Giri 5 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #521829

    Ronny
    Full Member
    Post count: 40

    Hi, I was wondering how we can make the map-bubble links open in a new tab when clicked?

    The question has been asked a few times before, most recently here:

    https://wpgeodirectory.com/support/topic/open-map-bubble-links-in-new-tab/

    but none of the previous solutions are working for me.

    Any help would be appreciated, thanks a lot.

    #521849

    Kor
    Moderator
    Post count: 16516

    Hi Ronny,

    Thanks for your post. Could you please share your Website WP admin access here in private reply and we’ll check this out for you asap!

    #521896

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    the link to post in the map bubble is the result of the settings for the GD Post Title and GD Post Images used in the map bubble template.

    You can customize that as described here:

    https://wpgeodirectory.com/docs-v2/templates/map-bubble/

    #521973

    Ronny
    Full Member
    Post count: 40

    Ok guys thanks, but I’m afraid at my current stage of knowledge customizing the template is over my head! Is there a simpler way to do it? Like, is there anything I can try adding to php using the code snippets plugin?

    #521974

    Ronny
    Full Member
    Post count: 40
    This reply has been marked as private.
    #521977

    Alex Rollin
    Moderator
    Post count: 27815

    There isn’t a snippet for that for V2 because the Map Bubble is actually easier to customize than with V1.

    #522047

    Ronny
    Full Member
    Post count: 40

    I’m totally ignorant on editing theme files but had a go anyway. I just didn’t know what to put in there to make it work though; target=’_blank’? Or..?

    But….thank God I’ve just discovered there actually is a V2 snippet for this, posted just last month. I didn’t see it before when searching previous forum entries.

    https://wpgeodirectory.com/support/topic/open-listing-details-in-new-tab-when-click-on-bubble-description-2/#post-517591

    So anyway, all is good now, cheers

    #522206

    Naveen Giri
    Moderator
    Post count: 1559

    Thanks for notifying Ronny,
    I will close it now

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount