how to query with custom statuses
-
Excellent plugin first of all – very powerful and easy to work with. KUDOS!
I have made several custom statuses for the events custom post type. They display fine in the back end with filters across the top of the events page, but i am having a devil of a time doing the same on the front end events list with buddy press. I figure i need to be able to query EM_Events::get($args) with the post_status (which is updating as expected), but when i add to the $args ‘post_status’=>'[custom status]’ it does not work. I know the custom status is correct because it displays fine on the list if i echo $EM_Event->post_status but i cant seem to query on it… any ideas?
The topic ‘how to query with custom statuses’ is closed to new replies.