Have you tried setting the output of the first do_shortcode inside the second call?
$output = do_shortcode('[first_shortcode]Some content[/first_shortcode]');
echo do_shortcode('[second_shortcode]'.$output.'[/second_shortcode]');
Related Posts:
- Custom page template with custom fields
- What is the best way to build home pages with a lot of sections for distributable themes [closed]
- Injecting pre-defined text from custom page template to editor
- Create a variable with string, array or multiple values
- How to move page template files like page-{slug}.php to a sub-directory?
- How to add a checkbox element to attachments editor with example
- How to move page templates to custom folder?
- do_shortcode() doesn’t do shortcodes ;)
- Allow Shortcode in Theme Customizer
- Is it possible to manipulate the list of page templates?
- Can I create customizer setting that can handle plugin shortcode?
- enqueue script for specific shortcode
- Adding items to page template dropdown on Page Edit Screen
- Why does my short code get executed before other content?
- Retrieve the template directory URI via global or get_template_directory_uri() every time?
- Adding Content Areas to Custom Page Template
- Trouble with conditional tags
- Change loop order via form or link (jquery, not URL)
- Returning Variables back into a template
- Page attribute template dropdown not displayed even the syntax is correct
- Why is unfiltered html allowed in custom fields for author / contributor roles?
- What is wrong with this code I have to make a blockquote shortcode
- Do I really need the div class entry?
- Using the theme options to change background
- Take Variables Set in Functions.php and Echo Them Inside My Custom Post Template
- wp_editor() usage in custom meta box
- Where can I access my custom page template?
- WordPress page templates in a directory
- Custom shortcodes not working using __s theme
- Implement content-nosidebar.php / content-leftsidebar.php
- get_page_template returning nothing
- Place the page title into the short code
- How to provide support for [gallery] shortcode?
- Highest number of WordPress Custom Page Templates?
- Custom post fields
- Single Page theme [closed]
- Custom metabox for custom page template
- How to add “Template” option in page attributes panel?
- How do I Add images uploaded in the post to a default custom field
- Custom Field created in add_meta_boxes reappearing itself again in the default Custom Metabox
- How do you replace content generated by custom fields with custom blocks in Block Editor?
- How to display all subpages and short by year
- How to create a custom page(not a template) in a theme
- How to render a custom post type template with custom fields using shortcode
- Sort wp_query by sum of two meta fields
- Template selection area is not visible on page editor sidebar in wordpress twentty sixteen default theme
- how to setup custom content structures
- How can I conditionally show different home page templates based on whether or not the user is logged in?
- Need help with adding templates (archives and sitemap) to WordPress child theme
- do_shortcode() in twentyeleven theme
- How to create first post, fifth post full width, rest in three columns and so on
- How to Manually Code Shortcode?
- Issue On Displaying Pages with Post Name Permalink
- IF Custom field value equals ZERO
- Extract all shortcode data from post into loop variables?
- where is real values of variables?
- Modify available templates (in dropdown)
- Shortcode IF statment help
- Extending custom shortcode to also be called directly from theme PHP pages
- Templates dropdown not appearing using _s theme (underscores)
- Shortcode call not working in WP Template
- Where to put custom page templates in theme?
- Let user to add input fields on theme option page
- Get attachment meta (I need attachment ID, unsure how to find it)
- Custom theme template files
- Is it possible to have a Theme with built-in physical page files?
- Trouble in creating a custom template on twentyeleven theme
- Add image URL automatically to custom field?
- WordPress Shortcodes – Optional Styles
- Hide/disable sidebar using shortcode?
- Custom search template is showing 404 when adding query string
- ACF get_sub_field ALT TAG in the repeater doesn’t show
- How can I add a field for featured image on backend of a custom Taxonomy?
- wordpress script_loader_tag in function.php
- A Reviews Page is Showing root Index.php instead of Template-Page
- Local variable name in setup_postdata()
- Show Yoast SEO meta tags in Custom WordPress Templates (Theme)
- How to show metabox on page if it is using a template
- Avoiding do_shortcode() loops
- how to edit woocommerce checkout page
- Group several custom global page templates in sub-folder
- I want to change the author name
- Make a custom field in admin post.php read only
- Different stylesheet for different pages not working fully
- Using ACF Custom Field value in a URL with do_shortcode() [closed]
- Best way to access variables in template markup
- Can you create a custom page with content in the center already defined?
- How Does One Create a Global Variable Repository
- How can I put a custom field as the link of a button shortcode?
- Add custom field to existing meta box?
- Passing a location-dependent array via wp_localize_script within a shortcode
- Paginated WP_Query doesn’t return 404’s, even when posts don’t exist
- Problem using $var for shortcode attr value
- Loop inside page template not working
- Add Field To All Pages
- How can i display a 4 diferent themplate for the archive page
- why my WordPress theme doesn’t support shortcode? [closed]
- DIV containing iframe disappears below break point of 992 in Oxygen Builder
- Is there a way to have WordPress autodetect page templates in the page-templates directory and any sub-folders?
- What is the point of using the front-page.php template? [closed]