Wordpress Custom loop with two types of posts with different amounts

FreeDowno

New Member
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, \[code\]note A\[/code\], 1 hour ago and another note, \[code\]note b\[/code\], 5 hours ago, I also posted to posts, \[code\]post A\[/code\] and \[code\]post B\[/code\] 2 hours ago. in my loop I want to see \[code\]note A\[/code\],\[code\]post A\[/code\],\[code\]post B\[/code\],\[code\]note B\[/code\].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 \[code\]$post\[/code\].Any help would do!Thanks
 
Back
Top