• I installed widgets and got frustrated because i wasn’t getting a ‘sidebar widgets’ tab under presentation.

    so i browsed around these forums and didn’t find anything. bah.

    and then completely by accident, i disabled Ryan Boren’s Theme Switcher plugin and ta-da, widgets worked. Activated theme switcher, and widgets went bye-bye.

    Why?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Some plugins don’t play nice together. :o) It’s sad, but true.

    Just interested here, but was every theme that you ‘switched’ to also ‘Widgetized’?

    Thread Starter suuuueee

    (@suuuueee)

    no, only Almost Spring and Kubrick.

    Your widgets will not work unless the theme has them included, generally in the sidebar (s)

    All you need to do is find the code for each widget, then copy it to the sidebar of whatever theme does not have that particular widget.

    Few themes will include widgets, and there are so many widgets that no-one designing a theme could really attempt to do a crowd pleaser in that respect.

    Thread Starter suuuueee

    (@suuuueee)

    ^ ah, no, i realize that not all themes are compatible with widgets.

    my problem is that widgets and theme switcher won’t work at the same time. (on a widget compatible theme)

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Theme Switcher is a bit complex, but I *think* that it will not work with widgets because it prevents the functions.php of the themes from being executed at certain times (it’s a side effect, not necessarily by design). Also, all the relevant themes would have to have the same sidebar names registered as well, so it would probably not work with unmodified themes anyway, you’d have to change all the themes to register and use the same sidebar names.

    At minimum, you have to do the following:
    -All themes that are available to the switcher must support widgets. That includes the default and classic themes as well. Especially the default theme must be widget enabled.
    -They must all support the same widgets, meaning that the top of the functions.php, where register_sidebars is called, must be identical in all of them.
    -The dynamic_sidebar() calls in each theme (where it displays the sidebars) must be the same as in all the other themes.
    -The selected “default” theme of the blog must support widgets as well.

    Even then, I’m not sure it’ll work. Maybe.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Widgets and Theme Switcher don’t like each other?’ is closed to new replies.