• I have a site with some goofy requirements.

    On the front page, I only want the latest post from a particular category to show up. That I have setup using the ACE plug in.

    However I have another page that needs to list posts from another category, and this page should just show the expert and can have quite a few recent posts.

    Then I need yet another page with a nice introduction and then a list of the categories.

    What is the best way about going about this?

Viewing 1 replies (of 1 total)
  • Thread Starter ilrosewood

    (@ilrosewood)

    I got what I wanted working.

    I took the page.php and edited it to form a new template that I could apply to the page.

    The code I needed was:

    <?php $recent = new WP_Query("cat=6&showposts=7"); while($recent->have_posts()) : $recent->the_post();?>
    <?php the_permalink() ?><?php the_title(); ?>
    <?php the_excerpt(); ?>
    <?php endwhile; ?>

    Changing cat=6&showposts=7 as needed and then marking up what it spit out.

Viewing 1 replies (of 1 total)

The topic ‘Multiple blog view’ is closed to new replies.