Title: nested asides?
Last modified: August 22, 2016

---

# nested asides?

 *  Resolved [8bar](https://wordpress.org/support/users/8bar/)
 * (@8bar)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/nested-asides/)
 * Thanks for the great plugin! I was hoping to nest a note inside of a note, but
   it doesn’t seem to work. Something like:
 *     ```
       [aside type="note" status="closed" show="details" hide="Hide %s"]
         ...content...
         [aside type="note" status="closed" show="more details" hide="Hide %s"]
           ...more content...
         [/aside]
       [/aside]
       ```
   
 * Any suggestions on making this work?
 * [https://wordpress.org/plugins/bns-inline-asides/](https://wordpress.org/plugins/bns-inline-asides/)

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

 *  Plugin Author [Edward Caissie](https://wordpress.org/support/users/cais/)
 * (@cais)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/nested-asides/#post-5560143)
 * [@8bar](https://wordpress.org/support/users/8bar/) – Great question and it would
   be quite interesting to apply but unfortunately it is a deficit within WordPress
   that you cannot nest this type of shortcode within itself.
 * Although you can nest other shortcodes within `[aside]` (I do it quite often)
   you cannot nest an `aside` inside of an `aside` due to how WordPress parses shortcodes
   as a single pass function. See the Shortcode API references under [http://codex.wordpress.org/Shortcode_API#Nested_Shortcodes](http://codex.wordpress.org/Shortcode_API#Nested_Shortcodes)
 * Now, that does not mean to say you could not create something to accomplish the
   same goal. Simply create a second shortcode that copies the first and call it,
   for example, `aside-nested`
 * Although not really recommended a quick “hack” of the current version of the 
   plugin will work if you add the following after the current `add_shortcode`
 * `add_shortcode( 'aside-nested', array( $this, 'bns_inline_asides_shortcode' ));`
 * It’s not fully tested but a quick test of this seems to work well enough, it 
   just won’t be update safe although I will see if I can sort out a way to make
   it possible to be update safe.
 *  Plugin Author [Edward Caissie](https://wordpress.org/support/users/cais/)
 * (@cais)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/nested-asides/#post-5560156)
 * PS: Have a look at this extension to BNS Inline Asides … [https://github.com/Cais/bns-asides-extended](https://github.com/Cais/bns-asides-extended)
 * You can follow the above idea of using `[aside-nested]` but now it should be 
   update safe if you put the extension into use.
 * ~Cais.
 *  Thread Starter [8bar](https://wordpress.org/support/users/8bar/)
 * (@8bar)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/nested-asides/#post-5560164)
 * Thanks for your terrific support!
 *  Plugin Author [Edward Caissie](https://wordpress.org/support/users/cais/)
 * (@cais)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/nested-asides/#post-5560175)
 * [@8bar](https://wordpress.org/support/users/8bar/) – Glad to help. It’s not really
   the solution I was looking for but it will definitely do the job in the interim.
   Thanks for the enhancement idea!
 * ~Cais.

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

The topic ‘nested asides?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bns-inline-asides.svg)
 * [BNS Inline Asides](https://wordpress.org/plugins/bns-inline-asides/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bns-inline-asides/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bns-inline-asides/)
 * [Active Topics](https://wordpress.org/support/plugin/bns-inline-asides/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bns-inline-asides/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bns-inline-asides/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [Edward Caissie](https://wordpress.org/support/users/cais/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/nested-asides/#post-5560175)
 * Status: resolved