Adding second sidebar to twentyten
-
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
-
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.
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?Where are you registering the sidebar?
functions file
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,
DaniIf you’re not contributing to the original poster, on an old or new thread, you should create your own thread.
… 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
The topic ‘Adding second sidebar to twentyten’ is closed to new replies.