function theme_register_default_widgetsets() { register_widgetset('left'); register_widgetset('right'); register_widgetset('top'); register_widgetset('bottom'); }
<?php /* Theme Name: Leggero Theme URI: http://www.flatpress.org/ Description: The default FlatPress theme which brings a breath of fresh mint air. Version: 0.705 Author: NoWhereMan and Drudo Author URI: http://www.flatpress.org/ */ $theme['name'] = 'leggero'; $theme['author'] = 'drudo and NoWhereMan'; $theme['www'] = 'http://www.flatpress.org/'; $theme['description'] = 'Default FlatPress Theme. Brings a a breathe of fresh air and' . 'blah blah'; $theme['version'] = 0.705; $theme['style_def'] = 'style.css'; $theme['style_admin'] = 'admin.css'; $theme['default_style'] = 'leggero'; // Other theme settings // overrides default tabmenu // and panel layout remove_filter('admin_head', 'admin_head_action'); // register widgetsets register_widgetset('right'); register_widgetset('left');