• Resolved missmikado

    (@missmikado)


    Hello,

    I would like to order past events from newest first to oldest. I found an answer from 2018 posted here in the forum:

    Hello @elenigram,

    For this, you have to change query parameter order ‘ASC’ to ‘DESC’. You can make this change in the file named as class-simple-event-planner-shortcode-event-listing line # 85 placed in the following directory:
    simple-event-planner/includes/shortcode

    But changes in plugin core files will be lost after the SEP update, so the best way to use hook sep_output_events_args in activated theme’s functions.php file for modification in query parameters.

    Thanks for reaching us out. Let us know if you need our further assistance.

    Regards,
    PressTigers

    Please, I’m no code-guru – what exactly do i have to post into the functions.php?

    Thank you!

Viewing 1 replies (of 1 total)
  • Hello @missmikado,

    Please use the hook sep_output_events_args in your theme functions.php file to do this. If you are not technical then i will suggest you to please take help from wordpress expert.

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Order past events’ is closed to new replies.