Title: Nested shortcodes don&#8217;t work
Last modified: September 27, 2021

---

# Nested shortcodes don’t work

 *  Resolved [brunoairam](https://wordpress.org/support/users/brunoairam/)
 * (@brunoairam)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/nested-shortcodes-dont-work/)
 * Hi there,
 * I have this shortcode:
 * [sc name=”MMB – Les couleurs – 03″]
 * Which is basically the only content of a lesson custom post (we have a Learning
   Management System).
    And this is the content of the shortcode:
 *     ```
       [vc_row][vc_column][vc_message color="info" message_box_style="solid-icon"][sc name="Age mini activite"]
       <br>
       <p style="text-align: center;"><strong>2 ans ½ </strong></p>
       [/vc_message][/vc_column][/vc_row]
       [vc_row][vc_column][mk_ornamental_title font_family="none" font_size="20" ornament_style="rovi-double" ornament_color="#a4d65e"]Objectifs de l'activité[/mk_ornamental_title][/vc_column][/vc_row][vc_row][vc_column][vc_column_text css=".vc_custom_1537456604162{margin-bottom: 0px !important;}"]<img class="size-full wp-image-5449 aligncenter" src="https://www.formationairammontessori.com/wp-content/uploads/2015/12/image-1ere-boite-de-couleur-site.png" alt="image-1ere-boite-de-couleur-site" width="175" height="185" />[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vc_video link="https://soundcloud.com/user-763505726/mmb-boites-de-couleurs-intro-01/s-waCXk" el_class="soundcloud"][/vc_column][/vc_row][vc_row][vc_column][vc_column_text css=".vc_custom_1541430666068{margin-bottom: 0px !important;}"]<em>Lors de votre présentation de la première boîte des couleurs, vous pourrez choisir de nommer ou non, les couleurs. </em>
   
       <em>L'idée dans un premier temps est de permettre le développement du sens visuel chromatique. L’enfant devra simplement répéter après l’adulte le nom des couleurs en effectuant les mises en paires des tablettes/plaquettes. Donc une leçon en 3 temps pour cette première présentation n'est pas systématique.</em>[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vc_zigzag color="custom" el_width="30" css=".vc_custom_1511795125182{margin-top: 40px !important;margin-bottom: 40px !important;}" custom_color="#a7da36"][mk_ornamental_title font_family="none" font_size="20" ornament_style="rovi-double" ornament_color="#a4d65e"]La première boite de couleurs[/mk_ornamental_title][/vc_column][/vc_row][vc_row][vc_column][vc_video link="https://soundcloud.com/user-763505726/boite-de-couleurs-mmb-02-new/s-Em5j2" el_class="soundcloud"][/vc_column][/vc_row]
       ```
   
 * You can see it uses WPBakery Visual Composer. It works great as is. I use shortcoder
   version 4.6. You can also notice there’s a shortcoder shortcode in this content
   at the top: [sc name=”Age mini activite”]. Again, works perfectly fine with the
   4.6 version.
 * But since 5.0 version, every time there’s a new shortcoder release I attempt 
   to upgrade. Every time I’m disappointed to notice the nested shortcode no longer
   works. Meaning:
 * The [sc name=”Age mini activite”] is just blank on the front-end.
 * So every time I roll back to the 4.6 shortcoder version :(. Are you planning 
   to make the new shortcoder version compatible with nested shortcodes?
 * Thanks a lot for this great plugin which was very useful up to 4.6 version for
   us ;)!
 * Bruno
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fnested-shortcodes-dont-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [vaakash](https://wordpress.org/support/users/vaakash/)
 * (@vaakash)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/nested-shortcodes-dont-work/#post-14921806)
 * Hi [@brunoairam](https://wordpress.org/support/users/brunoairam/),
 * Sorry for the late reply.
 * In version 5.0+ the shortcode content can have another “shortcoder shortcode”
   there is no restriction.
 * Instead of `[sc name="Age mini activite"]` can you please copy the shortcode 
   from the admin GUI and paste it ? it should be something like this with hyphens`[
   sc name="age-mini-activite"]`
 * In v5.0 all shortcodes with spaces are migrated to ones with hypens. But it is
   not necessary to make this change, shortcoder will automatically pick the old
   shortcode even though you have used name without quotes. But you can give a try
   manually.
 * Please let me know how it goes.
 * Thanks,
    Aakash
 *  [pb75](https://wordpress.org/support/users/pb75/)
 * (@pb75)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/nested-shortcodes-dont-work/#post-14933417)
 * Hi,
    I have a big problem with this change of supporting no spaces. I use the
   Plugin ADRotate Pro, and it creates shortcodes like this: [adrotate group=”5″]
 * I nest these shortcodes in other shortcodes from your plugin. But this does not
   work anymore and It’s not possible to change the adrotate shortcodes.
 * It does kill most of my pages content, because when such a shortcode is displayed,
   the rest of the content of the page is missing.
 * Is there a way to support spaces again or downgrade temporary?
 * best regards
    Patrick
 *  [pb75](https://wordpress.org/support/users/pb75/)
 * (@pb75)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/nested-shortcodes-dont-work/#post-14933438)
 * Hi,
    sorry, I was wrong. It was not this problem. But there is something broken
   with shortcodes on my site. Even when I disable a specific shortcode, it breaks
   the flow of my page content and the rest of the text after the shortcode is not
   displayed anymore. I have no idea what the problem is. Can you help me please?
 * Thanks,
    Patrick
 *  Plugin Author [vaakash](https://wordpress.org/support/users/vaakash/)
 * (@vaakash)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/nested-shortcodes-dont-work/#post-14933661)
 * Hi Patrick,
 * There shouldn’t be any need to downgrade.
 * Can you please share a screenshot of post content and point me out what is not
   working ?
    Please do share a screenshot of Shortcode content of necessary.
 * Thanks,
    Aakash
 *  [pb75](https://wordpress.org/support/users/pb75/)
 * (@pb75)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/nested-shortcodes-dont-work/#post-14934575)
 * Hi Aakash,
    This is really strange. Today I checked again and everything was 
   good. But yesterday it was not (different Browsers, Devices, ets.) I can’t reproduce
   the problem today. So everything is good. 🙂 Thanks and sorry, Patrick
 *  Plugin Author [vaakash](https://wordpress.org/support/users/vaakash/)
 * (@vaakash)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/nested-shortcodes-dont-work/#post-14934626)
 * Cheers ! NP.

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

The topic ‘Nested shortcodes don’t work’ is closed to new replies.

 * ![](https://ps.w.org/shortcoder/assets/icon.svg?rev=2222236)
 * [Shortcoder — Create Shortcodes for Anything](https://wordpress.org/plugins/shortcoder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcoder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcoder/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcoder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcoder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcoder/reviews/)

## Tags

 * [nested](https://wordpress.org/support/topic-tag/nested/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 6 replies
 * 3 participants
 * Last reply from: [vaakash](https://wordpress.org/support/users/vaakash/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/nested-shortcodes-dont-work/#post-14934626)
 * Status: resolved