WordPress.org

Support

Support » Plugins and Hacks » Google Maps Widget » [Resolved] Text Link Opens Map

[Resolved] Text Link Opens Map

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.

    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

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

    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 ‘[Resolved] Text Link Opens Map’ is closed to new replies.
Skip to toolbar