Title: Sidebar code
Last modified: August 20, 2016

---

# Sidebar code

 *  [Jake Burkart](https://wordpress.org/support/users/jakeburkartgmailcom/)
 * (@jakeburkartgmailcom)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/sidebar-code-2/)
 * Can anyone give me a basic explanation of how this code works?
 *     ```
       <?php if(!function_exists('dynamic_sidebar') || !dynamic_sidebar('right_sidebar') || !dynamic_sidebar('orange')) : ?>
       								<?php endif; ?>
       ```
   
 * I see it saying, “If there’s no dynamic_sidebar function, or right-sidebar, or
   if no orange sidebar, do nothing.” Is that correct. I’m trying to get my “orange”
   sidebar to appear on in my “Orange County template”. I successfully registered
   the sidebar in my theme functions. But now I need clarity on how this sidebar.
   php works.

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/sidebar-code-2/#post-2332560)
 * See [Widgetizing_Themes](http://codex.wordpress.org/Widgetizing_Themes).

Viewing 1 replies (of 1 total)

The topic ‘Sidebar code’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/sidebar-code-2/#post-2332560)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
