• Hey, all! I was wondering if anyone could tell me if there’s a way to import specific categories so they appear on separate pages. I’d like to have a chronological “front page”/home page, AND separate pages for my most common categories. For example, I’d like a “Gaming” page that feeds all my posts with the category “gaming” onto that page, so they can easily be found by readers!

    Thank you for your help and advice!

Viewing 1 replies (of 1 total)
  • <?php query_posts('cat=27&showposts=5'); 
    
    							while (have_posts()) : the_post(); ?>
    							 <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
    							<?php
    							 the_content();
    							 endwhile; 
    
    						  ?>

    Replace 27 with your category id and 5 with the numner of posts you want to show..

    Place the code on the page template you need…it should be working perfectly..

Viewing 1 replies (of 1 total)
  • The topic ‘Importing Specific Categories to Pages’ is closed to new replies.