Greate gallery, but I got an issue with the thumbnail sorting. When I create my first gallery, all thumbs are displayed by title. Once I create my second gallery, the sorting gets messed up, both in the new gallery, but also in the first one. They do not become sorted by “created” or “modified” and not totally random, but mixed up a little bit =)
If my images are named 1, 2, 3, 4, 5, 6, 7, 8, 9 and 10. They get sorted like 3, 2, 4, 1, 5, 8, 7, 8, 10 and 9.
If I use [gallery] properties, the sorting is correct for the double thumbs showing up, but not the Minimatica tumbs.
If you’re using the [ gallery ] shortcode then don’t use the gallery post format together with it. Use the [ gallery ] shortcode with a standard post format and you should be fine.
Thanks, but I do not use the [gallery] shortcode… and with a standard post format, I do not get the colorbox. I want the gallery post format, but with the tumbs sorted according to title. Is that possible somehow?
In functions.php find the function minimatica_post_gallery()
and to the array $args
add the key 'orderby' => 'post_title'
Thank you very much! It did not work, but using ‘orderby’ => ‘title’ did work. Perfect!