Widget Plugin Added to Custom Theme but not showing up
-
I have a custom theme and want to be able to customize the sidebar on the fly with Widgets. The Widget Plugin has been added both to WordPress and to the sidebar code. However, Widgets are still not showing up under Presentation in Admin to add or activate them. Am I missing something? I had them successfully working with another theme I was using but for some reason I can’t get them to show up under this one.
Here is my sidebar code:
<!– begin sidebar –>
<div id=”sidebar1″ align=”left”>
<?php if ( !function_exists(‘dynamic_sidebar’)
|| !dynamic_sidebar() ) : ?><div id=”pages2″>
<div class=”alignleft”>-
<?php wp_list_pages_Customize(‘title_li=’,19,1000);?>
</div>
</div>
</div>
<div id=”left-Images” align=”left”>
<table width=”249″ cellpadding=”0″ cellspacing=”0″ border=”0″ align=”center”>
<tr><td colspan=”4″ ><Hding1>Just Listed</Hding1></td></tr>
<tr><td colspan=”4″ height=”10″></td></tr>
<tr>
<?php
$i=0;while (have_posts()) : the_post();
$Value=image_extractor($resize=false, $resize_type=1, $width=’50’, $height=’50’, $class=”, $id=”, $prefix=”, $suffix=”);
if($Value==1){$i++;
if($i==4){
}else{
echo “<td width =’10’ class=’LeftBarTBG’></td>”;
}
if($i%4==0){
$i=0;
echo “</tr>
<tr><td colspan=’7′ height=’10’ class=’LeftBarBoTBG’></td></tr>
<tr>”;
}
}
endwhile;
?>
</tr>
</table>
</div>
<div id=”sidebar” align=”left”><?php if (function_exists(‘wp_theme_switcher’)) { ?>
<div id=”themes”>
<h3><?php _e(‘Themes’); ?></h3>
<?php wp_theme_switcher(); ?>
</div>
<?php } ?><div id=”categories” align= “left”>
<h3><?php _e(‘Categories:’); ?></h3>-
<?php wp_list_cats(‘sort_column=name&optioncount=1&feed=rss’); ?>
</div>
<div id=”archives” align=”left”>
<h3><?php _e(‘Archives:’); ?></h3>-
<?php wp_get_archives(‘type=monthly&show_post_count=1’); ?>
</div>
<div id=”blogroll” align=”left”>
<h3>Blogroll</h3>-
<?php get_links(-1, ‘
- ‘, ‘
‘, ‘ – ‘); ?>
</div>
<div id=”meta” align=”left”>
<h3><?php _e(‘Meta:’); ?></h3></div>
</div>
<div class=”both” align=”left”></div>
<?php endif; ?>
</div><!– end sidebar –>
- The topic ‘Widget Plugin Added to Custom Theme but not showing up’ is closed to new replies.