Title: WordPress Gallery Shortcode Not Working
Last modified: July 6, 2024

---

# WordPress Gallery Shortcode Not Working

 *  Resolved [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * (@wordpresssites)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/wordpress-gallery-shortcode-not-working-2/)
 * Hi
 * Just switched over from a very old theme and all my [gallery] shortcodes not 
   working. Anyone else experience this issue?

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

 *  Moderator [jordesign](https://wordpress.org/support/users/jordesign/)
 * (@jordesign)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/wordpress-gallery-shortcode-not-working-2/#post-17874494)
 * Hey [@wordpresssites](https://wordpress.org/support/users/wordpresssites/) in
   the content of pages where the [gallery] shortcodes are located – has the content
   been converted over to blocks (so the shortcode is in a shortcode block itself)?
 * If you could share a link to an example page that would also help with taking
   a look.
 *  Thread Starter [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * (@wordpresssites)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/wordpress-gallery-shortcode-not-working-2/#post-17874552)
 * G’day Gordon. There’s hundreds i need to convert to blocks. [Link](https://wpsites.net/wordpress-tutorials/wc-bookings-date-picker-buttons-to-set-number-of-duration-days/)
 *  Thread Starter [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * (@wordpresssites)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/wordpress-gallery-shortcode-not-working-2/#post-17874970)
 * Worked out a temporary solution using code however still interested to know if
   the gallery shortcodes can be converted from classic to blocks without bulk converting
   posts to blocks.
 *  Moderator [jordesign](https://wordpress.org/support/users/jordesign/)
 * (@jordesign)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/wordpress-gallery-shortcode-not-working-2/#post-17885071)
 * Hey [@wordpresssites](https://wordpress.org/support/users/wordpresssites/) – 
   glad you found a temporary solution. The short answer is that there isn’t a way
   to _just_ convert the classic galleries without converting the whole post to 
   blocks.
 * One piece of good news is that there _are_ tools out there for bulk updating 
   posts from Classic to Blocks.
 * eg. [https://github.com/10up/convert-to-blocks](https://github.com/10up/convert-to-blocks)
 *  Thread Starter [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * (@wordpresssites)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/wordpress-gallery-shortcode-not-working-2/#post-17885096)
 * Thanks Gordon.

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

The topic ‘WordPress Gallery Shortcode Not Working’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/twentytwentyfour/1.5/screenshot.
   png)
 * Twenty Twenty-Four
 * [Support Threads](https://wordpress.org/support/theme/twentytwentyfour/)
 * [Active Topics](https://wordpress.org/support/theme/twentytwentyfour/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/twentytwentyfour/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/twentytwentyfour/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/wordpress-gallery-shortcode-not-working-2/#post-17885096)
 * Status: resolved