Shortcode within shortcode
-
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][/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][/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?
The topic ‘Shortcode within shortcode’ is closed to new replies.