I am still struggeling with showing posts from certain categories on the start page.
I want from two categories post, 2 from the first, 3 from the second
I got some help from the german woprdpress forum with some pHp-Code
PHP Code:
<?php if (is_home() || is_front_page()) { ?>
<?php $first_query = new WP_Query("cat=2&posts_per_page=3");
if ($first_query->have_posts()) : while ($first_query->have_posts()) : $first_query->the_post(); ?>
...
...
<?php endwhile; endif; ?>
<?php $second_query = new WP_Query("cat=5&posts_per_page=3");
if ($second_query->have_posts()) : while ($second_query->have_posts()) : $second_query->the_post(); ?>
...
...
<?php endwhile; endif; ?>
<?php } ?>
Anyone better with pHp and the loop than me??
Thanks
Flinxa