mgl_sizes filter issue | WordPress.org

[ad_1]

This plugin by its simplicity but also the customization options is just fantastic !

I have an issue though. It seems that there is an issue with the filter mgl_sizes that doesn’t work anymore. Following the example you provide here https://meowapps.com/meow-gallery/tutorial/ works fine for the other filters, but not for mgl_sizes.

Digging a little bit in the plugin source code, line 60 of core.php, this seems to be the issue :

    if (!$this->gallery_process)
        return $attr;

$this->gallery_process is always false now and therefore, it always returns right there and never sets the $sizes value as it should. I assume that it hasn’t always been the case.

So not only the sizes cannot be customized, but the default set by Meow Gallery (depending on the gallery layout) is not set either. Whatever gallery layout is used, it’s always the default sizes set by WordPress that is used.

Thanks a lot in advance for the support 🙂

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer