How to fix the short-code to read "quick-tabs…" instead of "quick-tab…"
-
There’s a tiny bug in the file “quick-tabs/tpls/tab-groups.php”. When you create a tab group, the shortcode that the plugin creates is the following:
[quick-tab tab_group=x]
What you need is:
[quick-tabs tab_group=x]
Here’s how to change the code in the file to insert the “s” into the word “tabs” so the shortcode will work properly.
Go to the plugin editor, and select the file “quick-tabs/tpls/tab-groups.php” and find the line that includes:
place the shortcode anywhere inside page or post content <input type="text" size="25" style="text-align: center;" readonly="readonly" onfocus="this.select()" onclick="this.select()" value="[quick-tab tab_group=<?php echo $tg['id'];?>]">
Simply add an “s” to the word “quick-tab” and make it “quick-tabs” (without the quotes, of course.)
- The topic ‘How to fix the short-code to read "quick-tabs…" instead of "quick-tab…"’ is closed to new replies.