cableb
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to pass a year query string to a Page?It does indeed help! Thanks a bunch, Mike.
Forum: Fixing WordPress
In reply to: How to pass a year query string to a Page?@mikeschinkel: If this is even possible…
I have my archive page (http://mydomain/archive-page/) that has years listed on it. Ideally, these would link to http://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 http://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!
Forum: Fixing WordPress
In reply to: How to pass a year query string to a Page?@mikeschinkel: I don’t want to hijack roadie’s thread, but I for one would actually prefer that URL structure… but being the newb I am, I don’t even have anything in place to get and use the year parameter.
Forum: Fixing WordPress
In reply to: How to pass a year query string to a Page?@dongaspari: Would you mind sharing your solution?
Does the trick, thanks!