Hi,
I need to make a loop to output a list of posts from mixed posts types and ordered them by date.
I tried this
<Loop type=post,mec-events count=8 order_by=date order=desc>
but it does not mix the posts.
Here is what I got :
post 1, post 2, post 3, event 1, event 2, event 3
but I want this :
post 1, event 1, post 2, event 2, event 3, post 3
I tried this
<Set name=newsfeed> <Loop type=post,mec-events count=8 order_by=date order=desc> <Field id />, </Loop> </Set> <Loop id={Get name=newsfeed}> <div class="af_post"><Field title /></div> </Loop>
but I does not work either.
Any idea to make this works ?
Best