Here’s a sweet little exercise on adding a sidebar to a wordpress theme.
You like a Wordpress theme on the Internet but Oh!… What’s this?? The theme has only one sidebar! You need more than one and are on the verge of switching to some other theme with more sidebars. But wait!! Let me teach you how to add an extra sidebar or sidebars to your favorite theme. People who know PHP will find it easy to follow but even novices can easily do it using the code that I have provided in this tutorial. I am assuming that you already know HTML and a bit of CSS.
To begin the tutorial, extract your theme into a folder and open it to see all the files. If your theme has only one sidebar, then most probably you will NOT find a file called functions.php in your theme folder. In that case you will have to create this file yourself. Just open notepad or any other code editor to start a new file. Put this code into that file :-
<?php if ( function_exists('register_sidebars') ) register_sidebars(2); ?>
Adding Extra Sidebar to your Wordpress Theme
Jai
Sat, 24 Nov 2007 01:58:21 GMT
- add sidebar to wordpress theme
- wordpress extra sidebar
- adding extra sidebar to your wordpress theme
- wordpress add extra sidebar
- adding sidebar to wordpress theme
- wordpress extra sidebar plugin
- adding a sidebar to a wordpress theme
- add extra sidebar wordpress
- add sidebar wordpress
- add a sidebar to wordpress theme









