Use custom menu features. i hope that it will help you.
I’m not sure I understand. How can custom features help? Can you be a bit more specific?
ADMIN->APPEARANCE->MENU and Create the menu.
I am using Custom Menus. The question is how do I have a single menu item which shows all the blog posts?
Create a page “Blog” with blank content. Now go to Settings->Readings section
Front page displays : A Static Page
1. Front Page “Home”
2. Posts Page “Blog”
Best of luck.
Try the categories widget under Appearance -> Widgets
Chip,
Not sure if you are still looking for a solution – but in case anyone else is…
I spent half an hour looking for an easier way, but couldn’t find one. So in the end I found the easiest way is;
- Create a custom template that lists posts (I called it ‘List Posts’)
- create a page using that template
- add that page to your menu
As an added bonus this method allows you to put a heading and some text above the list of posts (in case you want to preface them with a general statement).
To help out here is the code for the template I made;
<?php
/*
Template Name: Post List
*/
?>
<?php get_header(); ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div id="content">
<h1><?php the_title();?></h1>
<?php the_content();?>
<?php endwhile; ?>
<div id="post_list">
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts(''); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="post_repeater">
<h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
<p><?php the_excerpt(); ?></p>
<p><a href="<?php the_permalink(); ?>">> read more</a></p>
</div>
<?php endwhile; else: endif; ?>
</div><!-- end post_list div -->
<div class="navigation"><p><?php posts_nav_link(); ?></p></div>
<div style="clear:both;"></div>
</div><!-- end content div -->
<?php get_sidebar(); ?>
<div style="clear:both;"></div>
<?php get_footer(); ?>
Hope that helps you or someone else.
Cheers,
Adam.
Wprock had just what I needed. Thanks, too, for the template code.