Title: Sidebars
Last modified: August 19, 2016

---

# Sidebars

 *  [MaddTechWF](https://wordpress.org/support/users/maddtechwf/)
 * (@maddtechwf)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/sidebars-5/)
 * I want to create a single sidebar.php file and then be able to have only certain
   things show based on the page that it is in.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/sidebars-5/#post-1988774)
 * Create a sidebar template file called something like `sidebar-single.php`, then
   call it in single.php using `<?php get_sidebar('single');?>`
 * Within the new sidebar template, you can define multiple [widget-ready areas](http://codex.wordpress.org/Widgetizing_Themes),
   or add default markup, that will be displayed based upon the is_single() [conditional](http://codex.wordpress.org/Conditional_Tags).
 *  [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/sidebars-5/#post-1988827)
 * The simplest solution is probably to use the [Widget Logic](http://wordpress.org/extend/plugins/widget-logic)
   Plugin.

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

The topic ‘Sidebars’ is closed to new replies.

 * 2 replies
 * 3 participants
 * Last reply from: [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/sidebars-5/#post-1988827)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
