Title: Shortcode displays wrong gallery
Last modified: September 2, 2016

---

# Shortcode displays wrong gallery

 *  Resolved [wla](https://wordpress.org/support/users/wla/)
 * (@wla)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/shortcode-displays-wrong-gallery/)
 * Users have created several image galleries with different IDs, and the shortcode
   shows the different IDs. But the resulting display always shows the same gallery
   regardless of the shortcode.

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

 *  Thread Starter [wla](https://wordpress.org/support/users/wla/)
 * (@wla)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/shortcode-displays-wrong-gallery/#post-7916753)
 * The problem seems to be that the Shortcode Editor window makes changes to the
   database which do not get made if the Shortcode is edited manually.
    So you CANNOT
   edit the Shortcodes manually. You have to do it in Visual mode.
 *  [Sona](https://wordpress.org/support/users/support-web-dorado/)
 * (@support-web-dorado)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/shortcode-displays-wrong-gallery/#post-8138410)
 * [@wla](https://wordpress.org/support/users/wla/),
 * The shortcode editor allows creating only one shortcode. To create multiple shortcodes
   you need to re-enter the editor to have a brand new shortcode. As for manually,
   you can create and insert different shortcodes with this.
 * Thanks.
 *  Thread Starter [wla](https://wordpress.org/support/users/wla/)
 * (@wla)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/shortcode-displays-wrong-gallery/#post-8138636)
 * The point is that the shortcode editor makes changes to the database that are
   not visible in the text of the shortcode.
    So it is impossible to enter shortcodes
   in Text Mode. In most add-ins, any parameters that need to be set are defined
   in the text of the shortcode but, for Photo Gallery, one may as well ignore the
   text of the shortcode because it has no meaning. The ONLY way to edit is to use
   the shortcode editor.
 *  [Sona](https://wordpress.org/support/users/support-web-dorado/)
 * (@support-web-dorado)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/shortcode-displays-wrong-gallery/#post-8177720)
 * [@wla](https://wordpress.org/support/users/wla/),
 * Yes, we have only shortcode editor option, but you can also go to Generate Shortcode
   section and create the shortcode and copy/paste it if you want to use Text Mode
   only.

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

The topic ‘Shortcode displays wrong gallery’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Sona](https://wordpress.org/support/users/support-web-dorado/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/shortcode-displays-wrong-gallery/#post-8177720)
 * Status: resolved