I’m trying to make a page with multiple loops. I need each loop to display posts from a particular category. One category after another.
At the moment I have the loop below displaying posts from a category named “one”. To display posts from category “two” and so on, I’m repeating the entire loop just changing the
I imagine that this is a very bad approach taking into consideration the DRY principle and resources usage. However, I can’t figure out a smarter way to write this loop.