WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP Geo] Changing link on markers

[Plugin: WP Geo] Changing link on markers

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ben Huson

    @husobj

    Do you mean the link when you click on a marker?
    These currently just use get_permalink() to get the URL of the post to link to.

    Could you explain in more details how you want to customise them?

    Just want to “remove” the link for “non members”

    Plugin Author Ben Huson

    @husobj

    Can’t think of an easy way to do this.

    You would have to somehow unenqueue the wp-geo.js file and instead load a custom version of this file removing the following.

    GEvent.addListener(marker, “click”, wpgeo_markerClickHandler);

    I’ll see if I can make this easier in a future version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Geo] Changing link on markers’ is closed to new replies.