I am developing my own theme from scratch. IT is my first theme i have ever developed so i am sorry if this is a dumb question. I can't seem to integrate your plugin into my theme.
This is inside my function file
if ( function_exists('register_sidebar') ) register_sidebar();
This is inside my sidebar.php file
<?php /** * The Sidebar containing the main widget area. * * @package WordPress * @subpackage ... * @since ... */ ?> <div id="sidebar"> <ul> <?php global $MultipleSidebars; if ( !$MultipleSidebars-> dynamic_sidebar() ) : ?> <div style="height:150px; width:390px; margin:5px; background:pink; float:left;">Widget 1</div> <div style="height:150px; width:390px; margin:5px; background:pink; float:left;">Widget 2</div> <?php endif; ?> </ul> </div>
In the admin the plugin works fine but on the front the "sidebars" are not visible at all. It is defaulting to showing the hard coded widgets...
I would really appreciate the help.