• Hello

    I’ve created several wordpress posts featuring galleries. The gallery settings are set to link to attachment page.

    I was wondering if there was a way to change this setting to Media File for all the posts, instead of changing them one by one.

Viewing 1 replies (of 1 total)
  • You could use a plugin like Search Regex to do search/replace in the database.
    The syntax of a gallery that links to the file is [gallery link="file"], so if you have galleries with IDs specified, you could change [gallery to [gallery link="file". (Note the spaces are part of that.)
    Then, you might have some with link="file" twice, but it wouldn’t matter.

Viewing 1 replies (of 1 total)

The topic ‘Changing Multiple Gallery Settings at once’ is closed to new replies.