For Wordpress user, using free wordpress theme created by other is always fun. For the one who does not have enough time to create his original theme, or for someone who do not have special ability in web design, using a free wordpress theme is the best way out.
All we need to do is searching for the best design that we want, download its zipped file to our own computer, extract it, and finally upload the theme to our hosting. It is really simple.
Sometimes we got a problem regarding the design of the choosen theme. For example, we found a very good-looking theme, nice color or background image, and any other good thing, but the theme only have one sidebar. For some wordpress user, single sidebar is not enough at all. The ideal 2 sidebar (3 column wordpress theme) is a must. So, if we find this situation, what can we do? Delete the theme and find another? Noo… It’s really wasting our time. All we have to do is only adding a new sidebar without modifying the theme too much.
Let’s see what we have to do to add a new sidebar in a choosen theme…
- Open the theme’s folder.
- Find a file called functions.php and open it with notepad or another code editor. If there’s no functions.php (probably some 2 column theme do not need this fle), you can creat a new file an name it functions.php. Replace the old code (if any) with this new code :
<?php
if ( function_exists('register_sidebars') )
register_sidebars(2);
?>
- Save the file.
- Create a new file called sidebar2.php and insert this code :
<div>
<ul>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>
<?php endif; ?>
</ul>
</div>
- Open the old sidebar.php file, and insert this code at the bottom (do not delete or change any old code in this file) :
<?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
- Save the file.
Open your wordpress admin panel, see the widget button in a design section. You have a new sidebar in your theme now. You can add any widget you want in your new sidebar. Have fun!
Related posts:
- WordPress Design And Theme – Best Tips To Find A Great Premium WordPress Theme For Your Blog
- Wordpress Theme – Grey Stone
- How to Select a Wordpress Theme
- Premium Wordpress Theme For Free
- Tips To Choose a Free Wordpress Theme
- WordPress Theme Advice: 5 Good Reasons To Choose a Premium Theme
- WordPress Design And Theme – Where To Search For The Right WordPress Theme For Your Blog?
- 5 Factors Of Effective Wordpress Themes
- How to Choose a Wordpress Theme
- WordPress- Find the Free WordPress Themes
Hey.
Tobi — November 15th, 2009 at 4:55 pmnice one. it realy helped me out.
problem is, my 2nd sidebar’s underneath the 1st one.
how do I get it to the left side?
thanks again
Tobi
very useful post!!!
thank you very much indeed
zanaz — May 8th, 2010 at 7:04 am[...] sidebar in WordPress? This should be a single click operation in the GUI, but it actually requires digging around in several separate files. [...]
From Joomla to Wordpress « Hypertransitory.com — August 3rd, 2010 at 11:12 am