Forums

adding a left sidebar (8 posts)

  1. helenebt
    Member
    Posted 1 year ago #

    is there an easy way to add a left side bar? I don't know much about code but can follow instructions :)
    And will it show up in my widget area so that I can easily move widgets in and out of the new sidebar?
    I like the theme and would prefer being able to add a left sidebar rather than move to another theme.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    is there an easy way to add a left side bar?

    Not unless you are comfortable using CSS and possibly PHP, XHTML and WordPress templates tags.

  3. helenebt
    Member
    Posted 1 year ago #

    i would be if I had the code and the how to.
    I tried this:
    http://www.blogohblog.com/adding-extra-sidebar-to-your-wordpress-theme/
    but it didn't work w/ azul.
    I couldn't find this line <?php include (TEMPLATEPATH . '/sidebar.php'); ?>
    in the index.php file.
    I fiddled with it and tried other things which didn't work either.
    Also, adding a "2" in the function.php file like this:

    <?php
    if ( function_exists('register_sidebars') )
    register_sidebars(2);
    ?>

    didn't call a second sidebar in the the widget area.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Every theme is different, so you would need to create a solution that worked for your theme. Copying code from another theme or a tutorial is unlikely to work. You need to study the various tutorials and then apply them to your theme - not just copy them.

  5. helenebt
    Member
    Posted 1 year ago #

    thanks.

  6. srl_frontrange
    Member
    Posted 1 year ago #

    Hi helenebt,

    I found this tutorial to be very helpful. From this tutorial I also managed to add widget areas to the header and footer of my template using a another tutorial.
    http://themeshaper.com/wordpress-theme-development-tools-tutorial/

    It might take you a little bit of time to get through, but it is certainly worth it as it includes a chapter on some spiffy widgetizing. ;)

    Another reason it would be worth the patience and time to go through it would be because you learn how the templates are built. This in and of itself will save you tons of frustration when creating new themes.

    Regards, and best of luck.

  7. helenebt
    Member
    Posted 1 year ago #

    Thank you for the link :)

  8. edwardpope
    Member
    Posted 1 year ago #

    Thank you all for your discussion, it was very helpful for me))

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags