Title: Multiple Sidebars
Last modified: August 19, 2016

---

# Multiple Sidebars

 *  Resolved [yangt299](https://wordpress.org/support/users/yangt299/)
 * (@yangt299)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/multiple-sidebars-2-2/)
 * I have two sidebars, one that I want to display on the index.php template and
   one for the post.php template. I am using the get_sidebar() command. The sidebar
   file name for the index.php template is sidebar.php, while the one for the post
   page is sidebar-post.php. I am using the following code to read out my sidebar-
   post.php sidebar:
 * `<? get_sidebar('post'); ?>`
 * However, this simply returns a page with no sidebar at all. What am I doing wrong?
   Thanks. And yes, I have widgets for the second sidebar.

Viewing 1 replies (of 1 total)

 *  Thread Starter [yangt299](https://wordpress.org/support/users/yangt299/)
 * (@yangt299)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/multiple-sidebars-2-2/#post-1480521)
 * Never mind, I found the problem. It was a simple “id” error. Thanks anyways!!

Viewing 1 replies (of 1 total)

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [yangt299](https://wordpress.org/support/users/yangt299/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/multiple-sidebars-2-2/#post-1480521)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
