Support » Fixing WordPress » Best way to have several blog pages on one website?

  • Hi there

    I’m setting up a website using WordPress. It’s a website which will have approx 6 pages and also a ‘news’ page.

    On the ‘news’ page I want to have an option for the user to select a region of the UK they are from, from a list of 10 or so areas – Northwest England, Southern England, Northern Ireland etc, and then read local news relating to that area.

    I’m going to use the WordPress blog functionality for my news articles, so in effect I need 10 or so blog pages on my site, one for each region.

    What would be the best way to go about this using WordPress?

    Any advice or help is gratefully received.

Viewing 1 replies (of 1 total)
  • Sounds like you should have 10 categories setup to relate to the different regions, and then post to these seperate categories.

    Then in your loop you can just show posts from one category like:

    <?php query_posts('category_name=region-name'); ?>
    
    <?php while (have_posts()) : the_post(); ?>
    
    //Show stuff from retrieved posts
    
    <?php endwhile; ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Best way to have several blog pages on one website?’ is closed to new replies.