Support » Themes and Templates » Bottom bar for widgets

  • Hello,

    I would like to do something like this with my blog: I’ve in Layout > Widgets one sidebar for my widgets. I would like to add second bar that will be the bottom bar (at the bottom of my blog).

    Could you please tell me how to do something like this? I would like to be able to put widgets on the bottom of myblog. If it’s not possible could you tell me what command to use in theme files to put a widget (for example something like function show_widget(id_of_widget)?

    kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • you need to add following function in your function.php
    between starting and closing php tags

    if ( function_exists('register_sidebar') )
    		'name' => 'bottom',
            'before_widget' => '<ul>',
            'after_widget' => '</li></ul>',
            'before_title' => '<li><h2>',
            'after_title' => '</h2></li><li>',

    change before and after widget/title to match to your theme

    now edit your footer.php file to include widget support

    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('bottom') ) : ?><?php endif; ?>

    Thank you blogsdna very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bottom bar for widgets’ is closed to new replies.