Mashup displays 1st post alpahabetically

Home Forums MapPress Support Mashup displays 1st post alpahabetically

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13191
    simonstewart
    Participant

    Loving your plugin http://curiousireland.ie

    Can I change the behaviour of the mashup to not display a popup map on load or to dictate what map that should be displayed i.e. newest one? http://curiousireland.ie/map/

    At present the query i’m using is:

    [mashup query=”posts_per_page=-1&post_type=post” width=”890px” height=”750px”]

    Thanks in advance.

    Simon

    #13195
    Chris
    Keymaster

    Hi,

    I’m not sure I understood, but this may help: you can turn off the initial infowindow (the bubble). It’s usually off by default unless you have initialopeninfo=”true” in the shortcode.

    If you want to leave the infowindow on, you can still sort the POIs by date. Turn off the MapPress alphabetical sorting with sort=”false”. Then WP should sort by post date (by default), or you can use one of the other sorts here:

    http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.