Combining Archives and Categories??
-
In my r_sidebar I have:
<?php wp_get_archives(‘type=yearly’); ?>
and
<?php wp_list_cats(‘sort_column=name’); ?>Right now they’re separate and I want to keep them that way, but I also want to append additional parameters based on what someone is clicking on. So, if you click on 2007 for the archive year, I then want all of the Category links to be only for 2007. Or if you were to click on a Category link, I want all the yearly Archive links to be for that category only. Is there anyway to do that by passing parameters or something? How would I go about doing that?
- The topic ‘Combining Archives and Categories??’ is closed to new replies.