Title: Shortcodes executing in wrong order
Last modified: August 20, 2016

---

# Shortcodes executing in wrong order

 *  Resolved [yikidu12](https://wordpress.org/support/users/yikidu12/)
 * (@yikidu12)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/shortcodes-executing-in-wrong-order/)
 * Hey guys,
    I’m using this plugin, and it works but the nested shortcodes are 
   executing in the wrong order. This is what I have
 * `[do action="section"]here is some [do action="span"]text[/do] and this is the
   rest[/do]`
 * but what is written out is
 * `<section>here is some <span>text</section> and this is the rest</span>`
 *  Anything I can do to fix this?
 * [http://wordpress.org/extend/plugins/nested-shortcodes/](http://wordpress.org/extend/plugins/nested-shortcodes/)

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

 *  Plugin Author [Outerbridge](https://wordpress.org/support/users/outerbridge/)
 * (@outerbridge)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/shortcodes-executing-in-wrong-order/#post-3273569)
 * Hi
 * Which plugin are you getting the “do” shortcode from, as I suspect that nesting
   this inside itself is causing the problem?
 *  Thread Starter [yikidu12](https://wordpress.org/support/users/yikidu12/)
 * (@yikidu12)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/shortcodes-executing-in-wrong-order/#post-3273576)
 * Hey,
    I’m using the shortcodes pro plugin, which is supposed to support nested
   shortcodes but it does not. I have fixed the plugin, I am going to clean up my
   additions and add my solution to their support section, where others have run
   into this issue too. Your plugin works perfectly when I tested it outside of 
   that plugin, so definitely not a problem with your plugin. Thanks for the quick
   response.

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

The topic ‘Shortcodes executing in wrong order’ is closed to new replies.

 * ![](https://ps.w.org/nested-shortcodes/assets/icon-256x256.png?rev=1650586)
 * [Nested Shortcodes by Outerbridge](https://wordpress.org/plugins/nested-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nested-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nested-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/nested-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nested-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nested-shortcodes/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [yikidu12](https://wordpress.org/support/users/yikidu12/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/shortcodes-executing-in-wrong-order/#post-3273576)
 * Status: resolved