Hallo!
Kann ich irgendwie die drei vorletzten Beiträge (also praktisch die vier aktuellsten, ohne den neuesten) als Auszug anzeigen lassen?
Zurzeit werden an der Stelle, wo ich die Beiträge haben möchte noch die drei aktuellsten Beiträge aus einer Kategorie angezeigt. Der Code lautet bisher:
PHP
<div id="leftcol">
<?php
// "Featured articles" module begins
query_posts('showposts=3&cat=7'); ?>
<h3>
<?php
// name of the "featured articles" category gets printed
wp_list_categories('include=7&title_li=&style=none'); ?></h3>
<?php while (have_posts()) : the_post(); ?>
<div class="feature">
<?php
// this grabs the image filename
$values = get_post_custom_values("rightcolimage");
// this checks to see if an image file exists
if (isset($values[0])) {
?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('url'); ?>/wp-content/uploads/<?php $values = get_post_custom_values("rightcolimage"); echo $values[0]; ?>" alt="" /></a>
<?php } ?>
<a href="<?php the_permalink() ?>" rel="bookmark" class="title">
<?php
// title of the "featured articles"
the_title(); ?></a>
<p><?php the_excerpt() ; ?></p>
</div>
<?php endwhile; ?>
</div><!--END LEFTCOL-->
Alles anzeigen
Vielen Dank schon mal im Voraus für Eure Mühen!!!