Title: shortcode within shortcode problem
Last modified: August 24, 2016

---

# shortcode within shortcode problem

 *  Resolved [beingngang](https://wordpress.org/support/users/beingngang/)
 * (@beingngang)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-within-shortcode-problem-please-help/)
 * Hi, Please look at the site to better understand the problem. I am trying to 
   put a causes shortcake inside a tabs shortcode but it sits on top of the tabs
   instead of inside. I have contacted the theme developer but they won’t do anything.
 * Here is the link to see the problem
 * [http://www.mytrustechtasks.com](http://www.mytrustechtasks.com)
 * Here are the shortcodes I am calling
 * _[WAY too much code to post here – please use a pastebin –
    [http://codex.wordpress.org/Forum\_Welcome#Posting\_Large\_Excerpt\_of\_Code](http://codex.wordpress.org/Forum_Welcome#Posting_Large_Excerpt_of_Code)]

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Tim Nash](https://wordpress.org/support/users/tnash/)
 * (@tnash)
 * Spam hunter
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-within-shortcode-problem-please-help/#post-6030536)
 * Without looking at the code or the site I will go out on a limb and say one of
   your shortcodes is not using the Shortcode API and is trying to do it’s own regex
   which due to a change in the way the Shortcode API works in recent versions of
   WordPress means that some badly coded plugins and themes shortcodes fail (the
   good news is that it means malicious users can no longer trick your site into
   doing bad things).
 * so first step, update to the latest plugins and theme if you haven’t already 
   done so, the next step is to track down which offending shortcode is causing 
   the issue. I’m going to generalise here and while their are some excellent theme
   developers out there, if your theme provides shortcodes that would be where I
   would start.
 * Once you have worked out which is causing the issues contact the developers, 
   it seems you have already reached out to the theme developers so if it is the
   themes shortcode causing issue, you might want to look for an alternate plugin
   that offers the same functionality or consider a new theme.
 *  Thread Starter [beingngang](https://wordpress.org/support/users/beingngang/)
 * (@beingngang)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-within-shortcode-problem-please-help/#post-6030707)
 * Thank you for your reply, it turns out they had to use return and not echo to
   display the output. I fixed it. Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘shortcode within shortcode problem’ is closed to new replies.

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [beingngang](https://wordpress.org/support/users/beingngang/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-within-shortcode-problem-please-help/#post-6030707)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
