Forum Replies Created

Viewing 1 replies (of 1 total)
  • All the widgets I put in my pages and posts works good. The problem is with the sidebar widgets. It just shows the widgets like pages, calendar, search and meta, if I remove them, nothing shows on the sidebar. None of my widgets I activated shows.
    Design .. Widgets works fine and you can move the widgets around, edit and save the changes, no errors appear.

    I have this in functions.php:

    <?php
    if ( function_exists('register_sidebar') )
    register_sidebar();
    ?>

    Here is the sidebar php:

    </div>
    
    <div id="sidebar">
    
    <ul>
    <?php if ( !function_exists(’dynamic_sidebar’)
    || !dynamic_sidebar() ) : ?>
    
    	<li>
    		<h2><?php _e('Search'); ?></h2>
    		<?php include (TEMPLATEPATH . '/searchform.php'); ?>
    	</li>
    
    	<?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>
    
    	<li>
    		<h2><?php _e('Archives'); ?></h2>
    		<ul>
    			<?php wp_get_archives('type=monthly'); ?>
    		</ul>
    	</li>
    
    	<li>
    		<h2><?php _e('Categories'); ?></h2>
    		<ul>
    			<?php wp_list_cats(); ?>
    		</ul>
    	</li>
    
    	<li>
    		<h2><?php _e('Calendar'); ?></h2>
    		<div class="text">
    			<?php get_calendar(1); ?>
    		</div>
    	</li>
    
    	<?php get_links_list(); ?>
    
    	<?php if (function_exists('wp_theme_switcher')) { ?>
    	<li>
    		<h2><?php _e('Themes'); ?></h2>
    		<?php wp_theme_switcher(); ?>
    	</li>
    	<?php } ?>
    
    	<li>
    		<h2><?php _e('Meta'); ?></h2>
    		<ul>
    			<?php wp_register(); ?>
    			<li><?php wp_loginout(); ?></li>
    			<?php wp_meta(); ?>
    </ul>
    	</li>
    
    <?php endif; ?>
    </ul>
    
    </div>

Viewing 1 replies (of 1 total)