Add widgets to custom WordPress sidebars on theme activation?

Posted by McGirl on Stack Overflow See other posts from Stack Overflow or by McGirl
Published on 2010-06-16T17:55:56Z Indexed on 2010/06/16 22:42 UTC
Read the original article Hit count: 211

I'm working on a WordPress 3.0 multi-site installation. Each new blog will use the same theme with slight modifications (a custom Thesis install, if it matters). I'm trying to automate the set-up process for each new blog as much as possible.

To that end, I'd like to automatically add widgets to my custom sidebars and widget-enabled footers. It'd be even better if the widgets could have pre-set parameters/content, that I or the blog owner could then go into the Widgets panel and edit.

I've searched high and low and haven't been able to figure out a way to make this work. Any and all suggestions are welcome. Thanks so much!

© Stack Overflow or respective owner

Related posts about Wordpress

Related posts about wordpress-theming