Daily archives: February 8th, 2010

Round 2: Preset Widgets to Widget Areas

A while ago, I wrote about how to preset widgets to widget areas (sidebars) in themes, but that method doesn’t work anymore with the new multi-widget implementation. Here’s the new way: Step 1: Add a new instance of the widget to the options table update_option( ‘widget_search’, array( 2 => array( ‘title’ => ” ), ‘_multiwidget’ => 1 ) ... Read More

About Ptah

I’m a 21 year old web developer, entrepreneur, and founder of Design by Craftsmen, web creative studio specializing in custom WordPress solutions. Get to know me.

Twitter