• Resolved amazingprod

    (@amazingprod)


    Under Admin>Options>Reading>FrontPage
    Front Displays . your latest posts or A static page

    I have checked “your latest posts” and it displays all the latests posts from every category. However I would like it to display the latest posts from only one category. Is this possible and how to do?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I just answered this very question yesterday.

    Thread Starter amazingprod

    (@amazingprod)

    OK, thanks. That worked.

    I a running WordPress 2.3.2 with prosumer-10 theme

    I edited index.php in directory
    wordpress/wp-content/themes/prosumer-10

    ORIGINAL index.php

    <?php get_header(); ?>
    
    <div id="content">
      <?php if (have_posts()) : ?>
      <?php while (have_posts()) : the_post(); ?>

    NEW index.php

    <?php get_header(); ?>
    
    <div id="content">
      <?php query_posts('showposts=20&amp;cat=3'); ?>
      <?php if (have_posts()) : ?>
      <?php while (have_posts()) : the_post(); ?>

    Thanks

    [EDITED] – For some reason I originally thought it hadn’t worked for you. Now I notice you posted back to say it worked.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to make Front Page Display Only One Category?’ is closed to new replies.