Support

Account

Home Forums General Issues How do I filter and sort event posts with start and end date Reply To: How do I filter and sort event posts with start and end date

  • Hi @m4olivei

    Just to clarify, the meta_query is working, but the order is wrong?

    Your orderby param looks good. Have you debugged the SQL run on the WP_Query object?

    You can do this by simply printing out the object after you create it

    Thanks
    E