I am developing a site, http://www.counterculturecollective.com. It’s the first time I’ve built a site on wordpress that is more than just a portfolio or brochure. For the site, there are three categories of pots that need to be displayed on the front page:
As you can see, blog and events display where they’re supposed to. But when I publish a featured artist post, it shows up in all three loops. Each area is only supposed to show that particular category.
here’s the code: http://wordpress.pastebin.ca/1364621
At first I was just using the codex article on multiple loops. Then I found perishable press’ triple loops tutorial, and I followed it to the letter – it’s exactly what I want. Unfortunately, it didn’t work, and I have the problem I described above.
Also, in all this I’ve had a very hard time finding the ID number of each category. It’s not listed anywhere when I go to edit categories in the dashboard – I have to find it by going through /?cat_id= links until I find the one I’m looking for. Where is it supposed to be? Is my wordpress broken somehow? I used the tag to category converter importing posts from a blogspot, but then it gave me 140ish categories that should have just been tags. So I deleted all those categories and now my category count starts at 140. Could this be the source of my problem?
Also, is there another way to accomplish what I’m trying to do, say with plugins? Featured artist and Blog posts both just display excerpts if the most recent post and link to the appropriate archive page. Classes is the only section that displays more than one post at a time.
Thanks for your time, y’all.
- The topic ‘Three loops on front page not behaving…’ is closed to new replies.