mla_gallery sort by upload-date acsending
-
Hi,
I’m trying to sort the pictures in [mla_gallery] by upload-date having the oldest pics first, the newest last.
I replaced the upload-date with the exif date and time stamp (worked fine according to the meta-data shown in the library). But the sorting just won’t work.I tried the following codes:
[mla_gallery attachment_tag=xtest orderby=”upload_date” order=”ASC” mla_alt_shortcode=gallery]
[mla_gallery attachment_tag=xtest orderby=”upload_date” mla_alt_shortcode=gallery]
[mla_gallery attachment_tag=xtest orderby=”upload_date” order=”DESC” mla_alt_shortcode=gallery]
As far as I understood the first two should give me the result I’m looking for.
The third one should give the newest pics first.
In fact all variants show the same result, the newest first.Skipping the [mla_alt_shortcode] doesn’t make any difference.
Skipping the [orderby] does obviously sort by the imageID, and the ASC/DESC works fine then.What am I doing wrong by using the upload-date?
Thanks in advance for any ideas.
The topic ‘mla_gallery sort by upload-date acsending’ is closed to new replies.