• I run a music blog called themusicstash.com. I post songs, videos, reviews, etc. It’s done in blog style with post after post. I wanted to add another section to the site that would focus on sports news.

    I would want this side of the site to have its own header and all my sports posts can go there. I would like Sports along the top bar and people could just click over to the sports side of the side. How do I go about this? Do I just make a new page? I want to be able to post separately on the sports side of the site.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mojican

    (@mojican)

    Basically, I want to have another page on my blog that looks just like my homepage but can feature different posts that can’t be found on the homepage (default posts page)

    Hello,

    You could always give multisite a try: Create a Network.

    or you can simply do categories of blog posts; no need for network

    I didn’t say multisite was going to be easy—it was my first thought because you described your site as having two sides. Because you want a separate page to contain all of your sports articles, simply making a sports category will not solve the issue either as each sports article will display in between your music articles.

    Part of the fun of running your own WordPress install is getting familiar with the Codex. I think this is what I would do, but someone feel free to chime in if my solution can be made simpler.

    1. Get familiar with the WordPress Templates
    2. Create a separate category for your sports articles. Pay attention to the ID of this new category.
    3. Alter your index.php file to exclude the sports category by ID.
    4. Copy the category.php file in your theme (or archives.php, or index.php, depending on which files are in your template) and rename it to category-ID.php where ID is the sports category ID.
    5. Create a link to the file in your menu so that your readers can clearly navigate to your new sports page!

    Use a little CSS to include your custom header on your new page. Any changes made to category-ID.php should only affect the sports page. You can read more about the category template hierarchy here. If you’re really adventurous, read about the entire template hierarchy here.

    I left out all of the technical parts, but this should be enough to get you going. Good luck!

    Thread Starter mojican

    (@mojican)

    thank you smdaymeansnever. I’m going to look into that. I definitely need to read up on all of that

    You’re welcome!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How can I have two separate sections of my blog?’ is closed to new replies.