Title: [Plugin: Custom Etsy Widget] Multiple sidebars?
Last modified: August 19, 2016

---

# [Plugin: Custom Etsy Widget] Multiple sidebars?

 *  [arandomdan](https://wordpress.org/support/users/arandomdan/)
 * (@arandomdan)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-custom-etsy-widget-multiple-sidebars/)
 * The plugin is great, but it only seems to be able to add the widget to 1 sidebar,
   but my theme has multiple sidebars and I want it in a few of them, is this possible?
 * [http://wordpress.org/extend/plugins/etsy-widget/](http://wordpress.org/extend/plugins/etsy-widget/)

Viewing 1 replies (of 1 total)

 *  [Jenn](https://wordpress.org/support/users/jenny_jane/)
 * (@jenny_jane)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-custom-etsy-widget-multiple-sidebars/#post-1849938)
 * I’m not sure how to edit a widget so that it can be used multiple times. But 
   here’s a little work around that worked for me…
 * In functions.php I registered a dynamic sidebar specifically for holding the 
   single-use widget. Then I called that sidebar on each page I wanted it to appear.
 * Sample of my code below.
 * **functions.php:**
 *     ```
       // Register Sidebars
       if ( function_exists('register_sidebar') )
       register_sidebar(array(
       'name' => 'Cart Sidebar',
       'before_widget' => '<div class="cart-widget">',
       'after_widget' => '</div>',
       'before_title' => '<h4>',
       'after_title' => '</h4>',
       ));
   
       if ( function_exists('register_sidebar') )
       register_sidebar(array(
       'name' => 'Blog Sidebar',
       'before_widget' => '<div class="widget">',
       'after_widget' => '</div>',
       'before_title' => '<h4>',
       'after_title' => '</h4>',
       ));
       ```
   
 * **index.php:**
 *     ```
       <div id="sidebar">
         <?php dynamic_sidebar('Cart Sidebar'); ?>
         <?php dynamic_sidebar('Blog Sidebar'); ?>
       </div>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Custom Etsy Widget] Multiple sidebars?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/etsy-widget.svg)
 * [Custom Etsy Widget](https://wordpress.org/plugins/etsy-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/etsy-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/etsy-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/etsy-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/etsy-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/etsy-widget/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jenn](https://wordpress.org/support/users/jenny_jane/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-custom-etsy-widget-multiple-sidebars/#post-1849938)
 * Status: not resolved