• Resolved Norke

    (@norke)


    Hey peeps,

    I have made a category called: Tutorials. In that category I made a few other child-cats ( a la Photoshop, painting, …)
    I have created the template file “Tutorials”, and I would like to display all posts that are labeled with a child category of the Tutorials cat.
    In short: I only want my tutorial posts to show up on the tutorials page.

    I’m sure this is possible, allthough I seem to get lost in the docs quiet often. I hope someone knows how to do this.

    Have a great time.

    Yannick

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Norke

    (@norke)

    I tried solving it with:

    <?php $recent = new WP_Query("cat=18&showposts=10"); while($recent->have_posts()) : $recent->the_post();?>

    Allthough, the whole post is on it and only the stuff before the <!–more–> should be displayed. Anybody has an idea?

    Thread Starter Norke

    (@norke)

    It’s solved, thx anyhow. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Template file only showing posts in 1 category and child categories’ is closed to new replies.