I'm going to admit right now that I'm brand new to WordPress and trying to learn as much as I can, and I've been working for awhile trying to get this sorted out. There's a site I'm building where the customer is looking for 2 separate post pages, so I created a different category for each. I created a template page for each of these such that they will only display posts from their respective categories (using query_posts('cat=x')). The problem is that each of these sections need to have an archive which organizes by the year they were posted. I was able to place these archives by using
<?php wp_get_archives('type=yearly'); ?>
It seems to get the years, but if I click on the link it gives, they always default to archive.php and I can't seem to find a way to pass the category I need to this page. What I need is to make the year in the specific post pages to either go to archive.php and have the correct category showing for that year, or have a way such that each go to their own respective PHP archiving pages. Any suggestions or help on how to do this would be gratefully appreciated. Just a heads up, I'm new to posting questions as well, so please be patient with me :)