0
votes
1answer
130 views

Sorting meta box values by start- and enddate and all dates in between

What I've been attempting to write is a function that will allow me to sort a list of WordPress posts by their meta values start date, end date and all dates in between. I've set up a custom metabox ...
1
vote
1answer
2k views

sort events based on event date custom field

I'm trying to list events (custom posttype 'kurs') by event date, which are stored as custom fields ('dato'). My loop so far looks like this: <ul> <?php $loop = new WP_Query( array( ...
1
vote
3answers
4k views

Sorting WordPress Posts via Custom Field Values?

Ok, so I'm using the WPAlchemy class to create custom field write panels in the write post page, and so far everything has gone great... However, there's one issue I can't seem to figure out. I'm ...