I'm using the Atahualpa theme and am trying to figure out how to create a left sidebar vertical menu of pages. I would like the default state (i.e., from the home page) to show the top level pages, and then show the sub-pages inside a given section, when the user clicks on the top link for that section. I have some PHP that does what I want, but I can't get the PHP to work inside the text widget that I've placed into the left sidebar. I've installed the PHP-exec plugin but it doesn't seem to do anything.
(Ideally, I would like the menu to open up as a show/hide accordion-style menu so that when you click on one of the top-level items, it opens up to show its sub-items, but that may be too much to ask.)
Thanks in advance for any help.