1. Here is one of the plugins:
http://www.coffee2code.com/archives/2004/08/27/plugin-customizable-post-listings/
(and there are more out there if you search:
http://codex.wordpress.org/Plugins )
2. There are also good articles on creating horizontal menus… you can find a lot of good stuff in the Codex 🙂
http://codex.wordpress.org/Creating_Horizontal_Menus
RE: Display recent post, here’s another *built-in* option:
<?php
$latest = new WP_Query('showposts=1'); $latest->the_post();
?>
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
Kafkaesqui –
That is nice… and works fine…
How would you output more than just the recent?
How and where would you style this list?
All the best,
Kristoffer
“How would you output more than just the recent?“
Knew that question would come up. 🙂
You’ll need to incorporate The Loop for handling multiple posts called through the WP_Query class. The following will display the last 3 posts in an unordered list (incorporates id and class attributes you can use with css for styling, per your second query):
<ul id="latest">
<li><h2>Latest posts</h2>
<ul>
<?php
$latest = new WP_Query('showposts=3'); while($latest->have_posts()) : $latest->the_post();
?>
<li class="recent-post"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>
</ul>
</li></ul>
For more, note the WP_Query class accepts the same arguments as query_posts():
http://codex.wordpress.org/Template_Tags/query_posts
I wanna thank Kafkaesqui!!!