also ich nutze das neue Plugin:
WordPress › NewPosts WordPress Plugins
und habe es so eingebaut:
PHP
<?php get_header(); ?>
<div id="content">
<?php $current_tag = single_tag_title("", false); if ($current_tag) echo '<div class="tagarchive"><h1>'.ucwords($current_tag).'</h1></div>'?>
<?php
if (is_home()) {
query_posts("cat=-50");
}
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); $loopcounter++; ?>
<div <?php if (function_exists('post_class')) post_class(); ?>>
<div class="entry entry-<?php echo $postCount ;?>">
<div class="entrytitle_wrap">
<?php if (!is_page()) : ?>
<div class="entrydate">
<div class="dateMonth">
<?php the_time('M');?>
</div>
<div class="dateDay">
<?php the_time('j'); ?>
</div>
</div>
<?php endif; ?>
<div class="entrytitle">
<?php if ($loopcounter==1):?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Link to <?php the_title(); ?>"><?php the_title(); ?> </a></h1>
<?php newposts_display(); ?>
<?php else : ?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Link to <?php the_title(); ?>"><?php the_title(); ?> </a></h2>
<?php newposts_display(); ?>
<?php endif; ?>
</div>
<?php if (!is_singular()): ?>
<div class="endate"><?php the_author(); ?> am <?php the_time('j. F Y'); ?></div>
<?php endif; ?>
</div>
<div class="entrybody">
<?php if (is_archive() || is_search()) : ?>
<?php the_excerpt(); _e('<p><a href="'.get_permalink().'">weiterlesen...'); the_title(); _e('</a></p>'); ?>
<?php else : ?>
<?php the_excerpt('Read the rest of this entry »'); ?>
<?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
<?php endif; ?>
</div>
<div class="entrymeta">
<div class="postinfo">
<?php if ($loopcounter==1) social_bookmarks(); ?>
<?php if (is_single()): ?>
<span class="postedby">Autor: <?php the_author() ?></span>
<?php endif; ?>
<?php if (!is_page()): ?>
<span class="filedto"><?php the_category(', ') ?> </span>
<?php endif; ?>
<?php if (!is_singular()): ?>
<span class="commentslink"><?php comments_popup_link('Keine Kommentare»', '1 Kommentar »', '% Kommentare »');?></span>
<?php else: ?>
<span class="rss">Anmelden zum <a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Anmelden zum RSS feed'); ?>" ><?php _e('<abbr title="Anmelden zum RSS Feed">RSS</abbr>'); ?></a> feed</span>
<?php endif; ?>
<?php edit_post_link('Bearbeiten', ' | ', ''); ?>
</div>
</div>
<?php if ($loopcounter == 1 && !is_singular()) { include (TEMPLATEPATH . '/ad_middle.php'); } ?>
</div>
<?php if (is_singular()): ?>
<div class="commentsblock">
<?php comments_template(); ?>
</div>
<?php endif; ?>
</div>
<?php endwhile; ?>
<?php if (!is_singular()): ?>
<div id="nav-global" class="navigation">
<div class="nav-previous">
<?php
next_posts_link('« Previous entries');
echo ' ';
previous_posts_link('Next entries »');
?>
</div>
</div>
<?php endif; ?>
<?php else : ?>
<h2>Not Found</h2>
<div class="entrybody">Sorry, but you are looking for something that isn't here.</div>
<?php endif; ?>
</div>
<?php get_footer(); ?>
Alles anzeigen
wo ist mein Fehler er zeigt hinter dem titel nicht neu an als bild.
danke