Nested shortcodes don’t 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 to see the link]
The topic ‘Nested shortcodes don’t work’ is closed to new replies.