I installed Justin Blanton’s Smart Archive WordPress plugin today for my archives page. However, if you want to run PHP code from within a WP Page you have to install a plugin to allow WordPress to execute the code (why? uh, I dunno. you just have to.).
So, I found the Exec-PHP plugin by Sören that is extremely well documented, works nicely and is kept up-to-date. Nice work by both of those guys.
I only had one minor difficulty understanding how to call the Smart Archives function, but that was just my php ignorance – the plugin works perfectly .