Hallo zusammen,
ich möchte, dass die Artikelüberschriften nicht wie üblich über dem Bild, sondern unter (bzw. strenggenommen: zwischen) das Bild und den Fließtext laufen. (siehe Bild, FETT = Artikelüberschrift)
Lässt sich das im Code mit einfachen Änderungen bewerkstelligen oder sind dafür größere Veränderungen nötig?
PHP
<?php get_header(); ?>
<div id="main">
<?php include (TEMPLATEPATH . '/sidebar.php'); ?>
<div class="entry">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="postbg">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<?php the_content('Read more »'); ?></div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
<?php else : ?>
<div class="post">
<h2 class="center search">Search could not find anything!</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
</div>
<?php endif; ?>
</div>
<br clear="all" />
<?php get_footer(); ?>
</div>
</body>
</html>
Alles anzeigen
Danke!