Hm,
nein, das
Plugin Fold Category List funktioniert nicht mit dem Page
Widget, wie Dein Link meint....
Das
Plugin geht definitiv nur, wenn ich beide
Widgets (Page
Widget, Suchen) deaktiviere.
Und dann schaut die Seite schrecklich aus, alleine "Home"!
Ich schicke meine "sidebar.php" mit, ich möchte hier nur sehen:
- Praxis für Kinesiologie (als Seitennamen)
- dann die Hauptseiten in meiner eingestellten Reihenfolge
- und erst wenn ich draufklicke, die Unterseiten (das geht jetzt mit dem
Plugin Fold Page List)
Dann fehlt nur noch die Such-Funktion....
Hier also der Code:
PHP-Code:
<div id="sidebar">
<ul>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>
<?php if(is_home()) {?>
<li>
<h2>About</h2>
<p>
<strong><?php bloginfo('name');?></strong><br/>
<?php bloginfo('description');?><br/>
</p>
</li>
<li>
<h2>Feed on</h2>
<ul>
<li class="feed"><a title="RSS Feed of Posts" href="<?php bloginfo('rss2_url'); ?>">Posts RSS</a></li>
<li class="feed"><a title="RSS Feed of Comments" href="<?php bloginfo('comments_rss2_url'); ?>">Comments RSS</a></li>
</ul>
</li>
<?php }?>
<li>
<h2><?php _e('Search'); ?></h2>
<form id="searchform" method="get" action="<?php bloginfo('siteurl')?>/">
<input type="text" name="s" id="s" class="textbox" value="<?php echo wp_specialchars($s, 1); ?>" />
<input id="btnSearch" type="submit" name="submit" value="<?php _e('Go'); ?>" />
</form>
</li>
<?php if(is_home()) get_links_list(); ?>
<li>
<h2>
<?php _e('Categories'); ?>
</h2>
<ul>
<?php wp_list_cats('optioncount=1&hierarchical=1'); ?>
</ul>
</li>
<li>
<h2>
<?php _e('Monthly'); ?>
</h2>
<ul>
<?php wp_get_archives('type=monthly&show_post_count=true'); ?>
</ul>
</li>
<li>
<h2><?php _e('Pages'); ?></h2>
<ul>
<?php wswwpx_fold_page_list('title_li=' ); ?>
</ul>
</li>
<?php if(is_home()) { ?>
<li>
<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>
</li>
<?php } ?>
<?php endif; ?>
<?php echo counterize_getuniqueamount() ?>
</ul>
</div>
<div style="clear:both;"></div>