diff --git a/functions.php b/functions.php index b14cd1e..f4820e3 100644 --- a/functions.php +++ b/functions.php @@ -7,7 +7,7 @@ function my_search_query( $query ) { if ( !is_admin() && $query->is_main_query() ) { if ( is_search() ) { $query->set( 'orderby', 'post_date' ); - $query->set( 'order', 'ASC' ); + $query->set( 'order', 'DESC' ); } } }