• I have a project I am working for a new wordpress site. I have done some basic work with custom post types, but I wanted to get some input as this project is a bit beyond what I have done.

    The site requires a conference section. There may be multiple conferences listed and each conference will have sessions associated with it. Here is an example of some of the data fields that will exists for sessions and conferences.

    Conference – title, year, location, dates, general info, image, etc.
    Session – date, time, speaker, topic, etc.

    Creating the unique custom post types is not an issues. The problem comes into play with how we would like the permalinks to work and the association between conference and session. Here is the details of how we want permalinks to map.

    example.com/conferences/ – a list of all conferences ordered by year

    example.com/conferences/2011-conference/ – the main page of the 2011 conference showing the data from that custom post type

    example.com/conferences/2011-conference/ sessions/ – a list of all the sessions for the 2011 conference with each linking to the session page.

    example.com/conferences/2011-conference/ sessions/session-1 – a page showing the details for Session 1

    Is it possible to create the nested URL structures the way we want? I’m looking for suggestions on how to accomplish this. Maybe I am looking at it wrong and using 2 custom post types is not the answer.

    The site is not online anywhere yet so I have nothing to link to. We are just in the brainstorming stage.

    Thanks for any input!

    -m@

Viewing 1 replies (of 1 total)
  • The easiest way to achieve that url structure would be using Pages. If you would like to use a custom post type, you can register the post type with the hierarchical argument set to true.

Viewing 1 replies (of 1 total)
  • The topic ‘Need suggestions for custom post type for conference site’ is closed to new replies.