ich habs raus: habe ein span
tag mit the excert an die richtige Stelle bekommen, dazu noch ein h1 und fertig. Hier mal zum nachvollziehen der neue Code:
Zitat:
<div class="featured">
<div class="photo shadow-left">
<div class="shadow-right">
<ul id="photos">
<?php query_posts('showposts=16&category_name=featured') ;
if (have_posts()) : ?><?php while (have_posts()) : the_post();
$image = "";
$first_image = $wpdb->get_results(
"SELECT guid FROM $wpdb->posts WHERE post_parent = '$post->ID' "
."AND post_type = 'attachment' ORDER BY `post_date` ASC LIMIT 0,1"
);
if ($first_image) {
$image = $first_image[0]->guid;
}
?>
<li>
<a href="<?php the_permalink() ?>"><img src="<? bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<? echo $image ?>&w=480&h=275&zc=1" alt="<? the_title(); ?>" /></a><br /><br /><span><h1><?php the_excerpt(); ?></span></h1>
</li>
<?php endwhile; ?><?php endif; ?>
</ul>
</div>
</div>
|
Danke für Deine Hilfe! Hast mir auf die Sprünge geholfen!