Support » Plugin: Standout Color Boxes and Buttons » Feature-Request: nested color-boxes

  • Resolved HealingChimeAudio


    I love the simplicity of this plugin. It works really great and has a light structure I admire in a plugin. This is more of a feature request:

    I would love to be able to nest color boxes and my attempts thus far have failed. For example I could create a large box container and have a smaller box inside to feature some content. Let me know if this idea fits with the vision and usability of the plugin.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author jp2112


    I’m afraid not, see

    This is a limitation of the context-free regexp parser used by do_shortcode() – it is very fast but does not count levels of nesting, so it can’t match each opening tag with its correct closing tag in these cases

    Ok thanks for the response. I see its more of an issue of how shortcodes are translated than anything else. Probably supplying a parameter like an ID value would not help sort out where one shortcode ends inside anther callout.


    Plugin Author jp2112


    That article is pretty unequivocal. I’m sure if there was a way to do it, it would have said so.

    well I suppose I could create a second version of the plugin with a different name 🙂

    or we could just create a specification for the inner and outer with two separate shortcode calls:


    So yes, it does seem impossible given the limitation of one shortcode to do it all, but it is not impossible to create multiple shortcodes within one plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Feature-Request: nested color-boxes’ is closed to new replies.