I want to customize exactly what the portfolio shows. Currently it pulls in projects from all of the categories and sorts by date, but what I would like to do is limit it to pulling in x projects from each category. I thought I could manage this by creating a function called “loop_portfolio_query” and controlling the query, there but haven’t managed to get it to work.
My concern is that we might have a bunch of new posts in category A and B, which will then bump category C out of the running and those projects won’t appear on the front page. Ideally I would have it pull the 5 most recent posts from all categories defined in the template builder.