Title: Adding Sidebars
Last modified: August 30, 2016

---

# Adding Sidebars

 *  Resolved [mythusmage](https://wordpress.org/support/users/mythusmage/)
 * (@mythusmage)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-sidebars-4/)
 * How do I add a sidebar to a theme?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-sidebars-4/#post-6637707)
 * Hi mythusmage!
 * I’m not quite sure your level of PHP knowledge but I will share some links that
   you may find a little useful in your road to learning how to add sidebars.
 * The first is the function `register_sidebar`:
    [https://developer.wordpress.org/reference/functions/register_sidebar/](https://developer.wordpress.org/reference/functions/register_sidebar/)
 * With that you can register one sidebar at a time. There is an alternative with
   which you can register more. It is `register_sidebars`:
    [https://developer.wordpress.org/reference/functions/register_sidebars/](https://developer.wordpress.org/reference/functions/register_sidebars/)
 * Now, with those two functions you can register as many sidebars as you would 
   like.
 * In our next step, we create a child theme. A great guide can be found:
    [https://make.wordpress.org/training/handbook/theme-school/child-themes/](https://make.wordpress.org/training/handbook/theme-school/child-themes/)
 * In order for our widgetized area to show up we then hook to `widgets_init`.
 * In the functions file of the child theme you can use something like:
 *     ```
       add_action( 'widgets_init', 'mtm_extra_sidebars' );
       function mtm_extra_sidebars(){
           // register_sidebar code goes here
       }
       ```
   
 * As you can see it can seem quite simple to do, but as I mentioned, I’m not sure
   your level of knowledge or comfort level of breaking things. 😀
 * Hope that helps you out a bit. 🙂
 *  Thread Starter [mythusmage](https://wordpress.org/support/users/mythusmage/)
 * (@mythusmage)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-sidebars-4/#post-6637720)
 * This is helpful, I’ll have to give it a try.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding Sidebars’ is closed to new replies.

## Tags

 * [adding](https://wordpress.org/support/topic-tag/adding/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [mythusmage](https://wordpress.org/support/users/mythusmage/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/adding-sidebars-4/#post-6637720)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
