Can't order downloads by date

Viewing 12 posts - 1 through 12 (of 12 total)
#64695

Jesse Hammil
Member

Hi,

I am trying to use WPDM Free and I cannot get my files to be in the appropriate order.
The way it is displaying is like this: (These are the publish dates and the name of the file for clarity)
5-22-2017 (id 432)
6-26-2017 (id 431)
4-24-2017 (id 739

My short code:
[wpdm_tree category=”2017″ order_by=”create_date” order=”desc”]

I have triple checked the created dates, and they are correct. It seems it’s not sorting by date or ID.
I also have installed WPDM – Extended Short-codes.

Any help?

Thanks

#64760

Shahriar
Moderator

Please try order_by="date"

#64819

Jesse Hammil
Member

No luck, and according to the docs, that isn’t a valid field name –
“order_by: field name to sort packages, you can sort by title, download_count, create_date, update_date or id”

It seems like for whatever reason, it’s mixing up the May and June files.

#64842

Shahriar
Moderator

Please send temporary wp-admin login info as a private reply.  I have to check this in your installation.

#64847

Jesse Hammil
Member
This reply has been marked as private.
#64889

Shahriar
Moderator

Works now. The correct parameter is orderby="date" I missed that too in my last reply 🙂

#64898

Jesse Hammil
Member

Thanks for the fix. Appreciate the support.

#64899

Shahriar
Moderator

Glad to provide a solution for your problem.
Please rate us 5* here https://wordpress.org/support/view/plugin-reviews/download-manager?rate=5#postform if you get some free moments ?
Thank you

#80482

Julien Hoste
Member

Hello,
I’m having the same problem and even with order_by=”date” It doesn’t work…
Is it right the date or modified is based on the published date?

Here is the shortcode I use :
[wpdm-archive cat_view=”compact” button_style=”primary” link_template=”link-template-library.php” order_by=”date” order=”desc” items_per_page=”20″]

Also, I tried to switch from order=”asc” to “desc” and here too, no results… it’s always the same order (based on the ID, I guess?)

FYI : I used to have the plugin Post Types order : https://wordpress.org/plugins/post-types-order/ affecting the Packages. But not any more…

Thanks in advance for your help.
Best,

#80783

Julien Hoste
Member

Has any one and idea? I need to sort download on a chronological order? Thanks

#87264

bee mo
Member

Bump. I need to reverse the sort order of files in a [file_list] in a [wpdm_package]. By default the oldest files are listed first (meeting_161121.pdf
meeting_170117.pdf, etc). Is this possible without buying the directory addon?

Would prefer not to use [wpdm_all_packages] [wpdm-archive cat_view] or [wpdm_tree] because my files are organized by directory.

Thanks in advance for your help.

#96581

BriannaJoyy
Member

When I use the following shortcode:

[wpdm_all_packages jstable=1 items_per_page=20 orderby=date order=desc]

my most recent item appears at the top then jumps to the bottom until you click the update date column.

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

The topic ‘Can't order downloads by date’ is closed to new replies.