Hey, on my website, http://www.thecaninedirectory.com, you will see how on the main page, there is a cool list of recent blog posts that shows up under that yellow box.
What I want to do, is have a page on the site, http://www.thecaninedirectory.com/training, that features something similar. But on that page, instead of having recent blog posts show up, I want to have a list of pages (on how to train a dog).
Does anyone know how I can do that? The /index.php code is as follows.
<?php get_header(); ?>
<div id="cap">
<?php include (TEMPLATEPATH . '/cap.php'); ?>
</div>
<div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="single" id="post-<?php the_ID(); ?>">
<?php $preview = get_post_meta($post->ID, 'preview', $single = true); ?>
<img class="custim" src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $preview; ?>&h=150&w=200&zc=1" alt=""/>
<div class="title">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="date">Posted by <?php the_author(); ?> under <?php the_category(', '); ?> </div>
</div>
<div class="cover">
<div class="entry">
<?php if(function_exists('the_content_limit')) { ?>
<?php the_content_limit(350); ?>
<?php } else { ?>
<p> Activate the limitpost plugin to see the post contents ! </p>
<?php } ?>
<div class="clear"></div>
</div>
</div>
<div class="singleinfo">
</div>
</div>
<?php endwhile; ?>
<div id="navigation">
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
</div>
<?php else : ?>
<h1 class="title">Not Found</h1>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Please help if possible,
Thanks!
-Luke