Title: Widget within widget
Last modified: May 20, 2018

---

# Widget within widget

 *  Resolved [shieldfire](https://wordpress.org/support/users/shieldfire/)
 * (@shieldfire)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/widget-within-widget/)
 * Is there a way of “embedding” a widget within another widget. What I wish to 
   do is having an accordion widget (like the one in “Shortcodes ultimate”) opening/
   closing a category post widget. I thought I’d be able to do this with shortcodes
   but I’m not experienced enough to know if all widgets generate something useful.
   
   Something akin to the following meta-code
 *     ```
       [su_spoiler title="Spoiler title" open="no" style="default" icon="plus" anchor="" class=""]SHORTCODE_FOR_WIDGET_EG_CAT-POSTS[/su_spoiler]
       [su_spoiler title="Another Spoiler title" open="no" style="default" icon="plus" anchor="" class=""]SHORTCODE_FOR_WIDGET_EG_SOME_OTHER_CAT-POSTS[/su_spoiler]
       ```
   

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

 *  [staartmees](https://wordpress.org/support/users/staartmees/)
 * (@staartmees)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/widget-within-widget/#post-10301110)
 * According to [their documentation](https://docs.getshortcodes.com/), Shortcodes
   Ultimate can be “embedded”. te best place to ask this is [Shortcodes Ultimate](https://wordpress.org/plugins/shortcodes-ultimate/).
 *  Thread Starter [shieldfire](https://wordpress.org/support/users/shieldfire/)
 * (@shieldfire)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/widget-within-widget/#post-10301572)
 * I found the solution for my problem, by using a plugin that produces the shortcode
   for categories. That makes it so I can use as categories indicated above.
 *  Thread Starter [shieldfire](https://wordpress.org/support/users/shieldfire/)
 * (@shieldfire)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/widget-within-widget/#post-10301574)
 * .

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

The topic ‘Widget within widget’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [shieldfire](https://wordpress.org/support/users/shieldfire/)
 * Last activity: [7 years, 12 months ago](https://wordpress.org/support/topic/widget-within-widget/#post-10301574)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
