Support » Plugins » Number of sidebars with Widgets

  • Resolved DJIanis5552



    I want to personalize my theme (i’m using K2). I need to have 3 sidebars for manage my widgets, but in the administration of widgets (wp-admin/widgets.php), i can only manage 2 sidebars.

    I try to search in the file widgets.php but i don’t find anything.

    Can you help me to enable a 3rd sidebars ?

    And, to use this, i must type in my theme’s html code :

    <div id="sidebar-3" class="secondary">
    <?php if(function_exists('dynamic_sidebar')) { dynamic_sidebar(3); } ?>

    Isn’t it ?

    Thanks a lot for your help, i’m locked on this problem.
    (PS : I’m french so sorry for my bad language).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Les Bessant


    keeper of the Tiggers

    This will be done by your theme. I’ve never really looked at K2, but if it works in the same way as my theme, look in the theme’s functions.php file for a line like this:

    register_sidebars( 2, $p );

    Change the 2 to 3 and give it a try.

    Alternatively, you could try the K2 support forum, where you might find a more exact answer:

    K2 Forum


    In K2’s function.php file, there is no ” register_sidebars ” function, but there is a line ” define(‘K2_SIDEBARS’, 2); “.

    I’ve changed the 2 to 3, and it’s works as i want.
    Thanks very much !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Number of sidebars with Widgets’ is closed to new replies.