Ok, I've been frustrated about this one:
I've got a category page with the Title + Description of the title. Under it I would like to show all the (custom post type, 'blog') posts related with this category and under it related posts of custom post type 'apps'. When applying the following code it only generates all 'blog' topics with all categories (instead of only the current i'm viewing).
I have this for now:
<?php query_posts( array( 'numberposts' => 5, 'category' => 9, 'post_type' => 'blog' ) ); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?>
Does anyone know how I can only show all related posts of this category with custom post type 'blog' ?