Proper Bender index.php:
<?php
/*
Theme Name: bender_ Theme
Theme URI:
Description: This is bender theme
Version: 3.0
Author: Osclass
Author URI:
http://osclass.orgWidgets: header,footer,main,sidebarTheme update URI:
http://osclasst.org*/
function bender_theme_info() {
return array(
'name' => 'bender_Theme'
,'version' => '3.0'
,'description' => 'This is bender theme.'
,'author_name' => 'osclass'
,'author_url' => '
http://osclass.org'
,'locations' => array('header','footer','main','sidebar')
);
}
?>
Create the widgets in Admin.
Insert the following into pages that you want widgets to appear:
header.php= osc_show_widgets('header');
footer.php= osc_show_widgets('footer');
main.php= osc_show_widgets('main');
main.php sidebar section= osc_show_widgets('sidebar');
Experiment with above code placement for best location.
Tom