Du kannst in <?php-
Tags keine weiteren PHP-
Tags haben. Also muss hier ein kleiner Umweg her:
PHP-Code:
<?php
$posttags = get_the_tags();
$the_tags = '';
foreach($posttags as $tag) {
$the_tags .= $tag->name . ' ';
}
the_content("Read more...<img src='/images/leaf.gif'
alt='$the_tags' title='Read more about $the_tags' />");
?>
Beachte die vertauschten Anführungszeichen - Variableninterpolation klappt nur bei doppelten Anführungszeichen.
