Gallery: Link to Media File selected, but link="file" missing from shortcode
-
I haven’t inserted galleries for a while, but just now, when I try to insert a new gallery, things work ok but not perfect.
I select
"Link to -> Media file"
, but the shortcode that appears in my editor looks like this:
[gallery ids="7006,7007,7008,7009,7010,7015,7014,7013,7012,7011,7016,7017"]
I use the text editor, but I could see it works the same on visual editor.
If I switch to visual and try to edit the gallery, it does not detect the gallery type right, I get the autoselected
"Link to"
->"Media File"
, but of course, there is nolink="file"
in the code and it does not work like that (it does not link the images to files).
Switching (in visual editing) from default field to"Link to" -> "Attachment page"
and back to"Media File"
works, but those are extra steps I do not need to do.Please auto-initialize those variables, so it works from start without any extra steps.
- The topic ‘Gallery: Link to Media File selected, but link="file" missing from shortcode’ is closed to new replies.