Basically, nested shortcodes should not be used. As you say it ends as being too complex for an author to write one and therefor it will be too complex to understand and modify.
A better approach to such things is either insert a menu with a shortcode, or generate the accordion dynamically based on a specific HTML element (h2 for example)
Related Posts:
- How to prevent shortcode preview from breaking in tinymce editor?
- What makes a placeholder resizable in Tinymce?
- Using wp_editor in shortcode
- How to add multiple buttons to TinyMCE?
- Tinymce – How to hook before or after live shortcodes rendering?
- Shortcode perfomance solution
- TinyMCE popup windows using WP functions
- How to prevent tinymce macro from inserting nbsp;?
- Tinymce shortcodes within shortcode contents
- TinyMCE get selected text and underlying HTML
- Is it possible to add a repeater field to TinyMCE’s option window?
- How do I preview the result of a shortcode in the TinyMCE editor?
- Tinymce list of shortcodes button
- How to type shortcode-like text in WordPress TinyMCE visual editor?
- Preserve shortcode content formatting
- Custom Shortcode: define cursor position/insertion point?
- Asynchronously render shortcodes in TinyMCE visual editor
- Documentation for adding a tinyMCE view for visual live preview of custom shortcode?
- Adding a colorbutton in tinymce dialog with current api
- wp_editor in thickbox
- How to protect parts of my code from TinyMCE modification when switching from text to visual mode?
- Placing tags on wordpress visual editor using shortcodes
- Pass data back to TinyMCE from Thickbox
- Shortcode from admin textarea to page
- tinymce custom button
- Why can’t I type [ ] opening and closing brackets on the Visual tab?
- Output html source tags inside shortcode
- How to print [embed] code in wordpress [duplicate]
- Conditionally Loading JavaScript/CSS for Shortcodes
- Show shortcode without executing it
- Run visual composer code in php page
- Remove wptexturize from a shortcode?
- Using shortcode in Post title
- Shortcodes, HTML tables, and multiple rows
- Audio or playlist shortcode condition according to the amount of files on attachment page
- Does a shortcode with a single attribute have to use an array?
- Use [shortcode=”value”] instead of [shortcode att=”value”]?
- I dont want to show shortcode in tag
- Post loop created via shortcode not displaying shortcode in content
- Pass shortcode variables to template
- passing multiple parents value into a shortcode
- Deprecated TinyMCE API call: windowManager.createInstance(..)
- wordpress 3.5 tinymce height
- Shortcodes: Pros and Cons
- esc_attr not working in shortcode
- Raw output (preventing wpautop)
- Conditionally loading Facebook PHP SDK in shortcode
- Can’t understand $atts in functions?
- Are .MP3 files with capital letter extensions allowed in [audio] shortcode?
- How to handle shortcodes when using the JSON API
- Are shortcode functions applied while rendering the content, or are they executed and stored with the post content?
- is_admin() returns false in save_post hook with Gutenberg editor
- Get Posts shortcode plugin and meta_query?
- possibility to control embedded video timeline with buttons and links external to the player
- WordPress Gallery shortcode: Display one category ID only
- How to get gallery id inserted to a post?
- WordPress Shortcode show database row
- Custom shortcode is not working in text widget
- Use shortcodes in terms description? [closed]
- Adding to the_content or a variable from within a shortcode function
- Shortcode: text content ends up outside html tags
- Create a shortcode to use in visual editor
- Basic do shortcodes question
- What is this format called (nested shortcodes)?
- Problem with height in video shortcode
- Shortcode not showing $content in correct place
- Best tools for preparing and styling a table [closed]
- Best way to include reusable sections in page content
- How can I insert a shortcode in the title tag of another?
- How to execute a shortcode outside the post content/entry in a theme?
- Metabox Keeps Stripping Parts of Shortcode
- Form processing: How to process form before output and access data from shortcode
- How to Retrieve data of Gallery Shortcode and display it above a post
- Checking post content for a shortcode, but content is being returned as empty
- Adding my own custom woocommerce shortcode to child theme, how?
- contact form 7 :create shortcode usable in email message [closed]
- How to add shortcode to show/hide press releases?
- Better way to display multiple plugin output on the same page?
- get_queried_object_id / short code returning blank
- Shortcode won’t take into account custom post ID put in parameter
- How to utilise multiple values from a single shortcode attribute?
- JavaScript missing from shortcode content
- wp_link_pages shortcode for ‘nextpagelink’
- Function in a wordpress shortcode
- nested shortcodes from different plugins. too complex? [duplicate]
- Use Shortcode on Custom Page
- WordPress Database Error using $wpdb->get_results()
- Shortcode or Template Page
- Shortcode for External HTML
- How to implement theme shortcodes in text outside of pages?
- Shortcode with multiple variables
- Shortcode Attribute
- Can’t get default values to work with custom shortcode
- Question about do_shortcode
- How create a shortcode with html
- Adding shortcode [closed]
- do_shortcode autommatic content generation
- Enclosing shortcodes create line breaks
- Add the results of a custom query into a do_shortcode
- Using $variable in shortcode