Title: Display 2 different sidebars
Last modified: August 19, 2016

---

# Display 2 different sidebars

 *  [amplifiedshock](https://wordpress.org/support/users/amplifiedshock/)
 * (@amplifiedshock)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/display-2-different-sidebars/)
 * Greetings. I have a WordPress blog and two different sidebars – sidebar.php and
   sidebar2.php.
 * Currently, the same sidebar is displayed on both the index page and the single
   post page. How do I display sidebar.php for the index page and sidebar2.php for
   the single post page?
 * Thanks.

Viewing 1 replies (of 1 total)

 *  [Alex Cragg](https://wordpress.org/support/users/epicalex/)
 * (@epicalex)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/display-2-different-sidebars/#post-674651)
 * have a look at [is_single](http://codex.wordpress.org/Conditional_Tags#A_Single_Post_Page)
   and [include](http://codex.wordpress.org/Include_Tags#Including_Any_Template)

Viewing 1 replies (of 1 total)

The topic ‘Display 2 different sidebars’ is closed to new replies.

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Alex Cragg](https://wordpress.org/support/users/epicalex/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/display-2-different-sidebars/#post-674651)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
