widgetizing two themes
-
WordPress is not recognizing that I have 2 themes I need help!
my functions look like this:
<?php
if ( function_exists(‘register_sidebar’) )
register_sidebar(array(
‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ”,
‘before_title’ => ”,
‘after_title’ => ”,
));?>
My left sidebar looks like this:
<!– begin l_sidebar –>
<div id=”l_sidebar”>
<ul id=”l_sidebarwidgeted”>
<?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(1) ) : else : ?><li id=”Recent”>
<h2>Recently Written</h2>-
<?php get_archives(‘postbypost’, 10); ?>
<li id=”Categories”>
<h2>Categories</h2>-
<?php wp_list_cats(‘sort_column=name’); ?>
<li id=”Archives”>
<h2>Archives</h2>-
<?php wp_get_archives(‘type=monthly’); ?>
<li id=”Blogroll”>
<h2>Blogroll</h2>-
<?php get_links(-1, ‘
- ‘, ‘
‘, ‘ – ‘); ?>
<li id=”Admin”>
<h2>Admin</h2>-
<?php wp_register(); ?>
- <?php wp_loginout(); ?>
- Debt consolidation
- WordPress
- XHTML
<?php wp_meta(); ?>
<h2>Search</h2>
<form id=”searchform” method=”get” action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>”>
<input type=”text” name=”s” id=”s” size=”30″ value=”search this site…”/></form><?php endif; ?>
</div>
<!– end l_sidebar –>
and my right sidebar looks like this:
<!– begin r_sidebar –>
<div id=”r_sidebar”>
<ul id=”r_sidebarwidgeted”>
<?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(2) ) : else : ?><li id=”Themes”>
<h2>WP Themes</h2>- Activate
- Blindigo
- Blue Zinfandel
- Eye Candy
- Detour
- Frequency
- Gladiola
- Radiance
- Vertigo
- Vertigo Squared
- Wonderland
<?php endif; ?>
</div>
<!– end r_sidebar –>
- The topic ‘widgetizing two themes’ is closed to new replies.