WordPress.org

Ready to get started?Download WordPress

Forums

widgets/dynamic sidebar not showing (3 posts)

  1. jami1955
    Member
    Posted 2 years ago #

    In this post:
    http://wordpress.org/support/topic/help-with-widgetsdynamic-sidebar-not-showing

    the problem of dynamic sidebars not showing was answered with the advice:
    Try looking in functions.php for register_sidebar().

    There was no further comments in that thread. I have the same problem, I checked in functions.php, as well as widgets.php, and my theme's functions.php, and the only thing that shows up (global functions.php) is
    function register_sidebars($number = 1, $args = array())

    followed by the arguments.

    How do I know if I need the singular register_sidebar() defined, and how would I enter it into the funtions.php? In other words, how can I get those marvelous widgets that partially sold me on the theme to actually show up?

    thanks
    JSC

  2. jami1955
    Member
    Posted 2 years ago #

    PS. The theme is compatible with the WP version I'm using, AND the sidebars show up on some of the pages. There is a sidebar "Bottom Middle" for instance in admin, I've configured it, it's called by

    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Bottom-Middle') ) : ?>

    and no show... is there a way to check if it's named properly? Because that's how it's being called. Or do I need to go register the singular
    register_sidebar(Bottom-Middle); somewhere?

  3. jami1955
    Member
    Posted 2 years ago #

    ooops.
    sorry for this messy post.
    I just found this in the theme functions.php:

    register_sidebar(array(
            'name' => 'Bottom-Middle',
            'before_widget' => '<div class="item">',
            'after_widget' => '</div>',
            'before_title' => '<h3 class="sub">',
            'after_title' => '</h3>',
        ));

    so, there it is registered, and not showing up.... any input would be welcome... if you can wade through this post.
    thanks
    JSC

Topic Closed

This topic has been closed to new replies.

About this Topic