Title: Nested Shortcodes
Last modified: August 21, 2016

---

# Nested Shortcodes

 *  Resolved [westchesterdev](https://wordpress.org/support/users/westchesterdev/)
 * (@westchesterdev)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/)
 * Hi,
    I use your excellent plugin to display information into tabs. I also use
   a gorgeous translation plugin called WPML that allows inline translation of strings
   by nesting them into [wpml-string][/wpml-string]
 * Instead of ‘Tab Title’ I would like to insert a translatable string — nested 
   into [wpml-string][/wpml-string]
    I know WP does not go along well with nested
   shortcode and, in effect, it does not work when I write:
 * [su_tab title='[wpml-string]My Translatable String[/wpml-string]’]
    or even [
   su_tab title=[wpml-string]’My Translatable String'[/wpml-string]]
 * Maybe there is another syntax to Shortcodes Ultimate [su_tab] shortcode, maybe
   using TWO parts, with the title parameter outside of the calling shortcode?
 * Please help,
 * S.
 * [http://wordpress.org/plugins/shortcodes-ultimate/](http://wordpress.org/plugins/shortcodes-ultimate/)

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/nested-shortcodes-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/nested-shortcodes-1/page/2/?output_format=md)

 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4187702)
 * Hi S.,
 * from version 4.1.8 you will be able to use shortcodes as an attribute values.
   The only thing you need to do is replace nested square brackets with double underscores.
   Like so:
 *     ```
       [tab title="__wpml-string__ translatable text __/wpml-string__"] ... [/tab]
       ```
   
 *  Thread Starter [westchesterdev](https://wordpress.org/support/users/westchesterdev/)
 * (@westchesterdev)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4187705)
 * Thank you so much Vladimir,
    Your plugin rocks and I will make a donation — promised!!
   Best, S.
 *  Thread Starter [westchesterdev](https://wordpress.org/support/users/westchesterdev/)
 * (@westchesterdev)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4187708)
 * And by the way, do you have an issue date for this version?
 *  Thread Starter [westchesterdev](https://wordpress.org/support/users/westchesterdev/)
 * (@westchesterdev)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4187710)
 * Or can I have access to a beta version already?
 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4187711)
 * No need in donations, you can just buy an add-on and get premium plugin =)
    The
   new version will be released today or maybe tomorrow.
 *  Thread Starter [westchesterdev](https://wordpress.org/support/users/westchesterdev/)
 * (@westchesterdev)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4187716)
 * Add-on? Did not know they existed… And where?
    S.
 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4187734)
 * [http://gndev.info/shortcodes-ultimate/#Addons](http://gndev.info/shortcodes-ultimate/#Addons)
 *  Thread Starter [westchesterdev](https://wordpress.org/support/users/westchesterdev/)
 * (@westchesterdev)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4187737)
 * I get a 403 with a lot of Russian characters…
 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4187743)
 * How about now?
 *  Thread Starter [westchesterdev](https://wordpress.org/support/users/westchesterdev/)
 * (@westchesterdev)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4187745)
 * Now it works ;0)))
 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4187832)
 * Would you like to test beta 4.1.8? =)
    You can grab it from GitHub – [https://github.com/gndev/shortcodes-ultimate](https://github.com/gndev/shortcodes-ultimate)
   Direct download link – [https://github.com/gndev/shortcodes-ultimate/archive/master.zip](https://github.com/gndev/shortcodes-ultimate/archive/master.zip)
 * Download archive, unpack it and rename folder shortcodes-ultimate-master to shortcodes-
   ultimate. Replace original plugin with downloaded files through FTP.
 *  Thread Starter [westchesterdev](https://wordpress.org/support/users/westchesterdev/)
 * (@westchesterdev)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4188005)
 * Hi Vladimir,
    I just updated the plugin to version 4.1.8.
 * Sorry to say but the new feature does not work for me:
    `[su_tab title="__wpml-
   string__ Table of Contents __/wpml-string__"]`
 * displays the full __wpml-string__ Table of Contents __/wpml-string__ sequence
   instead of the expected result.
 * Of course I can send credentials to the website privately if you want to test
   it.
 * Best,
    Stephen
 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4188017)
 * Hi Stephen,
 * the syntax is little changed =)
    [http://gndev.info/kb/how-to-use-another-shortcodes-inside-of-attributes/](http://gndev.info/kb/how-to-use-another-shortcodes-inside-of-attributes/)
 *  Thread Starter [westchesterdev](https://wordpress.org/support/users/westchesterdev/)
 * (@westchesterdev)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4188023)
 * Hi Vladimir,
    So sorry, but still an error and nothing is displayed: `Warning:
   sprintf() [function.sprintf]: Too few arguments in /nas/wp/www/staging/apraksinblues/
   wp-content/plugins/shortcodes-ultimate/inc/core/shortcodes.php on line 75`
 * Here is the code I wrote:
    `[su_tab title="%_wpml-string_% Presentation %_/wpml-
   string_%"]Foo [/su_tab]`
 * Please help,
 * Best,
    Stephen
 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/#post-4188027)
 * Hi Stephen,
 * oops =) Just fixed it and going to release new version in a few hours. The syntax
   is little changed again, sorry for that. I think that **{** and **}** symbols
   is the best way to define shortcode inside of attribute.
 * New syntax: [http://gndev.info/kb/how-to-use-another-shortcodes-inside-of-attributes/](http://gndev.info/kb/how-to-use-another-shortcodes-inside-of-attributes/)

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/nested-shortcodes-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/nested-shortcodes-1/page/2/?output_format=md)

The topic ‘Nested Shortcodes’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [WP Shortcodes Plugin — Shortcodes Ultimate](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/)

 * 18 replies
 * 3 participants
 * Last reply from: [stunnermunya](https://wordpress.org/support/users/stunnermunya/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/nested-shortcodes-1/page/2/#post-4188172)
 * Status: resolved