Plugin Author
Aesqe
(@aesqe)
@2grafik: when you say “But now the whole plugin disappeared”, do you mean it’s not visible on the plugins page, it’s not on the available plugins list? If it is on the list, try deactivating it and then activating it again.
I can’t think of any reason why File Gallery would behave that way 😐
sorry I was unclear about that, the plugin didn’t disappear, what I meant was that the metabox on the edit page of a post or page isn’t visible.
the files are still in the pluggin folder and the plugin shows up in the plugin list and I just noticed the pluggin updates too.
I just checked everything again and I found the following things:
it seems that the migration set a lot of functions to off or 0 which are on in the default settings like showing the metabox and the Replacement text for galleries within post excerpts. I assumed that if that was the case a deactivation and activation or re-install would solve that problem and reset everything to default. but that didn’t happen
when I checked the “Display galleries within post excerpts?” box, which was also set to unchecked in the migration the galleries suddenly did show up, when I unchecked it they disappeared again.
the problem is that if you uncheck “Display galleries within post excerpts?” the galleries won’t show up in pages, it will show the text for excerpts,(which was also set to 0 so I assumed that was some weird error) I checked it with my live site and there it works the same. I just didn’t notice it before because when I installed the plugin the first time one of the first things I did was check that box. Almost all my galleries are on pages so I didn’t notice the galleries did work on posts ( only checked the overview page and not a full post).
is it suppose to work that way or is this a bug?
Plugin Author
Aesqe
(@aesqe)
This is a bug, yep 😀
File Gallery is checking “is_single()” instead of “is_singular()”.
I’ll release another bugfix release (v1.7.2) tomorrow.
Oke thanks glad I could help, I will install the bugfix and report back if there any problems
I’m having the same problem… Any word on the update or how i can fix it myself?
I’ve scanned the entire code and I can’t find is_single()
Plugin Author
Aesqe
(@aesqe)
File Gallery v1.7.2 is out and this issue should be fixed. Sorry for the long wait, but it was Christmas and all 😉