• Home
  • Pricing
  • Features
  • Support
    • Documentation
    • What’s New
    • Changelog
    • Support Forum
    • Contact Support
  • Account
  • Get Started
  • Home
  • Pricing
  • Features
  • Support
    • Documentation
    • What’s New
    • Changelog
    • Support Forum
    • Contact Support
  • Account
  • Get Started

Reply To: Sort mashup POIs by date

Home › Forums › MapPress Support › Sort mashup POIs by date › Reply To: Sort mashup POIs by date

June 17, 2013 at 12:49 am #12828
Chris
Keymaster

    Hi Tom,

    The easiest way is probably to use the ‘orderby’ parameter in your query (then you don’t need a filter).

    See here for some examples:
    http://codex.wordpress.org/Class_Reference/WP_Query

    For example to order posts by date, descending, this should work:
    [mashup query="orderby=date&order=DESC"]

    MapPress is the leading Leaflet and Google Maps Plugin for WordPress.

    Try the free version, or get MapPress Pro for professional maps.

    © 2010-2023 Chris Richardson and mappresspro.com

    MapPress Pro