Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • kaptenkrillo

    (@kaptenkrillo)

    Yeah I have the sam problem. It souldn’t be so hard for them who know their way around widget initialization.

    This piece of code can arrage the widgets correctly:

    $w = array( "wp_inactive_widgets" => array(),
                   "startpage_left" => array("x_widget-2", "y_widget-2"
                   "startpage_right" => array(),
                   "content_right" => array("z_widget-4"),
                 );
    update_option( 'sidebars_widgets', $w );

    But since I’m making custom widgets I have to “register” them in the db first… but how is this done?

    TIA Krillo

    Hey Andrea, your comment is reassuring.
    Good work!

Viewing 2 replies - 1 through 2 (of 2 total)