I have a category names "notes", I need on every page of the loop to show up to 10 notes, and up to 4 regular posts.
They both should be ordered by date.
i.e. I posted 1 note, note A
, 1 hour ago and another note, note b
, 5 hours ago, I also posted to posts, post A
and post B
2 hours ago. in my loop I want to see note A
,post A
,post B
,note B
.
I hope it's clear enough.
I'm trying to do this with two custom WP_Queries, but I have hard time with them because of the global $post
.
Any help would do! Thanks