Sorting of Listed Ecards

Just you need to add orderby parameter to the shortcode.

To display product randomly

[odudecard-list perrow=3 perpage=30 orderby=rand page=off layout=list album=birthday]

To display product ordered by Title
[odudecard-list perrow=3 perpage=30 orderby=title page=off layout=list album=birthday]

You can do more.

  • none‘ – No order
  • ID‘ – Order by post id. Note the capitalization.
  • author‘ – Order by author.
  • title‘ – Order by title.
  • name‘ – Order by post name (post slug).
  • date‘ – Order by date.
  • modified‘ – Order by last modified date.
  • rand‘ – Random order.
  • comment_count‘ – Order by number of comments (available since Version 2.9).

Leave a Reply

Your email address will not be published. Required fields are marked *