Title: multiple widget use
Last modified: August 20, 2016

---

# multiple widget use

 *  [PascalBajorat](https://wordpress.org/support/users/pascalbajorat/)
 * (@pascalbajorat)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/multiple-widget-use/)
 * Hi there,
    I’ve written a really simple sidebar widget, here is the code:
 *     ```
       function nt_adsense_3($args) {
       	echo $args['before_widget'];
       	echo '<div class="adsense_side">'.nt_option('nt_adsense_3').'</div>';
       	echo $args['after_widget'];
       }
   
       wp_register_sidebar_widget(
           'nt_adsense_3',
           'Google AdSense Code 3',
           'nt_adsense_3',
           array(
               'description' => 'Google AdSense Anzeige für die Sidebar. Der Code kann in den Theme Einstellungen geändert werden.'
           )
       );
       ```
   
 * I have three dynamic sidebars but I can only drag this widget to one of these
   sidebar areas. After dragging it to a sidebar it will disappear from the “available
   widgets” area.
 * What is to do to use this little widgets in multiple dynamic sidebars?
 * Best regards
    Pascal

The topic ‘multiple widget use’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [PascalBajorat](https://wordpress.org/support/users/pascalbajorat/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/multiple-widget-use/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
