Skip to content

Commit

Permalink
Show date archives in chronological order
Browse files Browse the repository at this point in the history
  • Loading branch information
quis committed Dec 27, 2024
1 parent 5e56c10 commit 9c6d8f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/themes/quis/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
global $query_string;
$query_modifications = is_category() ? "" : "&cat=-7"; // Exclude hidden posts unless on a category page
$query_modifications .= parent_category_is("trips") ? "&order=ASC" : "";
$query_modifications .= is_date() ? "&order=ASC" : "";
query_posts($query_string.$query_modifications);

is_front_page() && !is_paged() ? require("nav.php") : null;
Expand Down

0 comments on commit 9c6d8f9

Please sign in to comment.