wesleong
Forum Replies Created
-
Just upgraded and also am seeing the problem.
I have tried this fix, and it seems to be working for me. Though I’m pretty new to wordpress and only have a pretty simple wordpress installation. What type of problems were you seeing with registering widgets in the past?
Wes
Todd,
So I think I’ve determined the cause of this issue. I believe it happens when changing themes that have different number of sidebar areas. The current widgets on pages plugin doesn’t assign the sidebar id, so it is given a default id, and when a new theme is used, these sidebar id’s change causing the widgets on the widget-on-pages sidebar to become inactive. This can be fixed by explicitly defining the sidebar id in the code (And I believe you meant to do so, the $id variable gets defined in the code, just not passed to the register_sidebar() function).So, for the two function calls to register_sidebar, the following input argument needs to be added (lines 209 and 234 of widgets_on_pages.php):
'id' => __( $id, 'wop' ),Maybe this fix can be included into a new version?
Hello,
FYI I’m also seeing this behavior. And it doesn’t seem to be just one specific theme. I’ve tried switching from twenty ten to kubrick and have this issue. I’m running wp 3.0.5, and have three total WoP sidebars. I’ve disabled all other plugins and the widget are still being cleared from the WoP sidebars