WordPress.org

Ready to get started?Download WordPress

Forums

add a second sidebar into blix (3 posts)

  1. daniell
    Member
    Posted 6 years ago #

    hi i use blix theme im trying to add a second side in it i have duplicated the sidebar.php and rename it to sidebar2.php and make some modifications.. how can i load the second sidebar into blix!?
    i use this command in index.php from my theme
    <?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
    but he loads inside of sidebar instead of creating a sidebar2 next to sidebar

    thankz

  2. moshu
    Member
    Posted 6 years ago #

    Find a theme that has already the sidebars you want.
    http://themes.wordpress.net

  3. Rok
    Member
    Posted 6 years ago #

    1. Either found a 3 Column theme, as suggested by Moshu.

    2. Even though, if you want to add second sidebar to your existing theme:

    a. You need not to create sidebar2.php etc.
    b. Just create a new ID or Class in you CSS and name as sidebar-right then float this to Right.
    c. Open your existing sidebar.php and use the newly created ID or class where ever you want.

    Note: 1. This is not a complete tutorial, but few steps to make you aware. 2. Migrating 2 Column theme to 3 Column require a lot of work and editing of your template files.

Topic Closed

This topic has been closed to new replies.

About this Topic