Bitte mal den ganzen Code aus der sidebar_l.php
UUUHPS Sorry. hier:
PHP
!-- begin l_sidebar -->
<div id="l_sidebar">
<ul id="l_sidebarwidgeted">
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
<li id="Recent">
<h2>Recently Written</h2>
<ul>
<?php get_archives('postbypost', 10); ?>
</ul>
</li>
<li id="Categories">
<h2>Categories</h2>
<ul>
<?php wp_list_cats('sort_column=name'); ?>
</ul>
</li>
<li id="Archives">
<h2>Archives</h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</li>
<li id="Admin">
<h2>Admin</h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="http://wordpress.org/">WordPress</a></li>
<?php wp_meta(); ?>
<li><a href="http://validator.w3.org/check?uri=referer">XHTML</a></li>
</ul>
<?php endif; ?>
<h2>Zuletzt diskutiert</h2>
<ul>
<?php $commenttype = 'even';
foreach($comments as $comment) {
$post = get_postdata($comment->comment_post_ID); ?>
<li class="<?php echo $commenttype; ?>">
<a href="<?php echo get_permalink($post['ID']); ?>" title="<?php echo $post['Title'];?>">Von
<?php echo $comment->comment_author; ?> zu
<?php echo $post['Title']; ?>
</a>
</li>
<?php if($commenttype == "even") { $commenttype = "odd"; } else { $commenttype = "even"; } ?>
<?php } ?>
</ul>
</ul>
</div>
<!-- end l_sidebar -->
Alles anzeigen