WordPress.org

Forums

Delightful Downloads
[resolved] Documentation is unclear (7 posts)

  1. Jeroen
    Member
    Posted 1 year ago #

    Great plugin!

    Only the documentation (http://ashleyrich.com/wordpress/plugins/delightful-downloads/documentation/shortcodes/ddownload_list/) is a bit unclear. Im trying to add an orderby inside the [ddownload_list] but i cant resolve how to place that.

    [ddownload_list orderby="DESC"] doesn't seem to work

    http://wordpress.org/plugins/delightful-downloads/

  2. A5hleyRich
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Jeroen,

    The orderby attribute is used if you want to specify what to order by, for example by download count or title. You need to use the order attribute.

    By default this will order by title:

    [ddownload_list order="DESC"]

    If you would like to order by something else such as count you would use:

    [ddownload_list orderby="count" order="DESC"]

    Regards,

    Ashley

  3. A5hleyRich
    Member
    Plugin Author

    Posted 1 year ago #

    I just noticed that the documentation was wrong and has been changed. Thanks for pointing that out!

    Ashley

  4. Jeroen
    Member
    Posted 1 year ago #

    Yeah, i discovered in another thread that you mentioned you changed it.
    But it was still unclear to me ;-)

  5. A5hleyRich
    Member
    Plugin Author

    Posted 1 year ago #

    Haha. I literally changed it after I posted the above message so it was wrong when you read it.

  6. Jeroen
    Member
    Posted 1 year ago #

    Thanks btw. It works like a charm now!

  7. A5hleyRich
    Member
    Plugin Author

    Posted 1 year ago #

    Glad to help. If you have a quick minute, a plugin review would be greatly appreciated.

    Ashley

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Delightful Downloads
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic