WordPress.org

Ready to get started?Download WordPress

Forums

How to put recent location map on homepage sidebar - Romeluv Google Maps Plugin (1 post)

  1. iluvpinkerton
    Member
    Posted 2 years ago #

    I'm using the Romelub Google Maps Plugin: http://www.romeluv.com/maps-plugin-testrun/

    I am using multiple instances of the plugin. The [GLOBALMAP] on the "Map" page and the "My current location" single post map on each individual post sidebar.

    What I want to do is have one map on the homepage sidebar that just shows the most recent location. So it would need to pull the location from the first post on the page. However, I think the code is not working because there are multiple posts on that index.php page.

    Does anyone know how to change the code to pull the location from the most recent post only?

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic