Viewing 1 replies (of 1 total)
  • Plugin Contributor fireproofsocks

    (@fireproofsocks)

    There are a lot of ways to manage your data. Really, the best way for your to do this is to play around with until you find something that works.

    The easiest way to do this might be to use page hierarchies to show which players belonged on which teams. Define a content type for teams and another for players. In the player’s definition, go to the “Fields” tab and check “Page Attributes” and “Use Custom Hierarchy”. Then each time you create a player, you choose the “parent”, which will really be you choosing the team.

    On the team’s page, put in some code to list the children of the page. You can use the Summarize Posts shortcode to do this (look for the little green pin in the TinyMCE editor). Alternatively you can put code into the team’s template file that lists all the posts (i.e. all the players) where the parent is that page and the post-type is “players”.

    Hope that helps.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Custom Content Type Manager] Soccer team’ is closed to new replies.