I don’t often use the link or “blogroll” feature of Wordpress, but when I do I want to dedicate some space for it. Making it a page instead of just a sidebar widget. To do this you need to create a template to select from ‘Edit Page’ (the right hand sidebar of the page).
The key code in the whole matter is:
<?php wp_list_bookmarks(); ?>
Which in this example I put directly after the content. This way you can write a little page description before the links display. The links are displayed using unordered lists so make sure to style those out accordingly! Here’s a page I made for the Twenty Ten theme, new for Wordpress 3.0. Although you can use this with any theme.
<?php
/*
Template Name: Links
*/
get_header();
?>
<div id="container">
<div id="content" role="main">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( is_front_page() ) { ?>
<h2><?php the_title(); ?></h2>
<?php } else { ?>
<h1><?php the_title(); ?></h1>
<?php } ?>
<div>
<?php the_content(); ?>
<?php wp_list_bookmarks(); ?>
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span>', '</span>' ); ?>
</div><!-- .entry-content -->
</div><!-- #post-## -->
<?php endwhile; ?>
</div><!-- #content -->
</div><!-- #container -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
