There are 2 ways to approach this:
1. One global sidebar file that loads custom content depending upon the current page
2. Different sidebar files that are loaded depending upon the current page.
Option 1 involves editing a single file (usually sidebar.php) but it does mean that the file can become quite complex. Option 2 results in a number of smaller sidebar files but you may then have to make very small edits to a number of other files in your theme – depending upon where your current sidebar is called in your theme (hint: look for <?php get_sidebar();?>
).
Which option do you want to try?
3. use the widget context plugin
Thread Starter
mmusil
(@mmusil)
Yay for plugins- it seems that I found a solution using the Display Widget and Sub Pages Widget plugins. Feel free to correct me if this is not the best way to do things, but at the very least it seems to work and do what I want it to do.