Thanks for the quick answer,
It's not so easy as I use the thematic and therefore need to override the "thematic_index_loop" using the function "childtheme_override_index_loop()" in my childthemes functions.php.
I copied the complete code from the original function and added the "query_posts" function to select the post with the wanted category.
The problem is that this post shows up as a ordinary post with all that include references to comments etc. The old post belonging to the page is also printed even though it didn't have the selected category.
function childtheme_override_index_loop() {
global $options, $blog_id, $cat;
foreach ($options as $value) {
if (get_option( $value['id'] ) === FALSE) {
$$value['id'] = $value['std'];
} else {
if (THEMATIC_MB)
{
$$value['id'] = get_option($blog_id, $value['id'] );
}
else
{
$$value['id'] = get_option( $value['id'] );
}
}
}
if ( is_front_page() ) {
query_posts('category_name=intro-&posts_per_page=1');
}
/* Count the number of posts so we can insert a widgetized area */ $count = 1;
while ( have_posts() ) : the_post();
$cat = get_the_category(); $cat =$cat[0]; $scat = $cat->category_nicename;
thematic_abovepost(); ?>
<div id="post-<?php the_ID();
echo '" ';
if (!(THEMATIC_COMPATIBLE_POST_CLASS)) {
post_class();
echo '>';
} else {
echo 'class="';
thematic_post_class();
echo '">';
}
thematic_postheader(); ?>
<div class="entry-content">
<?php thematic_content(); ?>
<?php wp_link_pages('before=<div class="page-link">' .__('Pages:', 'thematic') . '&after=</div>') ?>
</div><!-- .entry-content -->
<?php thematic_postfooter(); ?>
</div><!-- #post -->
<?php
thematic_belowpost();
if (!is_front_page() and !($scat == 'intro')) {
comments_template();
} else {
wp_reset_query();
}
if ($count==$thm_insert_position) {
get_sidebar('index-insert');
}
$count = $count + 1;
endwhile;
wp_reset_query();
}// end index_loop
Well, I have labbed a lot but no success :-(