Support » Fixing WordPress » how to add extra widget area in twenty eleven

  • Moses


    Hi – trying to add a dynamic sidebar at the top of the theme …to the right of the title and description …an extra widget area in twenty eleven.can`t find clear instructions on the subject and would appreciate help here . i know its adding code in functions.php but cant find the code and where to place it . elaborate explanation would help many of us novices to word press

    my plane it to add some widgets there


Viewing 4 replies - 1 through 4 (of 4 total)
  • You will want to check out register_sidebar() and register_sidebars() to create the sidebars for your site. These can go in your functions.php file almost anywhere, but I’d suggest keeping them with yur current sidebar calls.

    Once you’ve done that you need to add the sidebar to your template file/files. To do this, the easiest way is to follow what is already in your template files. The main function that’s used is dynamic_siebar(0 so look for that and you’ll see how it’s been done.



    Forum Moderator

    Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes.



    thanks for the tips

    i manged to install a new side bar to the header BUT now need to style it
    its under the title and i need it to be elongated and to the far right end of the white header area… How can i style it to look like long rectangular to the right of title ?




    Forum Moderator

    one possiblity:

    try to use a tool such as Firebug to find the involved styles; then use for instance css positioning

    it is beyond the scope of this forum to assist with detailed fundamental formatting questions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to add extra widget area in twenty eleven’ is closed to new replies.