WordPress.org

Ready to get started?Download WordPress

Forums

How to SQL mass update Gallery Link thumbnail option (3 posts)

  1. Michiel
    Member
    Posted 3 years ago #

    Does anybody know the exact table and field in SQL in which the Gallery setting "Link thumbnail to" (values: Image File, Attachment Page) is stored? I'd like to do a mass update from Attachment page to Image file using SQL.

    Let me know!

  2. Michiel
    Member
    Posted 3 years ago #

    Bump... I cannot find where the setting for Link thumbnail to Image File vs Attachment Page is stored in the SQL database...

    The function wp_get_attachment_link has a parameter called $permalink (bool) Link to the attachment page (true) or directly to the attachment file/image (false; default) and this must be stored somewhere...

  3. kevinpowertv
    Member
    Posted 2 years ago #

    Michiel, did you ever find a answer to this? I'm looking to do the same thing.

Topic Closed

This topic has been closed to new replies.

About this Topic