Title: function
Last modified: August 19, 2016

---

# function

 *  Resolved [jbert](https://wordpress.org/support/users/jbert/)
 * (@jbert)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/function/)
 * This is my script in the function folder for sidebar. My newly self made theme
   has one sidebar. I am adding another. Will the function change form
 *     ```
       <?php
       if ( function_exists('register_sidebar') )
           register_sidebar();
       ?>
       ```
   
 * when adding the new sidebar 2.
 * Thanks
 * Jim

Viewing 1 replies (of 1 total)

 *  [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/function/#post-981278)
 * <?php
    if ( function_exists(‘register_sidebar’) ) register_sidebar(‘first’); 
   register_sidebar(‘second’); ?>

Viewing 1 replies (of 1 total)

The topic ‘function’ is closed to new replies.

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [scribu](https://wordpress.org/support/users/scribu/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/function/#post-981278)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
