Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h2 class="pagetitle">Suchergebnisse</h2>
- <?php while (have_posts()) : the_post(); ?>
- <?php if ( has_post_thumbnail() ) { //start of conditional section to show only for posts with thumbnail// ?>
- <div <?php post_class('post') ?>>
- <?php the_post_thumbnail(array(260,200), array("class" => "alignleft post_thumbnail")); ?>
- <h2 class="title" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
- <div class="postdate"><img src="<?php bloginfo('template_url'); ?>/images/date.png" /> <?php the_time('F jS, Y') ?> <?php if (current_user_can('edit_post', $post->ID)) { ?> <img src="<?php bloginfo('template_url'); ?>/images/edit.png" /> <?php edit_post_link('Edit', '', ''); } ?></div>
- <div class="entry">
- <?php the_excerpt() ?>
- </div>
- <div class="readmorecontent">
- <a class="readmore" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">Zum Artikel ยป</a>
- </div>
- </div>
- <?php } //end of conditional section// ?>
- <?php endwhile; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement