wp-shortcake / shortcake

Shortcake makes using WordPress shortcodes a piece of cake.
GNU General Public License v2.0
664 stars 142 forks source link

Nested Shortcodes #701

Open ChrisFlannagan opened 7 years ago

ChrisFlannagan commented 7 years ago

Hi, I work for FlowPress, a WordPress agency. We are wanting to get shortcake or something like it into our library of shortcode components. The first thing we noticed when setting it up is the lack of nested shortcodes support. Is this something that's ever been discussed or has any intention of being implemented? If not we are thinking we'd fork shortcake and try to build it out (and happily contribute back here if wanted). Just curious what the history of discussion on implementing support for nested shortcodes might be here.

mariodabek commented 7 years ago

I would also be interested in this functionality, any word on this support coming in future releases ?

khromov commented 7 years ago

This has been discussed before: https://github.com/wp-shortcake/shortcake/issues/129

The core issue is that the regex for handling Shortcodes makes this very hard. Although not impossible. There are also other things in flux like the proposed changes to the shortcode format.

https://make.wordpress.org/core/2015/10/08/shortcode-roadmap-draft-three/

I wouldn't count on this being added any time soon.

dmacelancs commented 7 years ago

This would be very useful... I'm working with non-technical users at a school and this would be a perfect solution for things like nesting images in sections etc...

Did anyone get around to having a crack at it?