@mikeschinkel: If this is even possible…
I have my archive page (https://mydomain/archive-page/) that has years listed on it. Ideally, these would link to https://mydomain/archive-page/2003/, etc., and at those URLs, I’d like to grab the year and use it as a variable (like $yr = the tail end of the URL).
But those URLs aren’t yearly archives, so what exactly is their purpose? One can append any number of random digits to any page and it’ll still show up.
I’ve tried using simply the_time(‘Y’); and a URL structure like https://mydomain/2003/category/mycategory/, but that didn’t work (it always returned 2010) because apparently with the category parameters in there, it’s not considered a yearly archive…
Thanks for taking the time to at least hear me out!