dimanche 28 décembre 2014

Nested Wordpress Shortcodes of Different Types


How would you do a shortcode wrapper that can differentiate between different nested shortcodes.



[teaching_tool_wrapper param1="true" param2="false"]
[chord param1="something"]
[scale param1="something-else"]
[/teaching_tool_wrapper]


I have it working fine with just the [chord] shortcode, however i'm not sure how to get the wrapper differentiating between the two different types of nested shortcodes.





Aucun commentaire:

Enregistrer un commentaire