Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m keen for this functionality too, but none of the ‘usual’ orderby and order commands work within the shortcode – hopefully it’s simple enough to implement.

    Plugin Contributor richardgabriel

    (@richardgabriel)

    Hey guys –

    With version 1.7.6, the following Order options are supported via the shortcode:

    Acceptable attributes for ‘order’ are ‘ASC’ and ‘DESC’.
    Acceptable attributes for ‘orderby’ are ‘none’,’ID’,’author’,’title’,’name’,’date’,’modified’,’parent’, and ‘rand’.

    For example:
    [testimonials order=DESC orderby=date] will achieve what you want, cway.

    I hope that helps!

    Best,
    Richard

    Awesome update Richard!!

    A note when using the shortcode generator, if you choose ‘Random’ the generator outputs orderby=’random’ which does not work. However, changing to orderby=’rand’ manually fixes the problem.

    Plugin Contributor richardgabriel

    (@richardgabriel)

    Thanks for the note, usujason!

    We have a patch scheduled today and this should be squeezed in.

    Best,
    Richard

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘sorting’ is closed to new replies.