WordPress.org

Support

Support » How-To and Troubleshooting » Where is the WordPress gallery data stored in the database?

Where is the WordPress gallery data stored in the database?

  • I am trying to run a query that will replace data in permalinks so that missing information will return in my galleries (after an upgrade and a post migration).

    I cannot find the gallery data in the database. I can find the post data in table wp_3_posts just fine. What table is the gallery data stored in?

Viewing 1 replies (of 1 total)
  • esmi

    @esmi

    Forum Moderator

    The gallery data isn’t stored in the database as an object. The gallery is generated dynamically based upon the images that are attached to the relevant post or page and the attributes in the gallery shortcode.

Viewing 1 replies (of 1 total)
  • The topic ‘Where is the WordPress gallery data stored in the database?’ is closed to new replies.
Skip to toolbar