Order by published date

Viewing 3 posts - 1 through 3 (of 3 total)
#88752

Bigglesworth
Member

Hi,

Using the categories shortcode to display downloads. However I’ve been trying to order by date and I can’t get it to work. I have tried date, publish_date and create_date and I can’t seem to get it to order by.

Any help would be appreciated. Thanks.

[wpdm-all-packages categories="updates," items_per_page=30 order_by="date" order="desc" jstable=1 cols="title,file_count,download_count|categories|publish_date|download_link" colheads="Title|Categories|Date|Download"]

#89172

Shahriar
Moderator

Maybe a date format issue. Please try the marked format or the one below it.

https://www.evernote.com/l/AUfrF4Jngi9B1ZSyN03QlDsi-oo2UPCLOrwB/image.png

#89433

Yuri Vidal
Member

I have the same problem. My website uses Brazilian date format. DD/MM/YYYY
But, download manager always tries to order by date using US format MM/DD/YYYY.

This causes a problem. For example, 07/01/2018 is showed as newer than 04/11/2018.

This needs to be fixed. Eventhough my website is set to pt-BR and has BR date format, WPDM is not considering the correct format.

Only happens with responsive table mode.

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

The topic ‘Order by published date’ is closed to new replies.