• Thanks for this plugin, it works great!

    Unfortunately, it doesn’t work as expected if you have nested ifs. Now the nested [/if] closes the first [if] block and you end up with “[/if]” at the bottom of the page.

    [if …]
    [if …]
    [/if]
    [/if]

    Perhaps an easy solution would be to add something like [if1 …][if2 …][/if2][/if1].

    https://wordpress.org/plugins/if-shortcode/

  • The topic ‘nested ifs’ is closed to new replies.