Thumbnails sorting bug?

Viewing 5 posts - 1 through 5 (of 5 total)
  • #5544
    lembit_pet
    Participant

    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.

    #5554
    Daniel Tara
    Keymaster

    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.

    #5557
    lembit_pet
    Participant

    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?

    #5564
    Daniel Tara
    Keymaster

    In functions.php find the function minimatica_post_gallery() and to the array $args add the key 'orderby' => 'post_title'

    #5569
    lembit_pet
    Participant

    Thank you very much! It did not work, but using ‘orderby’ => ‘title’ did work. Perfect!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.