how to add extra widget area in twenty eleven (5 posts)

  1. Moses
    Posted 3 years ago #

    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


  2. michael.mariart
    Posted 3 years ago #

    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.

  3. esmi
    Forum Moderator
    Posted 3 years ago #

    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.

  4. Moses
    Posted 3 years ago #

    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 ?


  5. Michael
    Part-Time Forum Moderator
    Posted 3 years ago #

    one possiblity:

    try to use a tool such as Firebug http://getfirebug.com/ to find the involved styles; then use for instance css positioning http://www.w3schools.com/css/css_positioning.asp

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

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.