Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've a custom post type event for my event section i've 2 meta keys eventStartingDate and eventEndingDate which will be multiple for same event like eventStartingDate[1] eventStartingDate[2] and saved as a json

now the problem is i want to filter event by that date event date may be single, consecutive days or non consecutive days

share|improve this question
Use a meta_query for multiple post meta keys. – Rutwick Gangurde Oct 8 '12 at 5:11
any reference @rutwick ??? – Mohit Bumb Oct 8 '12 at 5:15
1  
Yep... codex.wordpress.org/Class_Reference/… Look for meta_query here and Multiple Custom Field Handling in the examples just below it. – Rutwick Gangurde Oct 8 '12 at 6:50
1  
@MohitBumb Please re-word your question with a clear example as your last sentence is, well... unclear. However as Rutwick said, meta_query is where you need to be looking so far. If you provide more info then we'll be able to better assist. – userabuser Oct 8 '12 at 6:54
Thanks all but i use custom query and get my solution now admins can close this question if they want – Mohit Bumb Oct 8 '12 at 9:30

closed as too localized by Rarst Oct 9 '12 at 0:47

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.