I just posted the latest version of the Sidebar Widget Collapser plugin.
Major changes:
- This release includes an administrative options page to override the default settings, for people with sidebars configured differently.
- The two files can now be placed directly in the plugins directory OR any subdirectory under it.
If it’s working for you in the default theme, then the issue is probably related to the difference in the HTML that your other theme generates.
There are some basic settings to adjust for this in the admin options panel (the ID of the sidebar div, widget CSS class names, etc.), which are hopefully enough to get things working for you.
Nah. I tried once and again to match the settings and the theme structure and even if it matches it doesn’t work. I used DOM inspector to take a closer look and I saw the appendchild() function is working and there is in fact a node for the link. There is an tag the javascript has created, but it fails to create the #text node that should be inside it. Thereof there is no [+] text to click on, even when there is a link.