Title: shortcodes generator generates wrong code in compatibility mode
Last modified: August 20, 2016

---

# shortcodes generator generates wrong code in compatibility mode

 *  Resolved [mll](https://wordpress.org/support/users/mll/)
 * (@mll)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/shortcodes-generator-generates-wrong-wrong-code-in-compatibility-mode/)
 * E.g, the spoiler code generator gives :
    `[gn_accordion][spoiler] content [/spoiler][/
   gn_accordion]` Notice the missing “gn_” in the “[spoiler]” part ?
 * Also, this would be really great if, while compatibility mode is on, to have 
   the code in “Settings” > “Shortcodes” > “Shortcode” tab > “Usage” column change
   accordingly. For example, to have
 * > [gn_heading] Content [/gn_heading]
   >  [gn_heading style=”2″] Content [/gn_heading]
 * instead of
 * > [gn_heading] Content [/gn_heading]
   >  [gn_heading style=”2″] Content [/gn_heading]
 * [http://wordpress.org/extend/plugins/shortcodes-ultimate/](http://wordpress.org/extend/plugins/shortcodes-ultimate/)

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

 *  Thread Starter [mll](https://wordpress.org/support/users/mll/)
 * (@mll)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/shortcodes-generator-generates-wrong-wrong-code-in-compatibility-mode/#post-3215362)
 * This was fixed in previous versions IIRC.
 * it would be really cool in version 4 could add the compativility prefix (now 
   su_ instead of gn_) in all code samples (editor button and settings example).
 * Thanks
 *  Thread Starter [mll](https://wordpress.org/support/users/mll/)
 * (@mll)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/shortcodes-generator-generates-wrong-wrong-code-in-compatibility-mode/#post-3215363)
 * Also : it seems that in compatibility mode, live examples do not work.
 * Also, still in compatibility mode, the button to insert tabs forgets to add su_
   on some places. Example :
 *     ```
       [su_tabs][tab title="Title 1"]Contenu 1[/tab]
       [tab title="Title 2"]Contenu 2[/tab]
       [tab title="Title 3"]Contenu 3[/tab][/su_tabs]
       ```
   
 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/shortcodes-generator-generates-wrong-wrong-code-in-compatibility-mode/#post-3215364)
 * Fixed in 4.1.0
 *  Thread Starter [mll](https://wordpress.org/support/users/mll/)
 * (@mll)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/shortcodes-generator-generates-wrong-wrong-code-in-compatibility-mode/#post-3215365)
 * Thank you

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

The topic ‘shortcodes generator generates wrong code in compatibility mode’ is closed
to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [Shortcodes Ultimate - Content Elements](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [mll](https://wordpress.org/support/users/mll/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/shortcodes-generator-generates-wrong-wrong-code-in-compatibility-mode/#post-3215365)
 * Status: resolved