Moa @ Use SQL-querys in the loop – WITH template tags


Found this while looking for a way to do exactly what you defined as the problem, having both posts and pages in one loop. I really wanted to find a way to combine two different queries into one result set, but this works almost as well – thanks a lot!