• Im using a fixed width, 2-column theme, and Ive finally got my blog set up that the client likes.

    I would like to add a second sidebar to the left, for a list of the pages that needs to be added instead of posts, while keeping the header menu where it is with its few links.

    Im fairly new to WordPress and need some help please.

    Here is the link to the website,
    http://www.dctechnical.co.za/

    Any help would be so appreciated

Viewing 3 replies - 1 through 3 (of 3 total)
  • the more complex task is to integrate the second sidebar into the html structure of the existing theme; once you have this set up,
    the wordpress related tasks are:

    – register the new sidebar in functions.php of your theme:
    http://codex.wordpress.org/Function_Reference/register_sidebar
    you can use the existing register code from the first sidebar as a guideline;

    – create a second sidebar template; possibly make a copy of sidebar.php, rename it to (for example) sidebar-two.php, adapt the ‘dynamic_sidebar( ‘sidebar-1′ )’ (or similar) section, edit the respective css classes and ids;
    http://codex.wordpress.org/Widgetizing_Themes

    – edit all respective templates, and add <?php get_sidebar('two'); ?> into the position it needs to be to comply with your html structure;
    http://codex.wordpress.org/Function_Reference/get_sidebar

    Hi, i have a same question.
    what if , when you insert a sidebar it messes your page content and doesn’t lay nicely in the same line?
    I’m using buddypress theme and it is showing content and right sidebar below the left sidebar i just inserted there? verticaly they are on ok place, but horizontaly they get below the sidebar i inserted.(i inserted get_sidebar() in the code before other content.

    Thanks!
    Nick.

    what if , when you insert a sidebar it messes your page content and doesn’t lay nicely in the same line?

    in this case you need to reconsider the placing of the sidebar code and the corresponding css code.

    however, helping with general formatting issues is not supported by this forum.

    try to use a tool such as Firebug to get more insight into the html/css of your site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add second sidebar to current theme’ is closed to new replies.