Easiest way to separate two different categories over two different pages?
I’ve read here and there through some code, but I’m a real noob when it comes to code and actually don’t have the time to dive deep into it. I was hoping to find out if there’s an easy way to accomplish what I want, without changing too much code (so when I update to a newer version of my K2 theme, every stays in tact). Perhaps I will need to work with templates, I don’t know.
So to the point, what I’m trying to accomplish is, as the title says, having two pages with each showing posts of only one of the in total two categories with ID 4 and 7.
I now have 5 pages of which I have created 4 myself: Blog, Portfolio, Contact, Links, Archives.
The first page, Blog, is probably created by WordPress and shows posts of both categories. I would like to change this, so it only shows posts of the category with ID 4 (And if possible without changing much code, at a later stage other categories as well, except for category 7).
The second page, Portfolio, is a page I created in the dashboard to display some pictures on it. So it’s not a posts page. I like to change it’s name to Photoblog, and have it only display posts with category ID 7.
This way I want to be able to have a photoblog on the second page on which people can comment.
What I have accomplished myself so far: I made a template which displays posts from only one category, except it shows “archive for the xx category” at the top.
I hope you guys can help me! Thanks in advance.
- The topic ‘Easiest way to separate two different categories over two different pages?’ is closed to new replies.