I've been trying and failing at trying diff code snippets and searching online for something that works. Posted on the more general forum but saw recommendations to post WP questions on this forum.
I'm customizing a theme that has a Events section as a Post type.
The request is to have one page for Upcoming Events and another for Past Events. There is a way to filter Past Events using website.com//events/?period=past&order=desc so I've set up the pages and nav menu that way. But both pages have the same title "Events" which can be confusing to the user.
I contacted the theme creator to ask if there's a way to change the titles and was told it's still technically one page so it can only have one title. Is there a workaround so that one page can say "Upcoming Events" and the filtered archive page to say "Past Events"? There are two php files, the archive-header.php and archive-layout.php (screenshots attached). Apologies, my understanding of php is very limited (though learning) and would appreciate any insight or recs. thank you