[wp-hackers] Programmatic Widget Handling

Peter Westwood peter.westwood at ftwr.co.uk
Wed Oct 20 17:01:21 UTC 2010

On 20 Oct 2010, at 17:48, scribu wrote:

> On Wed, Oct 20, 2010 at 6:48 PM, Jeremy Clarke <jer at simianuprising.com>wrote:
>> WP needs this badly. Among other automation-related uses it would be great
>> if themes could define initial widgets for their widget zones in
>> functions.php rather than having hard-coded alternate content (which
>> confuses users who go to Appearance > Widgets and see nothing there to
>> explain what's already visible on the site).
> Doesn't twentyten already do this?

Not as far as I know - we haven't got an api which makes it easy.

Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5

More information about the wp-hackers mailing list