Community Forums › Forums › Archived Forums › Design Tips and Tricks › Infinity Pro Team Page template – how to use for multiple teams?
Tagged: Infinity Pro, multiple, parent, team
- This topic has 5 replies, 2 voices, and was last updated 7 years, 4 months ago by
canpress5.
-
AuthorPosts
-
June 28, 2018 at 3:28 pm #221204
canpress5
MemberI'm using the Team Page template in Infinity Pro, as seen here.
https://demo.studiopress.com/infinity/team/
To populate the Team page you need to create a child page for each person and then choose the 'Team' page as a parent.
So far so good.
What if you want to create multiple Teams and some team members belong to more than one team?
EG you could create different templates for Sales Team, Marketing Team, and Design Team. John Doe might belong to both the Marketing and Design teams and you would want him to appear on both pages. However on John Doe's individual page you can only choose one parent EITHER Marketing OR Design.
In this scenario how could you add John Doe to multiple Team pages?
Thanks in advance for any ideas!June 29, 2018 at 6:45 pm #221227AnitaC
KeymasterIf it were me and I had to do this, I would create a CPT called Teams with a team category archive. This way each team category has it's own URL. As Infinity Pro is set up using pages, you would need to copy the team template several times renaming them to Sales, Marketing, etc. Then in the CSS, you'd need to make sure you created your CSS to associate with the new templates.
Need help with customization or troubleshooting? Reach out to me.
June 30, 2018 at 10:54 am #221250canpress5
MemberThank you Anita,
you would need to copy the team template several times renaming them to Sales, Marketing, etc.
I thought only one archive template could be used with a CPT, eg archive-teams.php in this case?
Is it possible to use a different archive page for each CPT category (sales, marketing..)?
How is this done?June 30, 2018 at 4:44 pm #221257canpress5
MemberI have another question if you don't mind?
When you say to copy the team template to be used as the portfolio archive, can you literally just rename this template eg to archive-portfolio.php and it will produce the same output as the Team page?
OR do you need to make some changes to the template before it will work as an archive page?
When I tried using the Team page template as archive-portfolio.php, none of the custom field values appeared on the archive page.June 30, 2018 at 5:41 pm #221259AnitaC
KeymasterYou would need to updated each template to reflect the team names you have chosen. I assumed when you posted the question you already had some sort of knowledge in coding that up. Best response I can give now would be to use a CPT with a team. Here's a good example - https://css-tricks.com/creating-meet-team-page-wordpress/.
Need help with customization or troubleshooting? Reach out to me.
June 30, 2018 at 7:44 pm #221260canpress5
MemberThank you Anita.
That css-tricks post shows how to create a custom template for a Page.
Can I use the same template for the CPT Archive page? (by naming it archive-teams.php) -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.