Title: Bug found with generated shortcode
Last modified: August 30, 2016

---

# Bug found with generated shortcode

 *  Resolved [babouz44](https://wordpress.org/support/users/babouz44/)
 * (@babouz44)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/bug-found-with-generated-shortcode/)
 * Hello,
    I found a bug… I had created a new gallery and then, I wanted to assign
   her to a new page. So in the category gestion, I cliked on “generate new page”.
   Then i created a menu link to this page but no images were shown… I edited this
   page and I saw that the shortcode generated was “[nggallery id=”4”] I just removed
   the quotation marks and now image gallery appear…
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

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

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/bug-found-with-generated-shortcode/#post-6543457)
 * [@babouz44](https://wordpress.org/support/users/babouz44/) – You seem to be describing
   an issue seen with “smart” quotes which will cause many plugin shortcodes to 
   fail.
 * I would suggest always writing the shortcode out (as in do not copy and paste
   the shortcode) as well as using the Text tab of the TinyMCE editor to enter them
   as well.
 * Thanks!
 * – Cais.
 *  Thread Starter [babouz44](https://wordpress.org/support/users/babouz44/)
 * (@babouz44)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/bug-found-with-generated-shortcode/#post-6543611)
 * Hello,
    you were right. I disabled smart quotes in functions.php and it seems
   to work again. I never had this issue before… Anyway, thank you for the help !
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/bug-found-with-generated-shortcode/#post-6543613)
 * [@babouz44](https://wordpress.org/support/users/babouz44/) -Thanks for the update!
 * – Cais.

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

The topic ‘Bug found with generated shortcode’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [gallery](https://wordpress.org/support/topic-tag/gallery/)
 * [generated](https://wordpress.org/support/topic-tag/generated/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 3 replies
 * 2 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/bug-found-with-generated-shortcode/#post-6543613)
 * Status: resolved