[resolved] Dynamic sidebar problem: 2nd sidebar not working (4 posts)

  1. R Bouten
    Posted 2 years ago #


    I just came across a problem with my sidebar's. Until recently I was only using the primary sidebar which is working fine. Today I tried to use the secondary sidebar by using
    <?php dynamic_sidebar( 'secondary-widget-area' ); ?>
    in my template file.

    To my surprise it wasn't showing anything. When I switch back to
    <?php dynamic_sidebar( 'primary-widget-area' ); ?>
    it's working again, and yes both the sidebar area's contain widgets.

    Any clues about where to find the problem? Thanks a lot!

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    what theme are you using?

    are both sidebars registered in functions.php?

    is anything of the secondary sidebar showing in the html code of your site in the browser?

    what is the full code of the used template?

  3. R Bouten
    Posted 2 years ago #

    It's a site build by somebody else who used a customized twentyten theme. Both sidebars are registered in functions.php.

    Nothing is shown in the page source of the site.

    Ah, but now I see there is a widget plugin in use. That might cause the problem. I will look into that first. Thanks for the help.

  4. R Bouten
    Posted 2 years ago #

    Yes solved, this plugin was causing the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic