Title: Shortcode inside shortcode attribute?
Last modified: June 1, 2022

---

# Shortcode inside shortcode attribute?

 *  [ulrichgoebel](https://wordpress.org/support/users/ulrichgoebel/)
 * (@ulrichgoebel)
 * [4 years ago](https://wordpress.org/support/topic/shortcode-inside-shortcode-attribute/)
 * Hi,
 * I have a [su_accordion] with a lot of `[su_spoiler]` inside, and all that is 
   embedded inside an `[su_tabs]/[su_tab]` construcion – and that works very well.
 * Now I want to show one ore more country flags inside the `[su_spoiler]` title.
   I found two plugins which should create country flags by shortcodes (Country 
   Flags, SVG Flags). Both work fine in normal text but not inside the `[su_spoiler]`
   title. I tried it like
 * `[su_spoiler title="Some Title [flag country="us"]"]`
 * Obviously there comes up a conflict with the quotation marks.
 * The other plugin doesn’t work even without this conflict:
 * `[su_spoiler title="Some Title [svg-flag]"]`
 * Any suggestions what to do or where to ask?
 * Best regards
    Ulrich
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-inside-shortcode-attribute%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Shortcode inside shortcode attribute?’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [Shortcodes Ultimate - Content Elements](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ulrichgoebel](https://wordpress.org/support/users/ulrichgoebel/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/shortcode-inside-shortcode-attribute/)
 * Status: not resolved