wordpress link structure

Status
Not open for further replies.

phil9922

Banned
Jun 5, 2007
378
4
0
It's kind of hard to explain, but I was hoping that someone could help me figure this out. I want to setup a wordpress site and I want the link structure from page to page to be like this:

I just was watching the playoffs so for example say it's about NBA teams.

-Main page (links to...)
-Category 1 - Phoenix Suns (links to...)
-Phoenix Suns roster
-Phoenix Suns schedule
-Phoenix Suns stats

-Category 2 - Boston Celtics (links to...)
-Boston Celtics roster
-Boston Celtics schedule
-Boston Celtics stats

-Category 3 - Atlanta Hawks (links to...)
-Atlanta Hawks roster
-Atlanta Hawks schedule
-Atlanta Hawks stats

Would I need a custom theme to do this?
 


If I understand what you are trying to do correctly and you are using wordpress 2.2, you don't need any custom themes or plugins.

Here is what I would do:
1) Go to Write > Write Page
2) Create the page you want as your homepage
3) Go to Options > Reading
4) Select "A static page"
5) Select the page you just created from the drop down box
6) Click "Update Options"
7) Go to Options > Permalinks
8) In the "Custom Structure" field type /%category%/%postname%/
9) Click "update Options"

Then just add your roster, schedule and stats pages as a post with the relevant team as the category.

Is this what you meant?

Alos, on that home page you create you could just use something like this to list the categories. This way if you add/delete/change any categories you're not going to have go back and edit your homepage.

PHP:
        <ul>
            <li><h2>NBA Teams</h2>
            <ul>
            <?php wp_list_cats(); ?>
            </ul>
            </li>
        </ul>
I'd suggest checking out this site for some good plugins that are handy when trying to use Wordpress as a CMS. Credit to Emp's blog where I got that link from.
 
Thanks, I think this will work. I gotta get some rest so I'll try it out in a few hours and I'll post again letting you know how it comes out.
 
that got me really close to what I need...I want the main page to show recent posts, but is there a way I can hide certain posts from the main page?
 
Status
Not open for further replies.