sort events

10 views
Skip to first unread message

Alexandre Gaudemer

unread,
Sep 11, 2011, 1:00:21 PM9/11/11
to eventpress
Hello Kunal,

I'm trying to display event list order by date (next event has to be
the first on the list and in upcoming events.)
I'm using thematic with wordpress, you can check the website @
http://jammintroopers.be/events/
I've tried to modify the event_details.php file with:

<?php $posts = query_posts( Array(
'post_type' => 'ep_event',
'meta_key' => '_ep_start',
'order' => 'DESC',
'orderby' => 'meta_value',
'meta_compare' => '>=',
'meta_value' => time()
) );
?>

(The output is an infinite loop and browser crash)

I've tried this : <?php $posts = query_posts( $query_string .
'&orderby=title&order=desc' ); ?>

All I want is display event in another ORDER,
But It does not work, So I hope you could help me on that point.
Thak you.


Kunal Bhalla

unread,
Sep 11, 2011, 5:00:35 PM9/11/11
to event...@googlegroups.com
Hi

could you just confirm whether you're using buddypress or vanilla wordpress?

Kunal

Alexandre Gaudemer

unread,
Sep 13, 2011, 5:52:49 AM9/13/11
to eventpress
I'm using wordpress with thematic framework
http://jammintroopers.be/events/

Thx
Reply all
Reply to author
Forward
0 new messages