Support » Plugin: WP Event Manager » Post order in list

  • Resolved Jaakko Pöntinen

    (@jpontinen)


    Hello!

    URL provided has a list view. It correctly displays the events ascending by date. But not by event start time.

    Is it possible to arrange the events first ascending in date order, and within same day, order of starting time?

    Thanks! 🙂

    – JP

    • This topic was modified 1 year, 11 months ago by Jaakko Pöntinen. Reason: Fixed some wording

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Hitesh Makvana

    (@hiteshmakvana)

    Hi @jpontinen,

    If you want to change the order by then you might need to apply custom filter or any possible query argument in the

    $query_args = apply_filters( 'get_event_listings_query_args', $query_args, $args );

    you need to add your filter value

    add_filter('get_event_listings_query_args','custom_function_name',10,2);
    function custom_function_name($query_args, $args){
    //your custom code here
    return $query_args;
    }
    
Viewing 1 replies (of 1 total)
  • The topic ‘Post order in list’ is closed to new replies.