Grow your CSS skills. Land your dream job.

Custom Post Type | Posts broken into sub template parts – Need unique URL base on image loaded

  • # July 26, 2012 at 3:36 am

    Hello,
    Working on a project that has a custom post type Sports. The posts are Football, Baseball, Basketball, etc… Each post contains a lot of custom fields utilizing the Advance Custom Fields extension.

    I’ve broken the posts up into 4 sub templates to break up the content following the info here: http://www.placementedge.com/blog/create-post-sub-pages/ Which works great.

    The issue is that one of the sub templates is a team photo section – displaying one team photo at a time with team member names listed below. I need to filter by Men’s / Women’s, as well as nav list of custom fields for year (1942 1946 1949 Etc), linked to that team photo page.

    I also need a way to obtain a unique URL for each team photo “page” so that I can retrieve the team members in searching, linking back on the site.

    Any thoughts on pulling this off?

    Thank you for your help,
    Jonathon

    # July 26, 2012 at 11:40 pm

    I’ve added more specifics over at WordPress Answers if anyone is interested in taking a look.

    http://wordpress.stackexchange.com/questions/59834/custom-post-type-sub-templates-with-filterable-custom-field-data-and-related-url

    Thank you,
    Jonathon

    # July 28, 2012 at 10:11 am

    Going to try a different approach, but still curious if anyone has been able to cross-tie two CPTs in this way.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".