Besten Dank für die Antworten :)
Zu der Zweiten noch eine Frage:
Meine index.php sieht nun folgendermaßen aus:
<?php
get_header();
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">
<h2 id="post-<?php the_ID(); ?>" class="kapitel"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<div class="feedback">
<?php wp_link_pages(); ?>
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
</div>
<div class="storycontent">
<?php $my_query = new WP_Query('category_name=blog&posts_per_page=1'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<h2 id="post-<?php the_ID(); ?>" class="kapitel"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<?php endwhile; ?>
<?php the_content(__('(more...)')); ?>
<div class="spacer"></div>
</div>
<!--div class="meta"><?php _e("Posted under"); ?> <?php the_category(',') ?> <?php _e("by")?> <?php the_author() ?> <?php _e("on");?> <?php the_time('l j F Y'); ?> <?php _e("at");?> <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div-->
</div><br/>
<!--?php comments_template(); // Get wp-comments.php template ?-->
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?>
<?php get_footer(); ?>
Alles anzeigen
Durch den Code
<?php $my_query = new WP_Query('category_name=blog&posts_per_page=1'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<h2 id="post-<?php the_ID(); ?>" class="kapitel"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<?php endwhile; ?>
Wird zwar nun der letzte Beitrag angezeigt, allerdings verschwindet darunter der eigentliche Content der Startseite :-?
Besten Dank schon mal für die Hilfe!
Gruß, Matthias