Title: Shortcode insertion broken
Last modified: January 16, 2019

---

# Shortcode insertion broken

 *  Resolved [thpani](https://wordpress.org/support/users/thpani/)
 * (@thpani)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/shortcode-insertion-broken/)
 * When I use the “Add Photo Gallery” button on top of the editor, it sometimes 
   fails to generate a shortcode.
 * Instead of the shortcode I would expect, e.g.
 * `[Best_Wordpress_Gallery id="14" gal_title="ProgrammHighlights19"]`
 * it puts the following HTML:
 * `<img class="bwg_shortcode mceItem" title="Best_Wordpress_Gallery id=&quot;9&
   quot; gal_title=&quot;ProgrammHighlights19&quot;" src="https://.../wp-content/
   plugins/photo-gallery/images/icons/gallery-icon.png" />`
 * I’m using version 1.5.14 (WordPress 4.9.9).
    -  This topic was modified 7 years, 4 months ago by [thpani](https://wordpress.org/support/users/thpani/).

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

 *  Plugin Support [Kima Baghdasaryan](https://wordpress.org/support/users/kimabaghdasaryan/)
 * (@kimabaghdasaryan)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/shortcode-insertion-broken/#post-11098961)
 * Hi,
 * Please note that the latest version of the WordPress is 5.0.3. Please update 
   the WordPress and let us know if the issue is still there.
 * Thank you in advance!
 * Have a nice day!
 *  Thread Starter [thpani](https://wordpress.org/support/users/thpani/)
 * (@thpani)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/shortcode-insertion-broken/#post-11148298)
 * Just upgraded to WordPress 5.0.3 and the issue above persists.
 *  Plugin Support [Kima Baghdasaryan](https://wordpress.org/support/users/kimabaghdasaryan/)
 * (@kimabaghdasaryan)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/shortcode-insertion-broken/#post-11148354)
 * Hi,
 * May we ask you to provide a screenshot of your described issue?
 * Thank you in advance!
 * Have a nice day!
 *  Thread Starter [thpani](https://wordpress.org/support/users/thpani/)
 * (@thpani)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/shortcode-insertion-broken/#post-11158105)
 * Sorry, I don’t see how a screenshot would help, my original problem description
   is pretty comprehensive.
    This issue has been reported before, and apparently
   is not yet fixed: [https://wordpress.org/support/topic/gallery-doesnt-display-2/](https://wordpress.org/support/topic/gallery-doesnt-display-2/)
 *  Plugin Support [Kima Baghdasaryan](https://wordpress.org/support/users/kimabaghdasaryan/)
 * (@kimabaghdasaryan)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/shortcode-insertion-broken/#post-11160054)
 * Hi,
 * Please note that this issue has been already fixed.
 * In order to be able to reproduce your current issue, please provide the list 
   of your Plugins and Theme on your Website.
 * Thank you in advance!
 * Have a nice day!

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

The topic ‘Shortcode insertion broken’ is closed to new replies.

 * ![](https://ps.w.org/photo-gallery/assets/icon-256x256.png?rev=2068745)
 * [Photo Gallery by 10Web - Mobile-Friendly Image Gallery](https://wordpress.org/plugins/photo-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photo-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/photo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photo-gallery/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Kima Baghdasaryan](https://wordpress.org/support/users/kimabaghdasaryan/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/shortcode-insertion-broken/#post-11160054)
 * Status: resolved