Hey,
ich bin gerade am rumprobieren mit dem mimbo theme. Und dazu gleich meine Frage:
In der Archiv-Ansicht blende ich die Bilder Bilder ein, die auch auf der Hauptseite zu sehen sind... die Bilder werden zwar angezeigt, ich hätte aber gerne, dass das Bild links ist, und die Überschrift, der Text usw rechts nebendran.
Ich hab hier mal den code dabei:
PHP
<?php get_header(); ?>
<div id="content">
<?php is_tag(); ?>
<?php if (have_posts()) : ?>
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
<h2 class="pagetitle"> <?php single_cat_title(); ?> </h2>
<?php } ?>
<!--<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 while (have_posts()) : the_post(); ?>
<div class="post">
<div class="post2">
<?php $values = get_post_custom_values("Image");
// this checks to see if an image file exists
if (isset($values[0])) {
?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Read <?php the_title(); ?>"><img src="<?php bloginfo('template_url'); ?>/images/<?php $values = get_post_custom_values("Image"); echo $values[0]; ?>" alt="" /></a> </tr>
<?php } ?></div>
<h4 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h4>
<?php the_time('M jS, Y') ?>
<div class="entry" >
<?php the_excerpt() ?>
</div>
<!--<p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>-->
<hr /><br />
</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 : ?>
<h2 class="center">Not Found</h2>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen
interessant wird ab hier: <div class= "post2">
habt ihr ne idee wie man das realisieren könnte?
Hier gehts zur Bsp-Seite: 45ers
schönen Samstag ;-)
JO