synthesis0
Member
Posted 10 months ago #
Hi guys,
In the "today" scope I need to show up the event list in a random order, so that they are not ordered by time or name.
I'm wondering if it's the case to modify the code shown here:
and how,
or hacking the plugin code to get a new ordering attribute like:
[event_list order="RAND"]
instead of ASC and DESC
Thank you for your help.
http://wordpress.org/extend/plugins/events-manager/
That wouldn't work. You'd probably have to use PHP to get this done, e.g.
$events = EM_Events::get();
shuffle($event);
Renzo Bassi
Member
Posted 1 month ago #
Hi, synthesis0
have you solved?
Hy Marcus,
can I have an example? How and where to use this PHP code?
Thanks.