Multiple loop location
Just curious: What do you think is the best location for multiple loops (querys.).
Let’s say i have 3 types of custom posts; type1, type2 and type3. And i want to show all three on a (home)page. Let’s say the latest post of each one.
Question: should i load these:
– All within one (page.)php file (multiple loops)
– Create separate loop files and then refer to each one within de (page.)php file.
– Or through widgets
I’m asking this, because i’m testing the Roots theme. And this one uses separate loops by default.
Thnx in advance!
- The topic ‘Multiple loop location’ is closed to new replies.