Title: Nesting doesn&#8217;t work
Last modified: November 22, 2017

---

# Nesting doesn’t work

 *  [strarsis](https://wordpress.org/support/users/strarsis/)
 * (@strarsis)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/nesting-doesnt-work/)
 * I just tried nesting a text block in another text block.
    In preview of first
   level text block, the other text block is inserted. However, when this text block
   is inserted on a page, the second level text block is not inserted but just its
   shortcode shown…

Viewing 1 replies (of 1 total)

 *  Plugin Author [Hal Gatewood](https://wordpress.org/support/users/halgatewood/)
 * (@halgatewood)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/nesting-doesnt-work/#post-9849279)
 * Do you have the attribute `plain="1"` on your shortcode? I see the same results
   when I add plain which means text only.
 * You can add a filter to run `do_shortcode` on the text:
 *     ```
       function hg_text_blocks_shortcode_html( $content, $atts )
       {
         return do_shortcode($content);
       }
       add_filter('text_blocks_shortcode_html', 'hg_text_blocks_shortcode_html', 10, 3);
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Nesting doesn’t work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/reusable-text-blocks_53c8f2.svg)
 * [Reusable Text Blocks](https://wordpress.org/plugins/reusable-text-blocks/)
 * [Support Threads](https://wordpress.org/support/plugin/reusable-text-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/reusable-text-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reusable-text-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reusable-text-blocks/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Hal Gatewood](https://wordpress.org/support/users/halgatewood/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/nesting-doesnt-work/#post-9849279)
 * Status: not resolved