WordPress.org

Ready to get started?Download WordPress

Forums

Adding second sidebar to twentyten (9 posts)

  1. emaarkhan
    Member
    Posted 2 years ago #

    Hi,
    I read many tutorial and support fourms but i haven't found a clean and decent way to write code to add a secondary sidebar to the twentyten theme. by default tt has right sidebar. i want to add another sidebar to the left side. i am new at wordpress. can someone help me have code for another sidebar in left side of twentyten.
    Thanks in advance

  2. david.bailey
    Member
    Posted 2 years ago #

    You'll need to first register the sidebar and then load the sidebar in your template using dynamic_sidebar. From there it's a matter of styling it using style.css to make it appear correctly.

  3. emaarkhan
    Member
    Posted 2 years ago #

    Ok i did excatly what that link said but it didn't populated widgets i put in the sidebar.

    register_sidebar(array(
      'name' => 'Left Sidebar',
      'id' => 'left-sidebar',
      'description' => 'Widgets in this area will be shown on the left-hand side.',
      'before_title' => '<h1>',
      'after_title' => '</h1>'
    ));

    and i called it in index.php
    <?php dynamic_sidebar( 'left-sidebar' ); ?>
    what am i missing?

  4. david.bailey
    Member
    Posted 2 years ago #

    Where are you registering the sidebar?

  5. emaarkhan
    Member
    Posted 2 years ago #

    functions file

  6. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    read this:

    http://aaron.jorb.in/thirtyten/

    or possibly even use the theme featured in this blog.

  7. cloudywithachanceofwine
    Member
    Posted 1 year ago #

    Hello,

    I realize this string is quite old, but I am looking to add a second column to my blog (http://cloudywithachanceofwine.com). I am currently using the Twenty Ten theme, and I love how clean it is, but in order to add ads, etc., I feel a second column is the way to go.

    In this string, I see you created a Thirty Ten theme, but I cannot find this when searching through themes in WordPress.org. Is this a live theme? If so, how can I activate it? It really is awesome - nicely done!

    Cheers,
    Dani

  8. Andrew
    Forum Moderator
    Posted 1 year ago #

    If you're not contributing to the original poster, on an old or new thread, you should create your own thread.

  9. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    ... created a Thirty Ten theme, but I cannot find this when searching through themes in WordPress.org.

    afaik, the (only) source is the linked site by Aaron - and particular the download link in the menu bar - http://aaron.jorb.in/wp-content/uploads/2010/04/thirtyten.zip

Topic Closed

This topic has been closed to new replies.

About this Topic