Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WebFactory

    (@webfactory)

    Hi, via GUI – no. With a bit of PHP – yes. Have a look at the google_maps_widget_content filter in gmw-widget.php#218. You can use it to replace the image with a link.

    Thread Starter mbenari

    (@mbenari)

    Awesome, so the entire line is:
    $out .= apply_filters(‘google_maps_widget_content’, $tmp);

    Can you show me an example of how that would be a link?

    Thanks,
    Maya

    Thread Starter mbenari

    (@mbenari)

    I changed $out .= apply_filters(‘google_maps_widget_content’, $tmp); to $out .= ‘map link‘; and it didn’t work. What should I do?

    Thread Starter mbenari

    (@mbenari)

    Did it with css 😉
    .gmw-thumbnail-map img {display: none;}
    .gmw-thumbnail-map:after {content: “link”;}

    Plugin Author WebFactory

    (@webfactory)

    Glad you figured it out 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Text Link Opens Map’ is closed to new replies.