0

I am doing a simple WP query that gets posts: ('post', 'event').

the events I needed ordered by a custom date field: start_date'

the posts I need ordered by date.

I need the two output together in order.

I read: Query two post types and order by two different date fields

The guys sounds like he did some work with js. I need this to be a paginate-able query. There are 100+ posts and probably 12-14 events.

TIA

2
  • 1
    I'm afraid it won't be possible using WP_Query. It can be done with custom SQL query, but it won't be very pretty solution, I guess... Maybe you should change the info structure/storage method... Commented Apr 10, 2018 at 5:58
  • Thats what I was afraid of. Commented Apr 10, 2018 at 17:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.