• Hello, I found a bug related to different grid for mobile.
    I am using PHP 7.2 and WordPress 5.02 and everything works fine except showing different grid for mobile. I traced bug to wrong data being passed to $opts array with key small_screen_grid in WPTiles.PHP. Instead of grid number or title, the grid character array is passed.

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey Lovor, I’m having the same issue and it seems that, the setting of specific grid for mobile changes when you create a new grid.
    When you create a new grid, then this newly created grid overtakes the defined as “Mobile”.
    One work around of this is to add on the shortcode the small_screen_grid="xxxx" bit.

    For example:
    If you have this shortcode
    [gallery grids="Featured" image_size="full" link="file" tiles="true" ids="32,31,30,27,29,28"]

    Then add:
    [gallery grids="Featured" image_size="full" link="file" tiles="true" small_screen_grid="NAME-OF-YOUR-MOBILE-GRID" ids="32,31,30,27,29,28"]

    and that would solve it.

    However, if anyone can find a proper solution for this bug, I would laaaaargely appreciate if you let me know.

    I love this plugin.

    Cheers!

    Thread Starter Lovro Hrust

    (@lovor)

    Hello Mauricio,

    I stopped using this plugin and switched to this one: Meow Gallery Block.
    I could debug this issue, but it would take from one to several hours, so I concluded it is not worth it in a moment. If there would be more interested people, I would consider improving plugin if author would let me.

    Have a good day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug’ is closed to new replies.