• Hi,

    The nested shortcodes syntax is a great idea. An underscore before each one and I can have spoilers within spoilers! Beautiful.

    But there’s a problem. WordPress, at least the version I’m using, doesn’t recognize an underscore followed by a backslash as an actual closing tag. So it throws some closing tags of its own at the root level, screwing up the shortcodes.

    I was able to fix this by going to my default-filters.php file and commenting out the “balance tags” filter. And I’ll make a plugin to do that so it survives WP updates.

    Now it works perfectly.

    But maybe you should change the syntax? What if the underscore came after the backslash, so that WP recognized it as a closing tag?

    Thanks!

    https://www.ads-software.com/plugins/shortcodes-ultimate/

Viewing 2 replies - 1 through 2 (of 2 total)
  • +1 to this. I’m unwilling to comment out my balance tags filter, so I’m stuck without the ability to nest columns. Would LOVE to see a solution posted here!

    um, YES PLEASE … not very savvy in PHP and would really just like this to work as advertised in CSS only. thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Nested shortcodes syntax problem’ is closed to new replies.