Hi all,
I am trying to create a blog with WordPress and the Pinboard theme. I would like to have different pages that show only one category of posts.
I was able to do so with the very simple code
query_posts('cat=1');
while (have_posts()) : the_post();
the_content();
endwhile;
But I really like the layout of the “Blog, Full Width” template. Unfortunately, I do not understand how and where to insert that I would like to have just one category.
Thanks for your help!
My blog isn’t online yet, so I cannot send the link to it, sorry!
B.Kant
-
This topic was modified 11 years, 6 months ago by b.kant.
You can select your general layout under Appearance > Theme Options > Layout. You don’t need custom queries for each category as WordPress automatically creates an archive for each category.
Hi Daniel,
thanks for your answer. You are right, it is a lot easier to the automatically created archives and link them in the custom menu. Did not think about.
I just took out the news page from the menu – as I do not want to have a page displaying all posts together.
Thanks!
B.Kant