Download Monitor
[resolved] Order DESC doesn't work completely (7 posts)

  1. mvanboordt
    Posted 2 years ago #


    I have this strange issue sinds last week.
    I name my files by date.
    So if I create a new file and the date is 2012_01_01_name_of_file.pdf my overview page puts it on top of the list.
    The shortcode I use is: [downloads query="category=3&order=DESC"]
    This works partially because everything I did before last week still get's orders DESC but the new uploads not anymore.

    Any ideas?


  2. Mike Jolley
    Plugin Contributor

    Posted 2 years ago #

    Add orderby=name just in case as well. And ensure all date formats are in the same format i.e. YYYY-MM-DD otherwise that won't work.

  3. mvanboordt
    Posted 2 years ago #


    Thnx for your responce.
    Didn't work and I allready tried that.
    The names are the same and so is the date.
    I checked the DB and I can't find anything strange.

    I checked the FTP server and there is anything strange.
    I have the latest version and didn't have to upgrade.

    I notice that I haven't upgraded WP itself so I'll do that.
    I have 2 other plugins that need an upgrade so I'll do them to.

    If that still doesn't work I'll deactivate my plugins and see where that get's me.

    I still think it's strange because this happend all of a sudden. In the mean time nothing changed...

    Hit me if you can think of something else


  4. mvanboordt
    Posted 2 years ago #

    I did everything I can think of to get this working again but failed everytime.

    1. Deactivate all the plugin's
    2. Upgraded every plugin, WP-version and Theme's
    3. Activated the Twenty-(ten, eleven, twelve and thirteen) theme
    4. Tried every shordcode add-on possible
    5. Re-installed the plugin

    So the only thing now is that I break open the code from the plugin (which I reather not do) and try to understand what might happen.

    There are no error's what so ever so I'm kinda looking for a needle in a haystack.


  5. Mike Jolley
    Plugin Contributor

    Posted 2 years ago #

    Just realised something. If this is the new DLM, the 'query' arg is no longer used.

    [downloads category="3" orderby="date" order="DESC"]

  6. mvanboordt
    Posted 2 years ago #

    Ohw woow!
    That makes a difference.

    However I now only get 5 results at random and from different categories.
    I'll take a look at the shortcode possibilities

    Thnx for your reply!

  7. Mike Jolley
    Plugin Contributor

    Posted 2 years ago #

    Yeah, category should be a slug. e.g. category="my-category"

    See https://github.com/mikejolley/download-monitor/wiki/Shortcode%20Reference#the-downloads-shortcode

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Download Monitor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic