- This topic has 11 replies, 5 voices, and was last updated 6 years, 10 months ago by
BriannaJoyy.
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
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.
Please send temporary wp-admin login info as a private reply. I have to check this in your installation.
Works now. The correct parameter is orderby="date" I missed that too in my last reply 🙂
Thanks for the fix. Appreciate the support.
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
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,
Has any one and idea? I need to sort download on a chronological order? Thanks
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.
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.
The topic "Can't order downloads by date" is closed to new replies.