• Resolved trc49492

    (@trc49492)


    for some reason I cannot get the dynamic sidebar to display

    I added the following code at the top of my sidebar, right after the first

    <ul>
    		   <?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar() ) : ?>
    
    and then
    added
    
        <?php endif; ?>
    
    right after this chunk of content in the sidebar:
    
    <li><!-- Theme switcher -->
    			<h2><?php _e('Themes'); ?></h2>
    
    				<?php wp_theme_switcher(); ?>
    		</li>
    <!-- End of Theme switcher -->
    
    		<?php } ?>

    I also added functions.php which has this in it:

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

    So when my site loads the dynamic sidebar does not display at all and the footer does not display either…

    any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘dynamic sidebar not displaying…’ is closed to new replies.