Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other [WordPress] Associating Custom Post Types

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #172630
    mikes02
    Participant

    I am working on a project where I have a CPT called Departments and this uses a single-department.php template with custom fields to populate the content on the page as needed. However, one issue I am trying to figure out logistically is tying galleries to these departments. Basically, a department may or may not have a gallery associated with it, this gallery would require it’s own template, so I’m wondering, do I create a CPT for Galleries and just link them that way? Is there a better way to associate the galleries with the Departments CPT?

    Thanks in advance.

    #172641
    mikes02
    Participant

    No, it would be a separate page. Otherwise the custom fields would definitely be useful.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Other’ is closed to new topics and replies.