Hi,
I have a problem with the sidebar on my wordpress blog and dont ave the php skillls to solve ti so I was hoping one of you kind people could help me out!
I only want my blogroll to display on the homepage of the blog and not sitewide as it does at present. Looking at the code it looks to me like the should already be the case as it references - if(is_home)) get links list - which logically to me suggests that this should only display on the homepage but it is displaying sitewide at present.
The full sidebar code is below, I have highlighted the section I believe is dealing with this, any help is greatly appreciated!
Rob
<div id="sidebar">
<ul>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>
<?php if(is_home()) {?>
<?php }?>
<li>
<h2><?php _e('Search'); ?></h2>
<form id="searchform" method="get" action="<?php bloginfo('siteurl')?>/">
<input type="text" name="s" class="textbox" value="<?php echo wp_specialchars($s, 1); ?>" />
<input id="btnSearch" type="submit" name="submit" value="<?php _e('Search'); ?>" />
</form>
</li>
<li>
<h2>
<?php _e('Categories'); ?>
</h2>
<ul>
<?php wp_list_cats('optioncount=0&hierarchical=1'); ?>
</ul>
</li>
<li>
<h2>
<?php _e('Monthly'); ?>
</h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</li>
<li>
<h2><?php _e('Pages'); ?></h2>
<ul>
<?php wp_list_pages('title_li=' ); ?>
</ul>
</li>
<?php if(is_home()) {?>
<?php get_links_list(); ?>
<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; ?>
</ul>
</div>
<!-- CLOSE sidebar-->
<div class="clear"></div>