Support » Plugin: Media Library Assistant » Sorting is ignored

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



    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 ‘Sorting is ignored’ is closed to new replies.