Associating a custom post type with a custom (user) taxonomy
-
So I’m trying to create a “team” page template that features several types of information:
a series a match reports (filtered by the team name- the match reports are custom post types with various post meta)
future matches also filtered by team name (planning on using Simple event attendance plugin)
team logo and header image
users filtered by team name (user custom taxonomy)My question is what is the best way to associate the team custom post type with the user meta data of the same name?
For example I have a team named TEAM-A. I want the players from that team to display on the TEAM-A team page.
I am able to create the team page and the user taxonomy page separately but can’t seem to associate the two. As it stands, were another team to be created it would have to be added as both a team post type and a user team which I realise is not ideal.
- The topic ‘Associating a custom post type with a custom (user) taxonomy’ is closed to new replies.