Title: Bug
Last modified: December 28, 2018

---

# Bug

 *  [Lovro Hrust](https://wordpress.org/support/users/lovor/)
 * (@lovor)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/bug-234/)
 * 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)

 *  [mauriciodtro](https://wordpress.org/support/users/mauriciodtro/)
 * (@mauriciodtro)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/bug-234/#post-11193875)
 * 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](https://wordpress.org/support/users/lovor/)
 * (@lovor)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/bug-234/#post-11193931)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-tiles_8f8e84.svg)
 * [WP Tiles](https://wordpress.org/plugins/wp-tiles/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-tiles/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-tiles/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-tiles/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-tiles/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-tiles/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Lovro Hrust](https://wordpress.org/support/users/lovor/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/bug-234/#post-11193931)
 * Status: not resolved