Support » Plugins » Need help with Widgetized Area

  • I have a multilingual site, that using Multisite Language Switcher widgets to switch between languages. And I would like to position this widget on the header right.

    can anyone give me a proper instruction please.

    I have tried to add the code below to my function.php:

    register_sidebars( 1,
    	array(
    		'name' => 'header-right',
    		'before_widget' => '<div id="%1$s" class="widget %2$s">',
            'after_widget' => '</div>',
            'before_title' => '<h2 class="widgettitle">',
            'after_title' => '</h2>'
    	)
    );

    And I have also add the code below to my page.php:

    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("header-right") ) : ?>
    <?php endif; ?>

    But unfortunately widget doesn’t show up on my page.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need help with Widgetized Area’ is closed to new replies.