Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a set of categories in my WP site. I also have a "team" thing in my site. Now when a user makes a new post he selects a category and then chooses the team to which post belongs.

I have added this team selectbox using meta boxes Now i want to have a link for each team.

How can i do that??..

I though of 2 ways:

(1) - Making a template and linking it to a page called team. So its url becomes : site.com/team/ And now for each team making url like site.com/team/team1 I thought that 2nd url will also be served from my template. But, instead it gave not found.

(2) - Making a custom page for each team.

Is there any other way???

share|improve this question
2  
What is the "team" thing? Is it a Custom Post Type? Is it a Custom Taxonomy? –  Krzysiek Dróżdż Jun 21 '13 at 12:08
    
@KrzysiekDróżdż It is a Multi Select box. I have added below the place where you write content for a post. User selects the team from there. –  Sankalp Mishra Jun 22 '13 at 4:56
    
@SankalpMishra Yes, but how are teams saved? As terms? Post types? Post meta? –  TheDeadMedic Jun 22 '13 at 5:36
    
@TheDeadMedic As of now i am storing it in Post Meta. Any suggestion is more than welcome!!! –  Sankalp Mishra Jun 22 '13 at 6:15
    
If you create custom taxonomy team & use terms instead, a lot of the hard graft will have been done for you. –  TheDeadMedic Jun 22 '13 at 6:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.