Articles

How to Add a Sidebar to WordPress Theme

by Asma Rahman Web Developer

In a simple every wordpress themes employ a single sidebar. We know that wordpress is a open architecture so you can more that one sidebar in your wordpress theme. Also It is not restricted to use  only sidebar area, you can put your sidebar any area in your theme such as footer, header or others place where you want. Finally you can place any wordpress widget like Recent post, Pages, Tag cloud, Calender etc in sidebar. In this article i we will see How to Add a Sidebar to WordPress Theme.

We need to follow these steps to add sidebar to WordPress Theme :

  • First we need to register sidebar in functions.php file.
  • Call the sidebar to sidebar.php file with sidebar id.
  • Call this sidebar to theme index.php file or any other pages where we want to add.

Here is my site.For details code and explanation please visit : http://www.orbitit24.com/how-to-add-a-sidebar-to-wordpress-theme/


Sponsor Ads


About Asma Rahman Junior   Web Developer

2 connections, 0 recommendations, 16 honor points.
Joined APSense since, July 22nd, 2013, From Dhaka, Bangladesh.

Created on Dec 31st 1969 18:00. Viewed 0 times.

Comments

No comment, be the first to comment.
Please sign in before you comment.