Support » Everything else WordPress » Seems possible, but is it? Hmm

  • I’m messing around with 1.5 but I’m not sure if what I’m looking to do is possible. I would like to set up wp on my homepage. Then extend the install so each tab located on my menu is a blog like landing page. Each tab is a different topic. For example, I would have a tab for baseball (, football, tennis, golf, hockey, surfing, boxing. All tab pages would have the same theme design but each would have different content. Basically, if I wanted to post something I would write it up, select the category, then publish to the specified tab rather than everything being displayed on the homepage. Is there anyone who understands what I’m looking to do? If so, please explain cause this is really getting to me. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • sure, easy enough. In the index.php of your theme folder, wrap all of the post info in a in_category() conditional:

    <?php while (have_posts()) : the_post(); ?>
    <?php if (in_category(
    2)) { ?>

    ...template tags here, like <?php the_content(); ?>

    <?php } endwhile; ?>

    Where ‘2’ is the ID of the category you want to display on the home page. You can find that out in your admin panel > Manage > Categories

    The individual category stuff is pretty straightforward. Just use a permalink category structure of ‘%category%’ … You can edit permalink structure at Admin Panel > Options > Permalinks

    If this all went way over your head, it’s totally understandable. We can walk you through it if you don’t understand. Hope this helps 🙂

    do you know of any sites or blogs config in this manner?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Seems possible, but is it? Hmm’ is closed to new replies.