Title: Shortcode within shortcode
Last modified: August 30, 2016

---

# Shortcode within shortcode

 *  [ovbg](https://wordpress.org/support/users/ovbg/)
 * (@ovbg)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-within-shortcode-2/)
 * Hello, I have a plug-in that creates a shortcode which I place in my wordpress
   website for rotating ads.
 * The developer has just stumbled upon a problem where it stops working because
   the shortcode it seems is inside another shortcode. In this case, I have tabs.
 * Is this a major issue, or is there an easy work around? It goes something like
   this…
    (I’ve abbreviated the shortcode as it contains information from other 
   companies I don’t have the right to publish here, and of course, there is loads
   of other stuff in the tabs)
 * [tab]
    <div id=”eod-block” style=’width:550px’;> [eod_head][/eod_head][eod] [
   eod_js][](https://wordpress.org/support/topic/shortcode-within-shortcode-2/http........{this is the shortcode).........omo_125x125.gif?output_format=md)[/
   eod_js][/eod] </div> (lots of other content in tab} [/tab]
 * [tab]
    <div id=”eod-block” style=’width:550px’;> [eod_head][/eod_head][eod] [
   eod_js][](https://wordpress.org/support/topic/shortcode-within-shortcode-2/http.......(This is the shortcode)..........omo_125x125.gif?output_format=md)[/
   eod_js][/eod] </div> (lots of other content in tab} [/tab]
 * Each shortcode is for random ads, and they are slightly different in each tab…
 * My developer says that it is very difficult to fix, and one option is to try 
   to fix it and allow recognition of shortcodes but he is not sure he can, the 
   other is to do do away with short codes and rewrite the whole thing for HTML.
 * I have to choose one, but I don’t know which. Is there any advise that can be
   given?

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

 *  Moderator [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-within-shortcode-2/#post-6286649)
 * Most tab plugins should enable shortcodes inside the tab shortcodes, and I would
   be surprised that one has omitted this as it is not difficult to add this support
   to a plugin.
 * First check you are using the shotcodes correctly. If your usage is correct, 
   but your tabs plugin does not support shortcodes within the tab content, you 
   might want to try a different tabs plugin. There are plenty to choose from, but
   I can confirm that mine, [Tabby Responsive Tabs](https://wordpress.org/plugins/tabby-responsive-tabs/),
   does support shortcodes within tab content.
 *  Thread Starter [ovbg](https://wordpress.org/support/users/ovbg/)
 * (@ovbg)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-within-shortcode-2/#post-6286653)
 * Thanks cubecolour. The tabs was included as part of a theme I bought. I’ll contact
   the developer as well and ask them.
 * There does seem to be an issue regarding shortcodes in this theme’s tabs.

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

The topic ‘Shortcode within shortcode’ 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: [ovbg](https://wordpress.org/support/users/ovbg/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-within-shortcode-2/#post-6286653)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
