[FONT=Arial]Ich brauche Hilfe bei Umgestaltung einer Sidebar.
Da ich nicht das nötige Wissen habe, so wende ich mich an Euch.
Im Moment gibt mir die Sidebar die neuesten Einträge [/FONT][FONT=Arial][size=10]( Recent Entries ) [/SIZE][/FONT]
[FONT=Arial] aus, die Kategorien aber in einem Drop Down Menu ( Topical Index ).
Ich hätte gern die Kategorien in einer Liste sichtbar, ähnlich den neuesten Einträgen [/FONT][FONT=Arial][size=10]( Recent Entries ) [/SIZE][/FONT][FONT=Arial].
Desweiteren möchte ich gern eine Liste der letzten 10 Einträge haben.
[/FONT]
Hier ist der komplette Code der sidebar.php.
<!-- SIDEBAR LINKS -->
<div id="sidebar">
<ul>
<!-- ADMIN CONSOLE -->
<li id="admin"><h2>Control Panel</h2>
<ul>
<li><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="<?php bloginfo('url'); ?>/contact/">Contact</a></li>
<li><a href="<?php bloginfo('url'); ?>/wp-mobile.php">Mobile Version</a></li>
</ul>
</li>
<!-- SEARCH THE SITE -->
<li id="search"><h2>Search</h2>
<ul>
<li>
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<div>
<input type="text" name="s" id="s" size="15" /><br />
<input type="submit" value="<?php _e('Search'); ?>" />
</div>
</li>
</form>
</ul>
</li>
<!-- PAGES -->
<?php wp_list_pages('title_li=<h2>Pages</h2>'); ?>
<div class="nav-bottom"></div>
<!-- RECENT ENTRIES -->
<?php if (function_exists('wp_get_archives')) { ?>
<li id="recent-entries"><h2>Recent Entries</h2>
<ul>
<?php wp_get_archives('type=postbypost&limit=10&format=custom&before=<li>&after=</li>'); ?>
</ul>
</li>
<?php } ?>
<!-- RECENT COMMENTS -->
<?php if (function_exists('mdv_recent_comments')) { ?>
<li id="recent-comments"><h2>Recent Comments</h2>
<ul>
<?php mdv_recent_comments(5, 7, '<li>', '</li>', false, 1) ?>
</ul>
</li>
<?php } ?>
<!-- DROPDOWN DATE-BASED ARCHIVES -->
<li id="archives"><h2>Archives</h2>
<ul><li>
<form id="archiveform" action="">
<select name="archive_chrono" onchange="window.location =
(document.forms.archiveform.archive_chrono[document.forms.archiveform.archive_chrono.selectedIndex].value);">
<option value=''>Select Month</option>
<?php get_archives('monthly','','option'); ?>
</select>
</form>
</li></ul>
</li>
<!-- DROPDOWN CATEGORY ARCHIVES -->
<li id="categories"><h2>Topical Index</h2>
<ul><li>
<form action="/index.php" method="get">
<?php dropdown_cats('true','all','name','asc','false','false','true','false'); ?>
<input type="submit" name="submit" value="Go!" />
</form>
</li></ul>
</li>
</ul>
</div><!-- end SIDEBAR -->
Alles anzeigen
Vielen Dank für Eure Hilfe.
edit: Habe gerade bemerkt das nur 10 neueste Einträge ausgegeben werden. Das ist ein Punkt den ich ja wollte.
Kann mir keiner helfen, die Kategorien in einer Liste anzeigen zu lassen?