Ich habe ein Problem mit einer Grafik, die ich innerhalb des Loops mit dem img-Tag einbinden möchte. Und zwar ist der Pfad und die Syntax korrekt aber die Grafik wird nicht angezeigt, es erscheint nur das fehlende-Grafik-Symbol meines Browsers.
Hier noch mal der Code, wäre nett wenn mir jemand helfen könnte:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>"><h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
<p class="post_meta"><img src="images/icon.jpg" alt="image" width="9" height="9" />Date: <?php the_time('j.m.Y'); ?> Kategorie: <?php the_category(',') ?> Kommentare: <a href=" <?php comments_link(); ?> "><?php comments_number('0', '1', '% '); ?></a></p>
<div class="storycontent">
<?php the_content('<br>mehr...'); ?>
<span class="tags"><?php the_tags('Tags: ','<span style="color: #bf44a1;">,</span> ',''); ?></span>
</div>
</div>
Alles anzeigen