Can't order downloads by date

This topic contains 9 replies, has 3 voices, and was last updated by  Julien Hoste 6 days, 15 hours ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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

    • This topic was modified 9 months ago by  Jesse Hammil. Reason: clarity
    #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

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

You must be logged in to reply to this topic.