Strange issue with gallery when displays 3 columns

Couldn’t you make it shorter by doing the following? function meks_gallery_atts($output, $pairs, $atts) { $output = array(); if (in_array($output[‘size’], array(1,2,3,4,5,6,7,8))) { $output[‘size’] = ‘square_thumb_’ . $output[‘size’]; }else{ $output[‘size’] = ‘square_thumb_9′; } return $output; } It sounds like $atts[‘columns’] is never 3. Have you tried strict-checking on strings, rather than loose-checking on integers? is using this: … Read more

Text lost under image after WordPress 5.0 upgrade

Interesting problem… I went into the page in Chrome and used the Development Tools (ctrl+shift+I) or just right click on the element and select Inspect. The images are being displayed in a Flexbox and it looks like there is a conflict between the Flexbox and the blocks above it. There are a number of ways … Read more

Install Gallery 3 in Subdirectory of WordPress

Your problem is that you installed it in a subdirectory of WordPress. Both WordPress and Gallery 3 will use virtual URLs in their domain, and with them both acting on the same folders, neither system knows what to do. So you have http://blog.url/ and http://blog.url/gallery3/ which is also http://g3.blog.url/. The subdomain will point to that … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)