WordPress.org

Forums

Geotag
Display search results on a map (2 posts)

  1. jamblo
    Member
    Posted 3 years ago #

    Hello there

    I've been using the Geotag plugin for quite a long time and have used it with great success in this time.

    However, a recent project has thrown up a conundrum that I need some help on: displaying SEARCH results on a map.

    I know that using [gmap marker_query="numberposts=5&offset=1&category=1"] we can display multiple posts, plotted on a Google map wherever we like, and that the plugin uses the standard WP_Query functionality to select the posts displayed.

    What I would like to do is somehow combine the standard WordPress search with the Geotag shortcode and query. I suppose the question really is, how do you create a variable - $searchres, for example - that can be dynamically added to the Geotag query string?

    Does this sound possible? Any tips or suggestions much appreciated!

    Thanks
    James

  2. jamblo
    Member
    Posted 3 years ago #

    Bump! Still hoping!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags