[Resolved] [Plugin: Post UI Tabs] support for nested shortcodes?
This is a great plugin – thank you.
I had to pull in some tabs via a shortcode recently, and found that the only way to make sure the plugin tabified them as normal was to force the has_tabs property to true (thanks for making that public), because the first shortcode needed to be parsed before the page contained ‘[end_tabset]’ (if that makes sense), and ‘on_the_posts’ only checks the plain $content of the $posts.
Might you consider adding a filter inside ‘on_the_posts’ to assign has_tabs, passing in $content so developers could do any shortcode parsing etc they wanted, to decide whether there are tabs or not?
$this->has_tabs = apply_filters( 'put_decide_has_tabs', $this->has_tabs, $content );
towards the end?
I would send this in Trac but I’m no good with it and can’t find this plugin in the dropdown.
- The topic ‘[Resolved] [Plugin: Post UI Tabs] support for nested shortcodes?’ is closed to new replies.