WordPress.org

Support

Support » Plugins and Hacks » Media Library Assistant » [Resolved] Sorting is ignored

[Resolved] Sorting is ignored

Viewing 1 replies (of 1 total)
  • Plugin Author David Lingren

    @dglingren

    Tina,

    Thanks for your good words and your question. Your English is fine (much better than my German). Your sorting issue can be fixed by some simple adjustments to the shortcode.

    First, remove the mla_alt_ids_name=include parameter. You may have seen this in an earlier support topic, but it is not necessary and in your case Jetpack actually re-sorts the gallery in ascending ID order.

    Second, change the orderby parameter to orderby="ID DESC". The actual name of the database element is ID, and it is case sensitive. The change to DESC is optional, but good practice.

    You could also use orderby=”date DESC”], which sorts on the upload date and would make the shortcode easier to understand.

    I am marking this issue resolved, but please update it if you have any problems or further questions. Thanks for your interest in the plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Sorting is ignored’ is closed to new replies.
Skip to toolbar