From 2782b8150f93aeb2e54cb52b24407dfd10998681 Mon Sep 17 00:00:00 2001 From: Adam Wood <1017872+adamwoodnz@users.noreply.github.com> Date: Fri, 20 Dec 2024 12:55:11 +1300 Subject: [PATCH] Reverse order of Learning Pathways in local nav Order oldest to newest. Makes order consistent with Learning Pathway cards. See https://github.com/WordPress/Learn/commit/66b63708ca4f2564faceb2b5a825f01c743e1b45 --- wp-content/themes/pub/wporg-learn-2024/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-content/themes/pub/wporg-learn-2024/functions.php b/wp-content/themes/pub/wporg-learn-2024/functions.php index 0856d8481..9e8205af9 100644 --- a/wp-content/themes/pub/wporg-learn-2024/functions.php +++ b/wp-content/themes/pub/wporg-learn-2024/functions.php @@ -362,6 +362,7 @@ function add_site_navigation_menus( $menus ) { array( 'taxonomy' => 'learning-pathway', 'hide_empty' => true, + 'order' => 'DESC', ) );