Another day, another noobie question… I want a different sidebar on a secondary page. How would I go about doing this, as <?php get_sidebar(); ?> gets the template sidebar for all pages. In short, I want a sidebar for the homepage and one (or multiple) for other pages. I know this is possible, I just don’t know how to do it.
You might start by looking over the Conditional_Tags. You can use those to help determine what you want to display in your sidebar -or- which sidebar you want to show, depending on how you structure things.
By way of an example, I only want to show top commentators (a plugin) on my home page. So, in my sidebar.php, I have the following: