blöder Copy-Fehler.
Hier der richtige Code.
Sorry.
PHP
<?php get_header(); ?>
<div id="content-wrapper">
<div id="content">
<div id="nav-box">
<div class="box">
<h2>Meta</h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
<?php wp_meta(); ?>
</ul>
</div>
<div class="box">
<h2>Archives</h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</div>
<div class="box">
<ul>
<?php //wp_list_bookmarks(); ?>
<?php wp_list_categories('title_li=<h2>' . __('Categories') . '</h2>' ); ?>
</ul>
</div>
</div>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<div class="entry">
<?php print character_limiter($post->post_content,650); ?> <a href="<?php the_permalink() ?>">weiterlesen..</a>
</div>
<p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?></p>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Ältere Beiträge') ?></div>
<div class="alignright"><?php previous_posts_link('Neuere Beiträge »') ?></div>
</div>
<?php else : ?>
<h2 class="center">Nicht gefunden</h2>
<p class="center">Sorry, aber zu Ihrer Suchanfrage konnten wir keine Ergebnisse finden.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div><!-- /content-wrapper -->
<?php get_footer(); ?>
Alles anzeigen