WordPress.org

Ready to get started?Download WordPress

Forums

Add Custom meta box on Custom posts type (1 post)

  1. doitwithwp
    Member
    Posted 3 years ago #

    Hello guys.
    Before describing the problem, let me say that Leaguemanager won't do, I already tried that.

    I have a custom post type that lets me add teams.
    I also have two other custom post types. One is the location of the team, and the other is events.

    What I need to do now when adding a team is the following:
    - Have a select box that lists all locations, so I can select one from there (this is a custom field in the form of a select input type, but I don't know how to list all the locations there)
    - This is a bit more complicated. I need to have a metabox that lists all the other teams (1 line for each one). Every team will also have 2 corresponding inputs: one to write the result of the match, and other that lists the events added on the other post type. That way I mantain the results of the matches, and I can relate them to an event.

    Any ideas on how to do this? Maybe there's something better than a custom meta box or post types?
    As said before, Leaguemanager works in a different way that won't fit this site.

    Thanks in advance.

Topic Closed

This topic has been closed to new replies.

About this Topic