• strarsis

    (@strarsis)


    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

    (@halgatewood)

    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.