Support » Fixing WordPress » Best way to organize categories

  • I’m a newbie to WP, so I’m trying to figure the best way to organize this. I want to be able to use WP as an organizational tools for a series of musicians. Each musician has their own set of sublinks like Tour Dates, Audio Files, Bio, etc. What I’d like to do is have each one of these be a subcategory for the artist. Simple enough. So I go to the Manage tab and add new categories and sub-categories. Again, no problem here. Pretty easy.

    However, here’s where things get confusing to me. Each sub-category has it’s own ID number and what I’d really like to have instead is that there’s a main ID number for the artist and then an ID number for each sub-category than can relate to the main category so the sub-category’s ID is always the same for each artist. In other words, the Bio is always ID#!, Audio is ID#2 and so on. So that I can create a series of buttons in the content div that always stay the same since they are just looking for ID#’s for the sub-category since we’re already in the main category. So instead of instead is could be let’s say or something like that. Hopefully I’m making some sense here since I’m really a designer and not necessarily a programmer. Is this possible with or without a plugin? Any guidance would be greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I (think) I understand what you are asking but that doesn’t work. Categories (like posts) in the database get always the next “available” number, meaning you cannot have two categories with the same ID#. Databases just don’t work in that way.

    Let me try to explain it a little better. I know categories cannot have the same ID. What I’m trying to do on many sites you’ll see a URL like this:

    So in this case, it’s loading a template from index.php and then looking for the category number 10 and the sub-category number 15 that is in the main category. This was sub-category 15 can always be the same topic. Let’s say Biography and it stays the same for each of the main categories.

    What about using permalinks? Then you would get links like

    If you only have artists as categories, there’s also an option to replace “category” with something more suitable like “artists”.

    Edit: seems I missed something about you wanting to use the info for dynamic linking. Sorry. I let the above stand anyway. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Best way to organize categories’ is closed to new replies.