Sidebar different on different pages- how can I do this?
-
I want to make the sidebar look different on different pages. For example, on my home page (which is not the blog page) I would like the sidebar to show an excerpt from the latest blog post, and a list of the most recently updates pages. But on individual pages, I would like the sidebar to show a list of pages from a particular category (for example, on my page about ponmds, I would like the sidebar to show a list of pages also categorised “pond” [I’m using a plugin to categorise pages]) and maybe an excerpt from the most recently updated page in that category. On the blog page, I’m not sure what I want it to show.
Would this be better done with widgets, or by editing the sidebar directly? Would it be best done in a page template, or in the sidebar file, etc? And how do I do it?
Thanks!
- The topic ‘Sidebar different on different pages- how can I do this?’ is closed to new replies.