please help, i can not make my sidbar becaome dynamic.
i can not add widget to my sidebar.
any one can help me please...
i take me to http://codex.wordpress.org/Widgetizing_Themes
here is my sidebar:
i have added php code, but still can not dynamic. :(
</div>
<div id="sidebar">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar() ) : ?>
<div id="sidebar_content">
<div class="sidebar_box">
<h3>Quick Search</h3>
<form method="get" id="search_form" action="<?php bloginfo ('home'); ?>">
<input type="text" name="s" id="s" value="Enter Keywords..." onfocus="if (this.value == 'Enter Keywords...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Enter Keywords...';}" />
<input type="submit" name="btn_search" id="btn_search" value="" />
</form>
</div>
<div class="sidebar_box">
<h3>Featured Video</h3>
<div class="vid">
<object width="285" height="231">
<param name="movie" value="http://www.youtube.com/v/<?php echo get_option('ibiz_tech_youtube_id'); ?>&hl=en&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/<?php echo get_option('ibiz_tech_youtube_id'); ?>&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="285" height="231"></embed>
</object>
</div>
</div>
<div class="sidebar_box">
<h3>Event & News Updates</h3>
<div class="rss_box">Sign up to receive breaking news as well as receive other site updates!</div>
<form action="http://www.feedburner.com/fb/a/emailverify" target="popupwindow" onsubmit="window.open('http://www.feedburner.com', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" id="rss_form">
<input type="text" name="email" id="email_rss" value="Enter your email!" onblur="if (this.value == '') {this.value = 'Enter your email!';}" onfocus="if (this.value == 'Enter your email!') {this.value = '';}" />
<input type="submit" name="subscribe_email_btn" id="subscribe_email_btn" value="" />
<input type="hidden" value="http://feeds.feedburner.com/~e?ffid=<?php echo get_option('ibiz_tech_feedburner_id'); ?>" name="url" />
<input type="hidden" value="<?php echo get_option('ibiz_tech_feedburner_url'); ?>" name="title" />
<input type="hidden" name="loc" value="en_US"/>
</form>
</div>
<div class="sidebar_box">
<h3>About Us</h3>
<p><?php echo get_option('ibiz_tech_about_us'); ?></p>
</div>
<div class="sidebar_box">
<h3>Archives</h3><?php wp_get_archives('type=monthly&limit=12&show_post_count=0'); ?>
</div>
<div class="sidebar_box">
<h3>Categories</h3><?php wp_list_categories('orderby=id&show_count=0&use_desc_for_title=0&title_li='); ?>
</div>
<div class="sidebar_box">
<h3>Recent Entries</h3><?php get_archives('postbypost', 10); ?>
<?php endif; ?>
</div></div>
</div>